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

相关推荐
DolphinDB1 天前
集成 Prometheus 与 DolphinDB 规则引擎,构建敏捷监控解决方案
数据库
IvorySQL1 天前
PostgreSQL 技术日报 (3月10日)|IIoT 性能瓶颈与内核优化新讨论
数据库·postgresql·开源
DBA小马哥1 天前
时序数据库是什么?能源行业国产化替换的入门必看
数据库·时序数据库
爱可生开源社区2 天前
某马来西亚游戏公司如何从 SQL Server 迁移至 OceanBase?
数据库
小瓦码J码2 天前
PostgreSQL表名超长踩坑记
数据库·postgresql
yhyyht2 天前
InfluxDB入门记录(三)flux-dsl
数据库·后端
IvorySQL2 天前
PostgreSQL 技术日报 (3月9日)|EXPLAIN ANALYZE 计时优化与复制语法讨论
数据库·postgresql·开源
stark张宇3 天前
MySQL 核心内幕:从索引原理、字段选型到日志机制与外键约束,一篇打通数据库任督二脉
数据库·mysql·架构
倔强的石头_3 天前
融合数据库架构实践:关系型、JSON与全文检索的“一库多能”深度解析
数据库
星辰员3 天前
KingbaseES数据库:ksql 命令行用户与权限全攻略,从创建到删除
数据库