News for hackers. Stuff that matters.
Re:PostgreSQL Scalability: Towards Millions TPS by icebraining on Tuesday May 10, 2016 @06:13AM (#11666119)
We are migrating our analytics db from Mongo to PG but we hit a wall because SELECT COUNT(DISTINCT x)) performs abysmally in Postgres.

An alternative is PipelineDB, which is built on Postgres (and drop-in compatible, supposedly) and should provide an efficient implementation for those kinds of queries: https://www.pipelinedb.com/

I've never used it, though.

There are no comments on this comment yet.