explain.depesz.com

PostgreSQL's explain analyze made readable

Result: BScy

Settings
# exclusive inclusive rows x rows loops node
1. 0.027 5.537 ↑ 10.1 10 1

Sort (cost=151.48..151.73 rows=101 width=88) (actual time=5.532..5.537 rows=10 loops=1)

  • Sort Key: (sum(t.all_points)) DESC
  • Sort Method: quicksort Memory: 26kB
2. 2.119 5.510 ↑ 10.1 10 1

HashAggregate (cost=147.10..148.11 rows=101 width=88) (actual time=5.500..5.510 rows=10 loops=1)

  • Group Key: t.bettle_id, m.member_id
3. 1.673 3.391 ↑ 1.0 2,132 1

Hash Join (cost=14.66..67.15 rows=2,132 width=54) (actual time=0.572..3.391 rows=2,132 loops=1)

  • Hash Cond: (t.member_id = cm.member_id)
4. 0.827 1.368 ↑ 1.0 520 1

Hash Join (cost=5.27..31.89 rows=520 width=70) (actual time=0.214..1.368 rows=520 loops=1)

  • Hash Cond: (t.member_id = m.member_id)
5. 0.340 0.340 ↑ 1.0 520 1

Seq Scan on tip t (cost=0.00..25.20 rows=520 width=54) (actual time=0.005..0.340 rows=520 loops=1)

6. 0.084 0.201 ↑ 1.0 101 1

Hash (cost=4.01..4.01 rows=101 width=16) (actual time=0.200..0.201 rows=101 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 13kB
7. 0.117 0.117 ↑ 1.0 101 1

Seq Scan on member m (cost=0.00..4.01 rows=101 width=16) (actual time=0.008..0.117 rows=101 loops=1)

8. 0.181 0.350 ↑ 1.0 284 1

Hash (cost=5.84..5.84 rows=284 width=16) (actual time=0.349..0.350 rows=284 loops=1)

  • Buckets: 1024 Batches: 1 Memory Usage: 22kB
9. 0.169 0.169 ↑ 1.0 284 1

Seq Scan on club_member cm (cost=0.00..5.84 rows=284 width=16) (actual time=0.006..0.169 rows=284 loops=1)

Planning time : 0.896 ms
Execution time : 5.640 ms