bash-4.1$ pwd
/DATA/data_utl
bash-4.1$ ls
base pgbin pg_ident.conf pg_notify pg_stat_tmp pg_twophase postgresql.conf postmaster.opts
dbms_pipe pg_clog pg_log pg_serial pg_subtrans PG_VERSION postgresql.conf.20191119 postmaster.pid
global pg_hba.conf pg_multixact pg_snapshots pg_tblspc pg_xlog postgresql.conf.bak utlp.sql
vi postgresql.conf
将其中 deadlock_timeout 配置修改为1s
(8)重新加载数据库
bash-4.1$ ./pg_ctl reloadserver signaled
(9)查看该参数已生效
edb=# show deadlock_timeout;
deadlock_timeout
1s
(1 row)
退出
1edb=# \q
第9步也可通过重启数据库生效
停止指令:
1./pg_ctl stop -m fast
(编辑:ASP站长网)
|