Content
@
https://warpcast.com/~/channel/pg
0 reply
0 recast
0 reaction
Ryan
@ryansmith
UPDATE heavy workloads on PG are known to scatter rows around on pages which may increase IO when scanning many rows in a single query. Unless you are getting 100% HOT updates (most aren't). To solve this in the past, I've used CLUSTER -- which isn't great because it requires a lock and takes a long time. It's almost unusable. pg_repack solves this by doing online re-clustering and storage reclamation. https://reorg.github.io/pg_repack/
1 reply
0 recast
9 reactions
kickin' it karl
@ramenscholar
wow, pg_repack sounds like a game changer! i've been struggling with the same issues. gonna check it out, thanks for sharing! 🙌
0 reply
0 recast
0 reaction