News for hackers. Stuff that matters.
Re:PostgreSQL 10 Released by wolf550e on Thursday October 05, 2017 @11:18AM (#15409865)
`select count(star)` is fast only on non-transactional MyISAM storage engine which locks the whole table for a single writer and has no ACID support. It's not what people usually mean when they say they want an RDBMS.

When ACID support is required, you use InnoDB, and that has the same `select count(star)` performance as other database engines.

What workload do you have that you need exact count of rows in a big table? Because if the table is not big or if inexact count would suffice, there are solutions (e.g. HyperLogLog).

There are no comments on this comment yet.