摘要: 原文:http://blog.itpub.net/9240380/viewspace-666622/ SQL> declare 2 v_sid v$session.sid%type; --定义如下两个type类型,用于接收cursorv_serial# v$session.serial#%type; 阅读全文
posted @ 2018-08-02 11:25 颩~ 阅读(1188) 评论(0) 推荐(0)
摘要: Logminer依赖于2个包:DBMS_LOGMNR和DBMS_LOGMNR_D,Oracle 11g默认已安装 Logminer 基本使用步骤 <1>. Specify a LogMiner dictionary. 指定Logminer字典 <2>. Specify a list of redo 阅读全文
posted @ 2018-07-06 14:27 颩~ 阅读(1632) 评论(0) 推荐(2)
摘要: 早上查看数据库alert日志,发现如下ORA-报错: kgxpvfynet: mtype: 61 process 6460 failed because of a resource problem in the OS. The OS has most likely run out of buffer 阅读全文
posted @ 2018-06-21 18:00 颩~ 阅读(1375) 评论(0) 推荐(0)
摘要: Win 10安装11g 客户端条件检查失败,[INS-30131] 执行安装程序验证所需的初始设置失败。无法从节点 "desktop-njm3a7m" 检索 exectask 的版本 解决方法:以管理员身份打开命令行,输入:net share c$=c:/ /grant:everyone,full 阅读全文
posted @ 2018-06-20 14:27 颩~ 阅读(3069) 评论(0) 推荐(0)
摘要: 使用DBNEWID Utility 工具可以同时修改数据库名、DBID,也可以只修改其中一项 官方参考: https://docs.oracle.com/cd/E11882_01/server.112/e22490/dbnewid.htm#SUTIL014 一、同时修改db name 和 dbid 阅读全文
posted @ 2018-06-05 15:37 颩~ 阅读(397) 评论(1) 推荐(0)
摘要: 情景:利用Dataguard滚动方式升级数据库后,备库应用redo报错:ORA-10485 MRP0: Background Media Recovery terminated with error 10485Errors in file /home/u01/app/diag/rdbms/orcl1 阅读全文
posted @ 2018-05-23 10:04 颩~ 阅读(857) 评论(0) 推荐(0)
摘要: 情景: Dataguard 物理备库执行恢复报错: Errors in file /home/u01/app/diag/rdbms/rzorcl11g/ORCL/trace/ORCL_pr00_35893.trc:ORA-01111: name for data file 20 is unknown 阅读全文
posted @ 2018-05-21 16:01 颩~ 阅读(788) 评论(0) 推荐(0)
摘要: 随着Linux 7 版本的普及,但Oracle数据库主流版本仍是11gR2,11.2.0.4 是生产安装首选。由于11.2.0.4对Linux 7 的支持不很完美,在Linux 7 上安装会遇到几处问题,以此记录下来。 https://docs.oracle.com/cd/E11882_01/rel 阅读全文
posted @ 2018-04-19 15:29 颩~ 阅读(1704) 评论(3) 推荐(0)
摘要: Oracle 安装时官方建议关闭Linux的透明大页,防止内存延迟分配导致的性能问题 https://docs.oracle.com/cd/E11882_01/install.112/e47689/pre_install.htm#LADBI1519 MOS:ID 1557478.1 Because 阅读全文
posted @ 2018-04-12 10:28 颩~ 阅读(1250) 评论(0) 推荐(0)
摘要: 将普通表格转化分区表的方法大致有四种: A. 通过 Export/import 方法B. 通过 Insert with a subquery 方法C. 通过 Partition Exchange 方法D. 通过 DBMS_REDEFINITION 方法 下面举例使用DBMS_REDEFINITION 阅读全文
posted @ 2018-04-03 17:26 颩~ 阅读(330) 评论(1) 推荐(1)