explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Cdgw

Settings
# exclusive inclusive rows x rows loops node
1. 0.029 0.061 ↑ 1.0 10 1

Limit (cost=0.00..77.00 rows=10 width=208) (actual time=0.018..0.061 rows=10 loops=1)

  • Output: transaction_id, platform, user_id, (CASE WHEN (lock_ts >= '2019-05-10 21:31:24.565633'::timestamp without time zone) THEN 'locked'::text ELSE (status)::text END), item, quantity, pending_ts, NULL::timestamp without time zone, NULL::text, NULL::platform, NULL::timestamp without time zone, NULL::text, NULL::platform
  • Buffers: shared hit=1
2. 0.032 0.032 ↑ 62.5 10 1

Seq Scan on public.transaction (cost=0.00..4,812.69 rows=625 width=208) (actual time=0.014..0.032 rows=10 loops=1)

  • Output: transaction_id, platform, user_id, CASE WHEN (lock_ts >= '2019-05-10 21:31:24.565633'::timestamp without time zone) THEN 'locked'::text ELSE (status)::text END, item, quantity, pending_ts, NULL::timestamp without time zone, NULL::text, NULL::platform, NULL::timestamp without time zone, NULL::text, NULL::platform
  • Filter: ((transaction.fulfilled_ts IS NULL) AND (transaction.pending_ts < 'infinity'::timestamp without time zone) AND (transaction.user_id = COALESCE(transaction.user_id)) AND (transaction.status = 'pending'::rv_status) AND (transaction.game = 'test'::text))
  • Buffers: shared hit=1