explain.depesz.com

PostgreSQL's explain analyze made readable

Result: GEJQ

Settings
# exclusive inclusive rows x rows loops node
1. 0.001 0.021 ↑ 1.0 1 1

Result (cost=0.89..0.90 rows=1 width=8) (actual time=0.021..0.021 rows=1 loops=1)

2.          

Initplan (forResult)

3. 0.001 0.020 ↓ 0.0 0 1

Limit (cost=0.56..0.89 rows=1 width=8) (actual time=0.020..0.020 rows=0 loops=1)

4. 0.019 0.019 ↓ 0.0 0 1

Index Only Scan Backward using idx_user_id_id_expiration on token (cost=0.56..375.24 rows=1,169 width=8) (actual time=0.019..0.019 rows=0 loops=1)

  • Index Cond: ((user_id = 21) AND (id IS NOT NULL))
  • Heap Fetches: 0