如何检查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%';

相关推荐
勇往直前plus6 小时前
MyBatis/MyBatis-Plus类型转换器深度解析:从基础原理到自定义实践
数据库·oracle·mybatis
·云扬·10 小时前
MySQL分页查询优化:从基础到进阶实践
数据库·mysql·oracle
川贝枇杷膏cbppg12 小时前
oracle的trace,alert,incident,cdump,hm都是干嘛的
数据库·oracle
阿坤带你走近大数据14 小时前
Oracle专家级数据库工程师的认知与经验
数据库·oracle
山峰哥14 小时前
SQL性能优化实战:从索引策略到查询优化案例全解析
大数据·数据库·sql·oracle·性能优化·架构
2301_7921858815 小时前
基于软件工程的结构化设计实验
数据库·oracle·软件工程
小宇的天下15 小时前
Allegro AXL (SKILL Extension) 手册核心内容结构化总结
数据库·oracle
ohoy17 小时前
业务数据聚合分析 xxl-job定时任务
数据库·oracle
IvanCodes17 小时前
openGauss 存储核心机制:从表空间到数据块
数据库·sql·oracle·opengauss
阿坤带你走近大数据18 小时前
Oracle中如何监控SQL执行时间?
数据库·sql·oracle