explain.depesz.com

PostgreSQL's explain analyze made readable

Result: 3eSd

Settings

Optimization(s) for this plan:

# exclusive inclusive rows x rows loops node
1. 0.000 0.095 ↓ 0.0 0 1

Nested Loop (cost=94.28..5,185.22 rows=16,464 width=1,326) (actual time=0.095..0.095 rows=0 loops=1)

2. 0.000 0.095 ↓ 0.0 0 1

Unique (cost=10.41..10.42 rows=2 width=37) (actual time=0.095..0.095 rows=0 loops=1)

3. 0.047 0.095 ↓ 0.0 0 1

Sort (cost=10.41..10.41 rows=2 width=37) (actual time=0.095..0.095 rows=0 loops=1)

  • Sort Key: ((ticket_1.job_id)::text)
  • Sort Method: quicksort Memory: 25kB
4. 0.048 0.048 ↓ 0.0 0 1

Index Scan using idx_entity_op_created on ticket ticket_1 (cost=0.56..10.40 rows=2 width=37) (actual time=0.048..0.048 rows=0 loops=1)

  • Index Cond: (((op_type)::text = 'SDD_SNAPSHOT'::text) AND ((entity_id)::text = 'sdb-services-prod:sdb3'::text))
5. 0.000 0.000 ↓ 0.0 0

Bitmap Heap Scan on ticket (cost=83.87..2,584.18 rows=322 width=1,326) (never executed)

  • Recheck Cond: ((job_id)::text = (ticket_1.job_id)::text)
  • Filter: (NOT (hashed SubPlan 1))
6. 0.000 0.000 ↓ 0.0 0

Bitmap Index Scan on idx_job_op (cost=0.00..73.39 rows=644 width=0) (never executed)

  • Index Cond: ((job_id)::text = (ticket_1.job_id)::text)
7.          

SubPlan (for Bitmap Heap Scan)

8. 0.000 0.000 ↓ 0.0 0

Index Scan using idx_entity_op_created on ticket ticket_2 (cost=0.56..10.40 rows=2 width=37) (never executed)

  • Index Cond: (((op_type)::text = 'SDD_COPY_EXTENT_COMPLETE'::text) AND ((entity_id)::text = 'sdb-services-prod:sdb3'::text))
  • Filter: ((status)::text = ANY ('{COMPLETED,ABORT}'::text[]))
Planning time : 28.385 ms
Execution time : 0.245 ms