explain.depesz.com

PostgreSQL's explain analyze made readable

Result: hMUF

Settings

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.000 80.148 ↓ 0.0 0 1

Limit (cost=26,448.44..26,448.44 rows=1 width=28) (actual time=80.147..80.148 rows=0 loops=1)

2.          

Initplan (forLimit)

3. 80.124 80.124 ↑ 1.0 1 1

Seq Scan on tag_id_container_no_map (cost=0.00..26,350.68 rows=1 width=8) (actual time=0.009..80.124 rows=1 loops=1)

  • Filter: (((tag_id)::text = 'TAGID0000005'::text) AND ((tag_status)::text = 'ACTIVE'::text))
  • Rows Removed by Filter: 999511
4. 0.014 80.146 ↓ 0.0 0 1

Sort (cost=97.76..97.86 rows=40 width=28) (actual time=80.146..80.146 rows=0 loops=1)

  • Sort Key: rfid_txn_details.txn_date DESC
  • Sort Method: quicksort Memory: 25kB
5. 0.003 80.132 ↓ 0.0 0 1

Bitmap Heap Scan on rfid_txn_details (cost=28.75..97.56 rows=40 width=28) (actual time=80.131..80.132 rows=0 loops=1)

  • Recheck Cond: (((tag_id)::text = 'TAGID0000005'::text) AND (created_date >= $0))
  • Filter: (location_master_sl_no = 7)
6. 80.129 80.129 ↓ 0.0 0 1

Bitmap Index Scan on rfid_txn_details_tag_id_created_date_idx (cost=0.00..28.74 rows=846 width=0) (actual time=80.129..80.129 rows=0 loops=1)

  • Index Cond: (((tag_id)::text = 'TAGID0000005'::text) AND (created_date >= $0))
Planning time : 0.225 ms