Last active
May 18, 2024 06:48
-
-
Save ensean/c2007aeec8a7574317ecbe4e2fdd94a5 to your computer and use it in GitHub Desktop.
Amazon Linux 2023 pg_repack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Amazon Linux 2023 | |
# pgsql 15 | |
sudo yum install readline-devel lz4-devel postgresql15-static postgresql15-server-devel -y | |
sudo yum groupinstall "Development Tools" -y | |
wget --no-check-certificate 'https://api.pgxn.org/dist/pg_repack/1.4.8/pg_repack-1.4.8.zip' | |
unzip pg_repack-1.4.8.zip | |
cd pg_repack-1.4.8 | |
make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.jibing57.com/2022/01/07/pg-repack-to-reclaim-the-postgresql-disk-space-on-aws-rds/