Last active
May 10, 2016 04:52
-
-
Save Madusudanan/333e6662b7b78220c6292d575aaf091d to your computer and use it in GitHub Desktop.
Postgres Query plan for a sequential scan #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
performance_test=# explain (analyze,buffers) select count(*) from users; | |
QUERY PLAN | |
----------------------------------------------------------------------------------------------------------------------- | |
Aggregate (cost=48214.95..48214.96 rows=1 width=0) (actual time=3874.445..3874.445 rows=1 loops=1) | |
Buffers: shared read=35715 | |
-> Seq Scan on users (cost=0.00..45714.96 rows=999996 width=0) (actual time=6.024..3526.606 rows=1000000 loops=1) | |
Buffers: shared read=35715 | |
Planning time: 0.114 ms | |
Execution time: 3874.509 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment