Hacker News new | ask | show | jobs
by djd20 2758 days ago
I would argue thats an issue with your architecture at that point - you may want to use table partitioning at sizes that big, or have some other mechanism in place to be able to lock access while updating such large data sets in one go.
1 comments

I would generally agree, though there are unfortunately limitations imposed on you the moment you start using partitioning with PostgreSQL (foreign keys remain to be a big one).
Not as of PG 11
You still can’t make FK references TO partitioned tables, unfortunately.