explain.depesz.com

PostgreSQL's explain analyze made readable

Result: ms5t

Settings
# exclusive inclusive rows x rows loops node
1. 0.003 1.879 ↑ 1.0 12 1

Limit (cost=1.14..330.96 rows=12 width=108) (actual time=1.800..1.879 rows=12 loops=1)

2. 0.007 1.876 ↑ 6,535.8 12 1

Nested Loop (cost=1.14..2,155,591.92 rows=78,429 width=108) (actual time=1.799..1.876 rows=12 loops=1)

3. 0.163 1.857 ↑ 6,535.8 12 1

Nested Loop (cost=0.86..2,132,645.67 rows=78,429 width=101) (actual time=1.792..1.857 rows=12 loops=1)

4. 1.694 1.694 ↑ 2,911.2 442 1

Index Scan using pk_process on process p (cost=0.44..1,196,804.87 rows=1,286,771 width=48) (actual time=1.542..1.694 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.72 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)