摘要: 背景 当Oracle 归档日志满了后,将无法正常登入oracle,需要删除一部分归档日志才能正常登入ORACLE。最近遇到一个问题,一套Oracle 11g数据库使用RMAN删除了归档日志,但是仍然无法释放,导致无法登陆oracle数据库。 1.查看归档日志文件 oracle@ps251n2s:[/ 阅读全文
posted @ 2019-11-22 17:43 orcl 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 一、背景 系统: 主库:rhel 6.4 64bit 备库:rhel 6.4 64bit 内存:2G [oracle@dgdb1 ~]$ free -m total used free shared buffers cached Mem: 1863 1176 686 0 13 896 -/+ buf 阅读全文
posted @ 2019-11-22 03:24 orcl 阅读(1389) 评论(0) 推荐(0) 编辑
摘要: 一、查看当前归档日志路径 SQL> archive log listDatabase log mode Archive ModeAutomatic archival EnabledArchive destination USE_DB_RECOVERY_FILE_DESTOldest online l 阅读全文
posted @ 2019-11-19 17:25 orcl 阅读(1763) 评论(0) 推荐(0) 编辑
摘要: expdp \"/as sysdba\" directory=my_dir logfile=expdp.log dumpfile=expdp_scott.dmp schemas=scott impdp \"/as sysdba\" directory=my_dir logfile=expdp.log 阅读全文
posted @ 2019-11-19 15:06 orcl 阅读(823) 评论(0) 推荐(0) 编辑
摘要: 1.查看表大小,索引大小,获取表的DDL创建脚本 select bytes/1024/1024 from dba_segments where segment_name='table_name' and owner='username'; select bytes/1024/1024 from db 阅读全文
posted @ 2019-11-11 16:46 orcl 阅读(528) 评论(0) 推荐(0) 编辑
摘要: ORACLE11g Dataguard物理Standby日常巡检操作手册 编写:_____________校对:_____________日期:_____________ 目录1、DG环境的日常巡检 41.1、主库环境检查 41.1.1、主库实例启动状态检查 41.1.2、主库启动模式检查 41.1 阅读全文
posted @ 2019-11-11 16:28 orcl 阅读(1153) 评论(0) 推荐(0) 编辑
摘要: 一、oracle ADG启动顺序 1.启动主备库监听 [oracle@dgdb1 ~]$ lsnrctl start [oracle@dgdb2 ~]$ lsnrctl start 2.启动备库 SQL> startup nomount SQL> alter database mount stand 阅读全文
posted @ 2019-11-11 16:25 orcl 阅读(2185) 评论(0) 推荐(0) 编辑
摘要: SecureCRT无法退格删除 securecrt无法退格删除问题解决: 如果想要全部会话都可以实现退格删除的功能,需要在全局选项设置。 最后选择全局应用即可。 阅读全文
posted @ 2019-11-11 15:47 orcl 阅读(405) 评论(0) 推荐(0) 编辑
摘要: oracle11g ADG主备切换 1、主库 SQL> select name,open_mode,switchover_status from v$database; NAME OPEN_MODE SWITCHOVER_STATUS PROD1 READ WRITE TO STANDBY SQL> 阅读全文
posted @ 2019-09-21 23:27 orcl 阅读(2618) 评论(0) 推荐(0) 编辑
摘要: MySQL 5.7 主主复制配置 一、简介: MySQL主主复制其实就是两个MySQL主从复制组合到一起,接着我的上一篇博客《centos 7 配置 mysql 5.7 主从复制》配置即可。 二、配置主从复制 主库:192.168.12.3 从库:192.168.12.2 1. 主库从库所在服务器关 阅读全文
posted @ 2019-09-10 23:32 orcl 阅读(1356) 评论(0) 推荐(0) 编辑