explain.depesz.com

PostgreSQL's explain analyze made readable

Result: VrjV

Settings
# exclusive inclusive rows x rows loops node
1. 6.323 372,629.860 ↑ 1.0 1 1

Aggregate (cost=1,521,061.43..1,521,061.44 rows=1 width=8) (actual time=372,629.859..372,629.860 rows=1 loops=1)

  • Buffers: shared hit=4175034 read=6306566 dirtied=21856
  • I/O Timings: read=342034.394
2. 104.594 372,623.537 ↑ 2.4 1,055 1

Nested Loop (cost=0.99..1,521,055.03 rows=2,557 width=4) (actual time=3.718..372,623.537 rows=1,055 loops=1)

  • Buffers: shared hit=4175030 read=6306562 dirtied=21856
  • I/O Timings: read=342030.796
3. 367,015.617 367,015.617 ↑ 2.0 24,351 1

Index Scan using index_projects_on_id_service_desk_enabled on public.projects (cost=0.43..1,246,040.40 rows=48,739 width=8) (actual time=0.401..367,015.617 rows=24,351 loops=1)

  • Filter: ((projects.creator_id >= 1) AND (projects.creator_id <= 10000))
  • Rows Removed by Filter: 10336615
  • Buffers: shared hit=4086228 read=6291474 dirtied=21856
  • I/O Timings: read=336851.565
4. 5,503.326 5,503.326 ↓ 0.0 0 24,351

Index Scan using index_services_on_project_id_and_type on public.services (cost=0.56..5.63 rows=1 width=4) (actual time=0.222..0.226 rows=0 loops=24,351)

  • Index Cond: (services.project_id = projects.id)
  • Filter: services.active
  • Rows Removed by Filter: 0
  • Buffers: shared hit=88802 read=15088
  • I/O Timings: read=5179.231