explain.depesz.com

PostgreSQL's explain analyze made readable

Result: MuHg

Settings
# exclusive inclusive rows x rows loops node
1. 0.005 5.655 ↑ 1.0 1 1

Result (cost=3.45..3.46 rows=1 width=4) (actual time=5.655..5.655 rows=1 loops=1)

  • Buffers: shared read=3
  • I/O Timings: read=5.569
2.          

Initplan (for Result)

3. 0.002 5.650 ↓ 0.0 0 1

Limit (cost=0.43..3.45 rows=1 width=4) (actual time=5.650..5.650 rows=0 loops=1)

  • Buffers: shared read=3
  • I/O Timings: read=5.569
4. 5.648 5.648 ↓ 0.0 0 1

Index Scan using index_pat_on_user_id_and_expires_at on public.personal_access_tokens (cost=0.43..3.45 rows=1 width=4) (actual time=5.648..5.648 rows=0 loops=1)

  • Index Cond: ((personal_access_tokens.user_id = 644) AND (personal_access_tokens.expires_at IS NOT NULL) AND (personal_access_tokens.expires_at <= '2020-06-24'::date))
  • Filter: ((NOT personal_access_tokens.revoked) OR (personal_access_tokens.revoked IS NULL))
  • Rows Removed by Filter: 0
  • Buffers: shared read=3
  • I/O Timings: read=5.569