explain.depesz.com

PostgreSQL's explain analyze made readable

Result: fCGR : Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: Optimization for: plan #hvgr; plan #vG1; plan #5uPj; plan #tJir; plan #4Aiq; plan #wXyW; plan #1Q6S; plan #7r6r

Settings

Optimization path:

Optimization(s) for this plan:

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

Limit (cost=16.76..16.77 rows=1 width=16) (actual time=0.048..0.048 rows=0 loops=1)

2.          

Initplan (forLimit)

3. 0.024 0.024 ↓ 0.0 0 1

Index Scan using tag_id_container_no_map_tag_id_container_no_tag_status_idx on tag_id_container_no_map (cost=0.42..8.45 rows=1 width=8) (actual time=0.024..0.024 rows=0 loops=1)

  • Index Cond: (((tag_id)::text = 'AA'::text) AND ((tag_status)::text = 'ACTIVE'::text))
4. 0.021 0.048 ↓ 0.0 0 1

Sort (cost=8.31..8.32 rows=1 width=16) (actual time=0.048..0.048 rows=0 loops=1)

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

Index Scan using rfid_txn_details_tag_id_created_date_idx on rfid_txn_details (cost=0.28..8.30 rows=1 width=16) (actual time=0.027..0.027 rows=0 loops=1)

  • Index Cond: (((tag_id)::text = 'AA'::text) AND (created_date >= $0))
  • Filter: ((txn_date >= 5328164) AND (location_master_sl_no = 12))
Planning time : 0.265 ms