当前位置:网站首页>openGauss切换后state状态显示不对
openGauss切换后state状态显示不对
2022-08-02 02:08:00 【Luffy】
一主一备
版本:openGauss 3
切换前:

切换:
备机上执行:
[[email protected] ~]$ gs_ctl switchover -D /my/openGauss/data/dn/
[[email protected] ~]$ gs_om -t refreshconf
切换后查看状态,显示不对

执行gs_checkperf命令也报错ERROR: cannot execute DROP SCHEMA in a read-only transaction

其他答案1:

这个显示正常,执行命令报错只不过是当前数据库处于只读状态,应该是你的磁盘空间达到阈值了,看一下这个
其他答案2:
gs_checkperf
背景信息
openGauss提供了gs_checkperf工具来帮助对openGauss级别(主机CPU占用率、Gauss CPU占用率、I/O使用情况等)、节点级别(CPU使用情况、内存使用情况、I/O使用情况)、会话/进程级别(CPU使用情况、内存使用情况、I/O使用情况)、SSD性能(写入、读取性能)进行定期检查,让用户了解openGauss的负载情况,采取对应的改进措施。
前提条件
openGauss运行状态正常且不为只读模式。
运行在数据库之上的业务运行正常。
其他答案3:
有没有重启集群试试?
其他答案4:
主备切换就那么几个命令,不应该出这问题啊,主备切换时的日志看看有问题么
其他答案5:
/etc/hosts里面配置的没问题吧
边栏推荐
- AntPathMatcher uses
- Entry name ‘org/apache/commons/codec/language/bm/gen_approx_greeklatin.txt’ collided
- Effects of Scraping and Aggregation
- 个人博客系统项目测试
- "NetEase Internship" Weekly Diary (2)
- typescript37-class的构造函数实例方法继承(extends)
- LeetCode刷题日记:74. 搜索二维矩阵
- C语言之插入字符简单练习
- Redis 持久化 - RDB 与 AOF
- Force buckle, 752-open turntable lock
猜你喜欢

使用百度EasyDL实现厂区工人抽烟行为识别

Redis 订阅与 Redis Stream

数据链路层的数据传输

LeetCode刷题日记:74. 搜索二维矩阵

Win Go开发包安装配置、GoLand配置
A full set of common interview questions for software testing functional testing [open thinking questions] interview summary 4-3

Personal blog system project test

第一次写对牛客的编程面试题:输入一个字符串,返回该字符串出现最多的字母

【Brush the title】Family robbery

力扣 1374. 生成每种字符都是奇数个的字符串
随机推荐
【ORB_SLAM2】SetPose、UpdatePoseMatrices
力扣 1374. 生成每种字符都是奇数个的字符串
YGG Guild Development Plan Season 1 Summary
LeetCode brushing diary: 53, the largest sub-array and
libcurl访问url保存为文件的简单示例
Handwriting a blogging platform ~ the first day
volatile原理解析
Win Go开发包安装配置、GoLand配置
6-25 Vulnerability Exploitation - irc Backdoor Exploitation
Rust P2P Network Application Combat-1 P2P Network Core Concepts and Ping Program
MySQL optimization strategy
[LeetCode Daily Question]——654. The largest binary tree
Force buckle, 752-open turntable lock
软件测试功能测试全套常见面试题【开放性思维题】面试总结4-3
用位运算为你的程序加速
Image fusion based on weighted 】 and pyramid image fusion with matlab code
CodeTon Round 2 D. Magical Array
雇用WordPress开发人员:4个实用的方法
Simple example of libcurl accessing url saved as file
使用百度EasyDL实现厂区工人抽烟行为识别