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 \~$

相关推荐
龙腾AI白云1 小时前
具身智能模仿学习与人类示教:从观察中习得动作
数据库·机器学习·知识图谱·pygame
Databend1 小时前
活动邀请函|AI 时代的湖仓实践,从应用场景到 Cloud Agent 上手
大数据·数据库·agent
星恒随风1 小时前
MySQL 从零入门(七):索引原理与 B+ 树详解——从磁盘 I/O 到 InnoDB 聚簇索引
linux·服务器·数据库·笔记·mysql
倔强的石头_1 小时前
数据库性能优化手记:一次从KWR到改代码的完整排查
数据库
城北徐宫20 小时前
MySQL数据类型整理
数据库·mysql
数据库小学妹20 小时前
数据库容量规划:四个数与扩容触发线
运维·数据库·后端
时间的拾荒人20 小时前
Redis Cluster 集群详解:分片算法、搭建、故障处理与扩容实战
数据库·redis·算法·集群
纆兰1 天前
MySQL的多表查询
数据库·mysql
七夜zippoe1 天前
Nexent 模型配置:4 字段与 9 个槽位
数据库·人工智能·模型·nexent
进击的荆棘1 天前
MySQL——表的操作
数据库·mysql