openGauss系列 --启动和停止服务器

https://docs.opengauss.org/zh/docs/6.0.0/docs/DatabaseOMGuide/启停openGauss.html

启动服务器

以操作系统用户omm登录数据库主节点。

使用以下命令启动openGauss。

gs_om -t start

omm@lab6 \~\]$ gs_om -t start Starting cluster. ========================================= \[SUCCESS\] lab6 2024-12-31 17:29:36.253 6773b980.1 \[unknown\] 140153221437888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: could not create any HA TCP/IP sockets 2024-12-31 17:29:36.253 6773b980.1 \[unknown\] 140153221437888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: could not create any HA TCP/IP sockets 2024-12-31 17:29:36.263 6773b980.1 \[unknown\] 140153221437888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4482 Mbytes) is larger. ========================================= Successfully started. \[omm@lab6 \~\]$ ### 停止服务器 以操作系统用户omm登录数据库主节点。 使用以下命令停止openGauss。 gs_om -t stop \[omm@lab6 \~\]$ gs_om -t stop Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. \[omm@lab6 \~\]$ ### 重启数据库 \[omm@lab6 \~\]$ gs_om -t restart Stopping cluster. ========================================= Successfully stopped cluster. ========================================= End stop cluster. Starting cluster. ========================================= \[SUCCESS\] lab6 2025-01-10 20:34:22.764 678113ce.1 \[unknown\] 139978692413888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: could not create any HA TCP/IP sockets 2025-01-10 20:34:22.764 678113ce.1 \[unknown\] 139978692413888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: could not create any HA TCP/IP sockets 2025-01-10 20:34:22.774 678113ce.1 \[unknown\] 139978692413888 \[unknown\] 0 dn_6001 01000 0 \[BACKEND\] WARNING: Failed to initialize the memory protect for g_instance.attr.attr_storage.cstore_buffers (1024 Mbytes) or shared memory (4482 Mbytes) is larger. ========================================= Successfully started. \[omm@lab6 \~\]$

相关推荐
junnhwan16 小时前
【苍穹外卖笔记】Day04--套餐管理模块
java·数据库·spring boot·后端·苍穹外卖·crud
一枚正在学习的小白16 小时前
PG数据文件位置迁移
linux·运维·服务器·数据库
真的想不出名儿16 小时前
上传头像到腾讯云对象存储-前端基于antdv
java·数据库·腾讯云
Dreams_l17 小时前
初识redis(分布式系统, redis的特性, 基本命令)
数据库·redis·缓存
数据库知识分享者小北17 小时前
Qoder + ADB Supabase :5分钟GET超火AI手办生图APP
数据库·后端
点亮一颗LED(从入门到放弃)17 小时前
SQLite3数据库——Linux应用
linux·数据库·sqlite
济南java开发,求内推18 小时前
mongodb一个服务器部署多个节点
服务器·数据库·mongodb
武子康18 小时前
Java-148 深入浅出 MongoDB 聚合操作:$match、$group、$project、$sort 全面解析 Pipeline 实例详解与性能优化
java·数据库·sql·mongodb·性能优化·系统架构·nosql
程序猿(雷霆之王)18 小时前
MySQL——复合查询
数据库·mysql
IT 小阿姨(数据库)19 小时前
PostgreSQL etcd 集群介绍
运维·数据库·sql·postgresql·centos·etcd