by mahmoodz98 · 1y ago · 0 comments
One way to address this is to recalculate it every n deletes, but this sounds similar to AUTOVACUUM issues in PostgreSQL and might result in unexpected drops in performance
Another option is a cuckoo filter; it is like a bloom but allows deletion
So maybe this is built for every query? Would be needed anyway if there is a where clause for the joined table.
My guess though is that many use cases are likely data stores that don't experience deletes at all.