【测试类型:工具功能】【测试版本:6.0.0】传统CM1主两备环境,在备机上执行gs_ctl restart -M primary,偶先数据库重启失败 【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a): openEuler release 20.03 (LTS) Linux openGauss79 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Mon Mar 23...
gs_ctl restart -m fast -D $PGDATA失败,且数据库会在一段时间内退出。 上述场景在数据库做checkpoint时比较容易发生。-m fast 模式下才会做checkpoint,会导致数据库进程接收关闭信号后退出。 Anything else we need to know?: Environment: Version: OS (e.g. from /etc/os-release): Kernel (e.g.uname...
gs_ctl restart 或者,如果你使用的是系统服务管理器(如systemd),你可以使用以下命令: bash sudo systemctl restart postgresql # 或者,如果你的服务名称不同,可能是 sudo systemctl restart <your_service_name> 然后,检查数据库是否成功启动,并验证之前的问题是否已解决。 如果问题仍然存在,你可能需要进...
pg_ctlstop [-W] [-s] [-Ddatadir] [-m s[mart] | f[ast] | i[mmediate] ] pg_ctlrestart [-w] [-s] [-Ddatadir] [-m s[mart] | f[ast] | i[mmediate] ] [-ooptions] pg_ctlreload [-s] [-Ddatadir] pg_ctlstatus [-Ddatadir] pg_ctlkill [signal_name] [process_id] ...
Options for stop or restart: -m, --mode=MODE MODE can be "smart", "fast", or "immediate" Shutdown modes are: smart quit after all clients have disconnected fast quit directly, with proper shutdown immediate quit without complete shutdown; will lead to recovery on restart ...