by joana035 · 5y ago · 0 comments
Everything else is pretty good, MySQL has compressed tables, but in PostgreSQL the same amount of data already takes less space by default.
Pghero/pg_stat_statements are also very handy.
But "hate"? No, no hate here :)
EDIT: I'm also curious what version of Postgres you've experienced this on? Sounds like there may have been improvements to COUNT (DISTINCT in v11+
Basically it's fetching metadata on the table, which can in some cases not be updated (yet), where as in pg it actually counts entries in the index.