2024年3月10日发(作者:)
Postgresql (主从)
hot_standby安装说明
一、搭建PT备份数据库
1
配置环境变量
vi /etc/
= 4096
= 50100 64128000 50100 1280
-max = 7672460
_local_port_range = 9000 65000
_default = 1048576
_max = 4194304
_default = 262144
_max = 1048576
_tw_recycle = 1
_max_syn_backlog = 4096
_max_backlog = 10000
mmit_memory = 0
_conntrack_max = 655360
-max-nr = 1048576
_timestamps = 0
使文件修改生效
sysctl -p
vi /etc/security/
* soft nofile 131072
* hard nofile 131072
* soft nproc 131072
发布评论