Skip to content
#该工具基于Perl语言开发,首先安装Perl相关的开发包
# yum -y install perl-DBD-Pg perl-DBI 
#获取工具包
#cd /tmp

# wget -O postgresqltuner.pl https://postgresqltuner.pl --no-check-certificate

# curl -Lo postgresqltuner.pl https://postgresqltuner.pl

#chmod +x postgresqltuner.pl

二、基本使用

使用方法:
./postgresqltuner.pl --host=127.0.0.1 --database=mydb --user=postgres --password=bitgood123
#该工具基于Perl语言开发,首先安装Perl相关的开发包
# yum -y install perl-DBD-Pg perl-DBI 
#获取工具包
#cd /tmp

# wget -O postgresqltuner.pl https://postgresqltuner.pl --no-check-certificate

# curl -Lo postgresqltuner.pl https://postgresqltuner.pl

#chmod +x postgresqltuner.pl

二、基本使用

使用方法:
./postgresqltuner.pl --host=127.0.0.1 --database=mydb --user=postgres --password=bitgood123
  • 另一种方式

https://pgtune.leopard.in.ua/