如何检查oracle services 切换过 table(gv$(cursor(select * from v$diag_alert_ext)))

Rac Services used for fail over.

User195957 Posts: 125

Oct 3, 2011 3:53PM edited Oct 6, 2011 12:33PM 6 commentsAnswered

Hi all,How to check if any failed over services are running on other node instead of original node.How I can check on which date it got failed over to other node?

Please let me know the command or sql which can list time of failed over services.

I tried srvctl service status -d db

I also tried:
COLUMN instance_name FORMAT a13
COLUMN host_name FORMAT a9
COLUMN failover_method FORMAT a15
COLUMN failed_over FORMAT a11
SELECT DISTINCT
v.instance_name AS instance_name,
v.host_name AS host_name,
s.failover_type AS failover_type,
s.failover_method AS failover_method,
s.failed_over AS failed_over
FROM vinstance v, vsession s
But did not get the desired output.
Regards.

FlagQuoteOff TopicLike

Answers

----RAC one node

Yes, I need to find out when dtabase services switch over from one node of RAC , and this sql helps

select ORIGINATING_TIMESTAMP, MESSAGE_TEXT from table(gv(cursor(select \* from vdiag_alert_ext))) where ORIGINATING_TIMESTAMP >sysdate-0.1 and MESSAGE_TEXT like '%service%';

相关推荐
light blue bird13 小时前
组轴式执行引擎 ✅ 多线程调度组装组件
数据库·信息可视化·oracle·桌面端winform·多节点端·gdi图表绘制开发
William_cl17 小时前
WinForms EF Core 上下文频繁释放引发的异常排查与规范方案(MES 项目实录)
服务器·数据库·oracle
许彰午18 小时前
01-Oracle 19c静默安装全流程
数据库·oracle
许彰午18 小时前
02-Oracle连接池配置实战
数据库·oracle
weixin_538601971 天前
智能体测开Day33
数据库·oracle
中微极客2 天前
Veo视频生成与Gemini Agent平台集成实践
数据库·人工智能·oracle·音视频
烟雨归来2 天前
RAC数据库OS进程消失,GV$SESSION长期残留KILLED僵尸会话处理
数据库·oracle
宇宙第一小趴菜2 天前
六、Oracle 目录结构
数据库·oracle
在繁华处2 天前
MySQL 学习笔记 01:从概念到约束,搭好库表骨架
数据库·oracle
2501_942389552 天前
为支撑持续攀升的AI资本开支
人工智能·oracle·hbase·database·storm