top | item 46699781

(no title)

gleenn | 1 month ago

It's definitely an interesting approach but the problem is now you have to change all your queries and undeleting get more complicated. There are strong trade-offs with almost all the approaches I've heard of.

discuss

order

snuxoll|1 month ago

With partitioning? No you don't. It gets a bit messy if you also want to partition a table by other values (like tenant id or something), since then you probably need to get into using table inheritance instead of the easier declarative partitioning - but either technique just gives you a single effective table to query.

edmundsauto|1 month ago

Pg moves the data between positions on update?