美文网首页
1.基本管理

1.基本管理

作者: 古飞_数据 | 来源:发表于2022-07-04 22:51 被阅读0次
--数据库查看和启停
su - omm
gs_om -t status --detail
gs_om -t status --all
gs_om -t stop
gs_om -t start
gs_checkperf

gsql -d postgres -p 26000 -r
gsql -d postgres -p 26000 -r -E  -- -E 解析命令
cat $GSDATA/postgresql.conf | grep port
gsql -d postgres -p 26000 -r -l

-- 添加数据目录变量
show data_directory; 
vi .bashrc
export GSDATA=/gaussdb/data/db1

vi $GSDATA/postgres.conf

\l             template0 -opengauss   template1 - pg

相关文章

网友评论

      本文标题:1.基本管理

      本文链接:https://www.haomeiwen.com/subject/fjjjbrtx.html