explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ktWN : Optimization for: plan #DvmL

Settings

Optimization path:

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.012 0.129 ↓ 1.8 7 1

Limit (cost=16.67..16.68 rows=4 width=213) (actual time=0.112..0.129 rows=7 loops=1)

2. 0.056 0.117 ↓ 1.8 7 1

Sort (cost=16.67..16.68 rows=4 width=213) (actual time=0.110..0.117 rows=7 loops=1)

  • Sort Key: stage_id, create_txtime
  • Sort Method: quicksort Memory: 26kB
3. 0.025 0.061 ↓ 1.8 7 1

Bitmap Heap Scan on reviews r (cost=4.32..16.63 rows=4 width=213) (actual time=0.054..0.061 rows=7 loops=1)

  • Recheck Cond: ((recipient_id = 121201089) AND (status = 1))
  • Filter: (shop_id IS NULL)
  • Heap Blocks: exact=1
4. 0.036 0.036 ↓ 1.8 7 1

Bitmap Index Scan on reviews_recipient_id_status_index (cost=0.00..4.32 rows=4 width=0) (actual time=0.036..0.036 rows=7 loops=1)

  • Index Cond: ((recipient_id = 121201089) AND (status = 1))