Re:We do not use foreign keys (2016)
by evanelias on Friday November 08, 2019 @05:43PM
(#21487703)
Adding a foreign key to a massive table can take a long time, since all existing row data must be validated against the constraint. With logical replication, long operations like this can be quite disruptive, even with a multi-threaded logical replication scheme.
[ Parent
| on HN ]
There are no comments on this comment yet.