Oracle通过视图和告警日志检查主库,物理和快照备库

主库动作主库信息备库信息
是否启用redo线程

alert log

创新互联公司专注为客户提供全方位的互联网综合服务,包含不限于网站设计制作、成都网站建设、陆河网络推广、微信小程序开发、陆河网络营销、陆河企业策划、陆河品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联公司为所有大学生创业者提供陆河建站搭建服务,24小时服务热线:18980820575,官方网址:www.cdcxhl.com

v$thread

alert log

展示数据库角色,保护模式,保护级别,切换状态,快速启用,失效转换信息v$databasev$database
增删redo日志文件组

alert log

v$log

v$logfile的status字段

alert log
控制文件的创建

alert log

alert log

表空间状态的改变

v$recover_file

dba_tablespace

alert log

v$recover_file

dba_tablespace

增删数据文件或表空间

dba_data_files

alert log

v$datafile

alert log

重命名数据文件

v$datafile

alert log

v$datafile

alert log

未记录日志或未恢复的操作

v$datafile

v$database

alert log

监控redo传输

v$archive_dest_status

v$archived_log

v$archived_dest

alert log

v$archived_log

alert log

 

发布open resetlogs 或 clear unarchived logfiles 语句

alert log

alert log

 

修改初始化参数

alert log

alert log

 

 

通过以下语句获取主备库的当前角色,保护模式,保护级别,切换状态,快速启用,失效转换信息

select protection_mode,

       protection_level,

       database_role role,

       switchover_status

  from v$database;

获取fast-start 失效切换状态

select fs_failover_status           "fsfo status",

       fs_failover_current_target   target,

       fs_failover_threshold        threshold,

       fs_failover_observer_present "observer present"

  from v$database;

获取物理备库上的redo应用和传输状态

select process, status, thread#, sequence#, block#, blocks

  from v$managed_standby;

查询归档日志文件的信息和历史归档信息

select thread#, sequence#, first_change#, next_change#

   from v$archived_log;

select thread#, sequence#, first_change#, next_change# from v$log_history;

查看被写入alert log中关于DG的事件信息

select message from v$dataguard_status

查看主库redo日志传输到目标端的状态,SCN表示最后一个在standby库上应用的redo日志的系统改变号。

select dest_id, applied_scn from v$archive_dest where target='standby';

当前名称:Oracle通过视图和告警日志检查主库,物理和快照备库
当前网址:https://www.cdcxhl.com/article32/pgjipc.html

成都网站建设公司_创新互联,为您提供ChatGPT品牌网站制作手机网站建设定制开发网站导航

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

成都网站建设公司