当前位置:网站首页>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里面配置的没问题吧
边栏推荐
- typescript35-class的构造函数
- Typescript31 - any type
- 个人博客系统项目测试
- HSDC is related to Independent Spanning Tree
- 检查IP或端口是否被封
- 哈希冲突和一致性哈希
- AntPathMatcher uses
- Some insights from 5 years of automated testing experience: UI automation must overcome these 10 pits
- Speed up your programs with bitwise operations
- 用位运算为你的程序加速
猜你喜欢
ofstream,ifstream,fstream读写文件
Redis Subscription and Redis Stream
Day115. Shangyitong: Background user management: user lock and unlock, details, authentication list approval
oracle查询扫描全表和走索引
手写一个博客平台~第三天
YGG Guild Development Plan Season 1 Summary
AOF重写
Win Go开发包安装配置、GoLand配置
Golang分布式应用之定时任务
Day116. Shangyitong: Details of appointment registration ※
随机推荐
手写一个博客平台~第一天
The underlying data structure of Redis
Redis for distributed applications in Golang
【LeetCode每日一题】——103.二叉树的锯齿形层序遍历
『网易实习』周记(二)
Speed up your programs with bitwise operations
Constructor of typescript35-class
Day115. Shangyitong: Background user management: user lock and unlock, details, authentication list approval
LeetCode刷题日记:53、最大子数组和
Hiring a WordPress Developer: 4 Practical Ways
Basic use of typescript34-class
swift项目,sqlcipher3 -> 4,无法打开旧版数据库有办法解决吗
使用百度EasyDL实现厂区工人抽烟行为识别
【LeetCode Daily Question】——704. Binary Search
HSDC is related to Independent Spanning Tree
搜罗汇总的效应
Golang分布式应用之Redis
Scheduled tasks for distributed applications in Golang
typescript33-typescript高级概述
密码学的基础:X.690和对应的BER CER DER编码