当前位置:网站首页>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里面配置的没问题吧
边栏推荐
- bool Frame::PosInGrid(const cv::KeyPoint &kp, int &posX, int &posY)
- Anti-oversold and high concurrent deduction scheme for e-commerce inventory system
- For effective automated testing, these software testing tools must be collected!!!
- When paying attention to the "Internet +" model, you usually only focus on the "Internet +" model itself
- 求大神解答,这种 sql 应该怎么写?
- 【LeetCode每日一题】——654.最大二叉树
- Named parameter implementation of JDBC PreparedStatement
- Fundamentals of Cryptography: X.690 and Corresponding BER CER DER Encodings
- Constructor instance method of typescript36-class
- Handwriting a blogging platform ~ the first day
猜你喜欢

Navicat data shows incomplete resolution

"NetEase Internship" Weekly Diary (1)

typescript29-枚举类型的特点和原理

Huawei's 5-year female test engineer resigns: what a painful realization...

LeetCode刷题日记:LCP 03.机器人大冒险

typescript33 - high-level overview of typescript

typescript33-typescript高级概述

检查IP或端口是否被封

Pcie the inbound and outbound

Constructor of typescript35-class
随机推荐
HSDC和独立生成树相关
MySQL optimization strategy
Golang分布式应用之定时任务
Day116.尚医通:预约挂号详情 ※
Analysis of volatile principle
Speed up your programs with bitwise operations
Project Background Technology Express
Handwritten Blog Platform ~ Day Two
The underlying data structure of Redis
When paying attention to the "Internet +" model, you usually only focus on the "Internet +" model itself
Fly propeller power space future PIE - Engine Engine build earth science
哈希冲突和一致性哈希
检查IP或端口是否被封
typescript36-class的构造函数实例方法
3 Month Tester Readme: 4 Important Skills That Impacted My Career
【ORB_SLAM2】void Frame::ComputeImageBounds(const cv::Mat &imLeft)
编码经验之谈
使用百度EasyDL实现厂区工人抽烟行为识别
bool Frame::PosInGrid(const cv::KeyPoint &kp, int &posX, int &posY)
Understand the big model in seconds | 3 steps to get AI to write a summary