explain.depesz.com

PostgreSQL's explain analyze made readable

Result: rwuL

Settings
# exclusive inclusive rows x rows loops node
1. 0.004 1,569.342 ↑ 1.0 10 1

Limit (cost=185,076.20..185,076.23 rows=10 width=11) (actual time=1,569.338..1,569.342 rows=10 loops=1)

2. 1,092.506 1,569.338 ↑ 500,000.0 10 1

Sort (cost=185,076.20..197,576.20 rows=5,000,000 width=11) (actual time=1,569.337..1,569.338 rows=10 loops=1)

  • Sort Key: x
  • Sort Method: top-N heapsort Memory: 25kB
3. 476.832 476.832 ↑ 1.0 5,000,000 1

Seq Scan on t_test (cost=0.00..77,028.00 rows=5,000,000 width=11) (actual time=0.013..476.832 rows=5,000,000 loops=1)

Planning time : 0.043 ms
Execution time : 1,569.365 ms