explain.depesz.com

PostgreSQL's explain analyze made readable

Result: DsX : Optimization for: plan #hMUF

Settings

Optimization path:

Optimization(s) for this plan:

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

Limit (cost=107.62..107.62 rows=1 width=28) (actual time=0.064..0.064 rows=0 loops=1)

2.          

Initplan (for Limit)

3. 0.050 0.050 ↑ 1.0 1 1

Index Scan using tag_id_container_no_map_tag_id_tag_status_idx on tag_id_container_no_map (cost=0.42..8.45 rows=1 width=8) (actual time=0.049..0.050 rows=1 loops=1)

  • Index Cond: (((tag_id)::text = 'TAGID0000005'::text) AND ((tag_status)::text = 'ACTIVE'::text))
4. 0.006 0.062 ↓ 0.0 0 1

Sort (cost=99.17..99.28 rows=41 width=28) (actual time=0.062..0.062 rows=0 loops=1)

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

Bitmap Heap Scan on rfid_txn_details (cost=28.90..98.97 rows=41 width=28) (actual time=0.056..0.056 rows=0 loops=1)

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

Bitmap Index Scan on rfid_txn_details_tag_id_created_date_idx (cost=0.00..28.89 rows=861 width=0) (actual time=0.055..0.055 rows=0 loops=1)

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