zlacker

[parent] [thread] 2 comments
1. h1fra+(OP)[view] [source] 2023-04-26 20:20:53
Once you figured out all the point in this article, it's a matter of fine tuning, can take some times but eventually it will works. The only thing I still struggle with is the Table Bloat.

On managed Postgres (i.e: gcp, aws) you pay for the disk, but when you can't run a VACUUM FULL because it locks the table, you end up with a lot of allocated storage for nothing and you can't shrink the disk size (at least on gcp). Storage is cheap but still feels like a waste.

replies(1): >>fovc+R4
2. fovc+R4[view] [source] 2023-04-26 20:43:16
>>h1fra+(OP)
https://reorg.github.io/pg_repack/

Dead easy to run and no long-held locks

replies(1): >>jagged+Sy
◧◩
3. jagged+Sy[view] [source] [discussion] 2023-04-27 00:03:32
>>fovc+R4
Absolutely critical once you get above a certain table size.
[go to top]