当前位置:网站首页>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里面配置的没问题吧
边栏推荐
- Hiring a WordPress Developer: 4 Practical Ways
- Basic use of typescript34-class
- 2023年起,这些地区软考成绩低于45分也能拿证
- PHP 使用 PHPRedis 与 Predis
- 飞桨助力航天宏图PIE-Engine地球科学引擎构建
- The ultra-large-scale industrial practical semantic segmentation dataset PSSL and pre-training model are open source!
- 编码经验之谈
- 『网易实习』周记(一)
- 垃圾回收器CMS和G1
- The Paddle Open Source Community Quarterly Report is here, everything you want to know is here
猜你喜欢

Personal blog system project test

6-25 Vulnerability Exploitation - irc Backdoor Exploitation

Use baidu EasyDL implement factory workers smoking behavior recognition

Image fusion based on weighted 】 and pyramid image fusion with matlab code

Understand the big model in seconds | 3 steps to get AI to write a summary

【LeetCode每日一题】——704.二分查找

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

HSDC is related to Independent Spanning Tree

飞桨开源社区季度报告来啦,你想知道的都在这里

Handwriting a blogging platform ~ Day 3
随机推荐
哈希冲突和一致性哈希
AntPathMatcher使用
力扣、752-打开转盘锁
Use baidu EasyDL implement factory workers smoking behavior recognition
Ask God to answer, how should this kind of sql be written?
AOF重写
Redis Subscription and Redis Stream
Redis 订阅与 Redis Stream
LeetCode刷题日记:LCP 03.机器人大冒险
【Brush the title】Family robbery
Some insights from 5 years of automated testing experience: UI automation must overcome these 10 pits
LeetCode Review Diary: 153. Find the Minimum Value in a Rotated Sort Array
『网易实习』周记(三)
Analysis of volatile principle
软件测试功能测试全套常见面试题【开放性思维题】面试总结4-3
Huawei's 5-year female test engineer resigns: what a painful realization...
PHP直播源码实现简单弹幕效果的相关代码
Record the pits where an error occurs when an array is converted to a collection, and try to use an array of packaging types for conversion
力扣 1161. 最大层内元素和
Hiring a WordPress Developer: 4 Practical Ways