explain.depesz.com

PostgreSQL's explain analyze made readable

Result: mSDS

Settings
# exclusive inclusive rows x rows loops node
1. 0.002 0.921 ↑ 1.0 12 1

Limit (cost=1.14..323.46 rows=12 width=108) (actual time=0.740..0.921 rows=12 loops=1)

2. 0.011 0.919 ↑ 6,413.5 12 1

Nested Loop (cost=1.14..2,067,204.86 rows=76,962 width=108) (actual time=0.739..0.919 rows=12 loops=1)

3. 0.271 0.896 ↑ 6,413.5 12 1

Nested Loop (cost=0.86..2,044,683.44 rows=76,962 width=101) (actual time=0.730..0.896 rows=12 loops=1)

4. 0.625 0.625 ↑ 2,836.1 442 1

Index Scan Backward using uk_process_id on process p (cost=0.44..1,180,982.74 rows=1,253,540 width=48) (actual time=0.462..0.625 rows=442 loops=1)

  • Filter: (process_template_id = ANY ('{89,112}'::bigint[]))
  • Rows Removed by Filter: 1584
5. 0.000 0.000 ↓ 0.0 0 442

Index Scan using idx_entity_uuid on entity e (cost=0.43..0.68 rows=1 width=69) (actual time=0.000..0.000 rows=0 loops=442)

  • Index Cond: (id_uuid = p.filler_id_uuid)
6. 0.012 0.012 ↑ 1.0 1 12

Index Scan using pk_workflow_state on workflow_state ws (cost=0.28..0.29 rows=1 width=23) (actual time=0.001..0.001 rows=1 loops=12)

  • Index Cond: (id = p.workflow_state_id)