首页 > 技术文章 > postgresql 相关操作

liuyanerfly 2018-09-21 11:16 原文

1、root 用户,执行 service postgresql restart

service postgresql start  --启动

 

2、查看数据库状态

/etc/init.d/postgresql status

 

3、修改最大连接数

/etc/postgresql/9.5/main 下 postgresql.conf

 

pg_hba.conf 有关密码

修改内存大小shared_buffers 在 /etc/postgresql/9.5/main 下 postgresql.conf

推荐阅读