3 ms·
For the first count(*) example, I don't understand why that couldn't be solved with a TRIGGER on INSERT and DELETE?
by smlavine 3y ago
For the first count(*) example, I don't understand why that couldn't be solved with a TRIGGER on INSERT and DELETE?
- ddorian43 3y agoYou will get bottlenecked on concurrent updates in a single row. Imagine you have 10K/s of insert/deletes on that table with replication.