explain.depesz.com

PostgreSQL's explain analyze made readable

Result: QqP1

Settings
# exclusive inclusive rows x rows loops node
1. 0.002 0.138 ↓ 1.7 5 1

Limit (cost=44.80..44.81 rows=3 width=285) (actual time=0.136..0.138 rows=5 loops=1)

  • Buffers: shared hit=27
2. 0.021 0.136 ↓ 1.7 5 1

Sort (cost=44.80..44.81 rows=3 width=285) (actual time=0.135..0.136 rows=5 loops=1)

  • Sort Key: id DESC
  • Sort Method: quicksort Memory: 26kB
  • Buffers: shared hit=27
3. 0.018 0.115 ↓ 1.7 5 1

Bitmap Heap Scan on transactions t0 (cost=35.14..44.78 rows=3 width=285) (actual time=0.107..0.115 rows=5 loops=1)

  • Recheck Cond: ((site_id = ANY ('{1,2,3,4,5,6,7,8,9,10,12}'::integer[])) AND ("references"[2] = '(USER,53)'::transaction_reference))
  • Heap Blocks: exact=5
  • Buffers: shared hit=27
4. 0.097 0.097 ↓ 1.7 5 1

Bitmap Index Scan on transaction_site_id_references_user_offset_index (cost=0.00..35.13 rows=3 width=0) (actual time=0.097..0.097 rows=5 loops=1)

  • Index Cond: ((site_id = ANY ('{1,2,3,4,5,6,7,8,9,10,12}'::integer[])) AND ("references"[2] = '(USER,53)'::transaction_reference))
  • Buffers: shared hit=22
Planning time : 0.322 ms
Execution time : 0.180 ms