Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Comment by Schwern on Query performance does not improve when storing sorted data

$
0
0
select a, sum(b) from table1 group by a; has to scan the whole table, so order shouldn't matter. Please show us the explain analyze for your queries, that will provide information about how PostgreSQL is executing your queries.

Viewing all articles
Browse latest Browse all 581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>