explain.depesz.com

PostgreSQL's explain analyze made readable

Result: Y9f

options
Did it help? Consider supporting us - Bitcoin address: 12v2hUztAk2LgzQ9H9LMwuU32urHMjZQnq
# exclusive inclusive rows x rows loops node
1. 0.026 1,724.706 ↑ 1.0 10 1

Limit (cost=34,159.40..34,159.43 rows=10 width=1,332) (actual time=1,724.672..1,724.706 rows=10 loops=1)

  • Total runtime: 1724.952 ms
2. 107.624 1,724.680 ↑ 4,454.4 10 1

Sort (cost=34,159.40..34,270.76 rows=44,544 width=1,332) (actual time=1,724.668..1,724.680 rows=10 loops=1)

  • Sort Key: c.pulldate, c.pubdate
  • Sort Method: top-N heapsort Memory: 45kB
3. 84.372 1,617.056 ↑ 1.9 23,284 1

Hash Join (cost=5,143.80..33,196.82 rows=44,544 width=1,332) (actual time=623.709..1,617.056 rows=23,284 loops=1)

  • Hash Cond: (c.d_id = t6.id)
4. 69.986 1,531.408 ↑ 1.9 23,284 1

Nested Loop (cost=5,121.50..32,562.05 rows=44,544 width=1,154) (actual time=622.418..1,531.408 rows=23,284 loops=1)

5. 0.014 0.014 ↑ 1.0 1 1

Seq Scan on e (cost=0.00..1.19 rows=1 width=157) (actual time=0.008..0.014 rows=1 loops=1)

  • Filter: (id = 2)
6. 80.214 1,461.408 ↑ 1.9 23,284 1

Hash Join (cost=5,121.50..32,115.42 rows=44,544 width=997) (actual time=622.399..1,461.408 rows=23,284 loops=1)

  • Hash Cond: (b.d_id = d.id)
7. 349.694 1,379.967 ↑ 1.9 23,284 1

Hash Join (cost=5,099.21..31,480.65 rows=44,544 width=819) (actual time=621.155..1,379.967 rows=23,284 loops=1)

  • Hash Cond: (c.id = a.c_id)
8. 409.150 409.150 ↓ 1.1 165,113 1

Seq Scan on c (cost=0.00..22,036.12 rows=155,995 width=763) (actual time=0.005..409.150 rows=165,113 loops=1)

  • Filter: (pulldate >= '1994-04-03 06:00:00+00'::timestamp with time zone)
9. 46.992 621.123 ↑ 1.9 23,284 1

Hash (cost=4,542.36..4,542.36 rows=44,548 width=56) (actual time=621.123..621.123 rows=23,284 loops=1)

  • Buckets: 8192 Batches: 1 Memory Usage: 2101kB
10. 293.251 574.131 ↑ 1.9 23,284 1

Hash Join (cost=13.91..4,542.36 rows=44,548 width=56) (actual time=0.461..574.131 rows=23,284 loops=1)

  • Hash Cond: (a.b_id = b.id)
11. 280.437 280.437 ↓ 1.0 172,527 1

Seq Scan on a (cost=0.00..3,436.59 rows=172,368 width=17) (actual time=0.009..280.437 rows=172,527 loops=1)

  • Filter: (state < 2)
12. 0.183 0.443 ↑ 1.0 130 1

Hash (cost=12.29..12.29 rows=130 width=39) (actual time=0.443..0.443 rows=130 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 10kB
13. 0.260 0.260 ↑ 1.0 130 1

Seq Scan on b (cost=0.00..12.29 rows=130 width=39) (actual time=0.006..0.260 rows=130 loops=1)

  • Filter: (count AND (e_id = 2))
14. 0.675 1.227 ↑ 1.0 413 1

Hash (cost=17.13..17.13 rows=413 width=178) (actual time=1.227..1.227 rows=413 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 87kB
15. 0.552 0.552 ↑ 1.0 413 1

Seq Scan on d (cost=0.00..17.13 rows=413 width=178) (actual time=0.003..0.552 rows=413 loops=1)

16. 0.679 1.276 ↑ 1.0 413 1

Hash (cost=17.13..17.13 rows=413 width=178) (actual time=1.276..1.276 rows=413 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 87kB
17. 0.597 0.597 ↑ 1.0 413 1

Seq Scan on d t6 (cost=0.00..17.13 rows=413 width=178) (actual time=0.008..0.597 rows=413 loops=1)