49

PostgreSQL pg_ctl start超时分析-yanzongshuai的专栏

 5 years ago
source link: http://blog.51cto.com/yanzongshuai/2346758
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、问题pg_ctlstart启动时报错退出:pg_ctl:serverdidnotstartintime。超时时间是多少?从什么时候到哪个阶段算超时?二、分析:该信息打印位置,从后面代码段do_start函数中可以看出1、pg_ctlstart调用start_postmaster启动PG的主进程后,每隔0.1ms检查一次postmaster.pid文件,是否已写入ready/standby2、总

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK