explain.depesz.com

PostgreSQL's explain analyze made readable

Result: xPLE

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 3.468 ↑ 1.0 1 1

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

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

Initplan (for Result)

3. 0.002 3.464 ↓ 0.0 0 1

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

  • Buffers: shared read=3
  • I/O Timings: read=3.414
4. 3.462 3.462 ↓ 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=3.462..3.462 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.impersonation) AND ((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=3.414