Quantcast
Channel: User Frank Heikens - Database Administrators Stack Exchange
Viewing all articles
Browse latest Browse all 118

Comment by Frank Heikens on PostgreSQL date index

$
0
0
This query doesn't search for anything, it takes all records including everything. Counting all records in a table, isn't the best part of PostgreSQL and we avoid this (for large tables) by maintaining an aggregate table. A query like this will be processed in half a millisecond, even for billions of records in the main table: the query doesn't even touch this large table. cybertec-postgresql.com/en/postgresql-count-made-fast

Viewing all articles
Browse latest Browse all 118

Trending Articles



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