explain.depesz.com

PostgreSQL's explain analyze made readable

Result: fkSV : After the analyze

Settings
# exclusive inclusive rows x rows loops node
1. 35.060 64,607.813 ↑ 1.0 10,000 1

Nested Loop (cost=393.250..84,858.010 rows=10,000 width=762) (actual time=32.897..64,607.813 rows=10,000 loops=1)

2. 19.668 32.753 ↑ 1.0 10,000 1

HashAggregate (cost=392.690..492.690 rows=10,000 width=60) (actual time=17.926..32.753 rows=10,000 loops=1)

  • Group Key: seven.whiskey
3. 1.072 13.085 ↑ 1.0 10,000 1

Limit (cost=0.000..267.690 rows=10,000 width=60) (actual time=0.018..13.085 rows=10,000 loops=1)

4. 12.013 12.013 ↑ 1,003.6 10,000 1

Seq Scan on seven (cost=0.000..268,655.220 rows=10,035,922 width=60) (actual time=0.016..12.013 rows=10,000 loops=1)

5. 64,540.000 64,540.000 ↑ 1.0 1 10,000

Index Scan using uniform on two (cost=0.560..8.440 rows=1 width=762) (actual time=6.454..6.454 rows=1 loops=10,000)

  • Index Cond: ((november = 'victor'::text) AND (whiskey = seven.whiskey))