explain.depesz.com

PostgreSQL's explain analyze made readable

Result: EDi3 : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #hMUF; plan #DsX; plan #Nb08; plan #4HVC; plan #ZTdC

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.000 0.022 ↑ 1.0 1 1

Aggregate (cost=114.49..114.50 rows=1 width=8) (actual time=0.021..0.022 rows=1 loops=1)

2.          

Initplan (forAggregate)

3. 0.017 0.017 ↑ 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.016..0.017 rows=1 loops=1)

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

Bitmap Heap Scan on rfid_txn_details (cost=29.13..106.04 rows=1 width=0) (actual time=0.019..0.019 rows=0 loops=1)

  • Recheck Cond: (((tag_id)::text = 'TAGID0000005'::text) AND (created_date >= $0))
  • Filter: ((txn_date >= 456329065) AND (location_master_sl_no = 10) AND (event_id = 1))
5. 0.018 0.018 ↓ 0.0 0 1

Bitmap Index Scan on rfid_txn_details_tag_id_created_date_idx (cost=0.00..29.13 rows=885 width=0) (actual time=0.018..0.018 rows=0 loops=1)

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