标签云
asm 恢复 asm恢复 bbed bootstrap$ dul In Memory kcbzib_kcrsds_1 kccpb_sanity_check_2 kfed MySQL恢复 ORA-00312 ORA-00607 ORA-00704 ORA-01110 ORA-01555 ORA-01578 ORA-08103 ORA-600 2662 ORA-600 2663 ORA-600 3020 ORA-600 4000 ORA-600 4137 ORA-600 4193 ORA-600 4194 ORA-600 16703 ORA-600 kcbzib_kcrsds_1 ORA-600 KCLCHKBLK_4 ORA-15042 ORA-15196 ORACLE 12C oracle dul ORACLE PATCH Oracle Recovery Tools oracle加密恢复 oracle勒索 oracle勒索恢复 oracle异常恢复 ORACLE恢复 Oracle 恢复 ORACLE数据库恢复 oracle 比特币 OSD-04016 YOUR FILES ARE ENCRYPTED 勒索恢复 比特币加密文章分类
- Others (2)
- 中间件 (2)
- WebLogic (2)
- 操作系统 (100)
- 数据库 (1,597)
- DB2 (22)
- MySQL (70)
- Oracle (1,463)
- Data Guard (49)
- EXADATA (7)
- GoldenGate (21)
- ORA-xxxxx (158)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (13)
- ORACLE 21C (3)
- Oracle ASM (65)
- Oracle Bug (7)
- Oracle RAC (47)
- Oracle 安全 (6)
- Oracle 开发 (27)
- Oracle 监听 (27)
- Oracle备份恢复 (530)
- Oracle安装升级 (84)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (75)
- PostgreSQL (17)
- PostgreSQL恢复 (5)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (36)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (19)
-
最近发表
- Oracle 19c/21c最新patch信息-202404
- PostgreSQL恢复系列:pg_filedump批量处理
- PostgreSQL部分主要字典信息
- PostgreSQL恢复系列:pg_filedump恢复字典构造
- PostgreSQL 16 源码安装
- ORA-00742 ORA-00312 恢复
- 数据库open成功后报ORA-00353 ORA-00354错误引起的一系列问题(本质ntfs文件系统异常)
- ORA-600 ktsiseginfo1故障
- ORA-00600: internal error code, arguments: [16703], [1403], [4] 原因
- 最近遇到几起ORA-600 16703故障(tab$被清空),请引起重视
- ORA-600 2662快速恢复之Patch scn工具
- TNS-12518: TNS:listener could not hand off client connection
- ora.storage无法启动报ORA-12514故障处理
- 断电引起文件scn异常数据库恢复
- ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
- .[hudsonL@cock.li].mkp勒索加密数据库完美恢复
- 模拟带库实现rman远程备份
- 又一例:ORA-600 kclchkblk_4和2662故障
- Oracle误删除数据文件恢复
- Oracle 19C 备库DML重定向—DML Redirection
月归档:十月 2012
类此9430ms (rw) file: kct.c line: 7800 count: 13 total: 26874ms time: 1296124原因分析
ckpt进程的trace文件中出现类似:9430ms (rw) file: kct.c line: 7800 count: 13 total: 26874ms time: 1296124
ckpt进程的trace文件中报如下错误
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options ORACLE_HOME = /oradb/11.2.0/db System name: AIX Node name: offondb2 Release: 1 Version: 6 Machine: 00CC83664C00 Instance name: offon2 Redo thread mounted by this instance: 2 Oracle process number: 20 Unix process pid: 19660878, image: oracle@offondb2 (CKPT) *** 2012-10-26 13:25:00.971 1: 9430ms (rw) file: kct.c line: 7800 count: 13 total: 26874ms time: 1296124 2: 1777ms (rw) file: krse.c line: 1800 count: 164 total: 122140ms time: 364176 3: 1450ms (rw) file: kct.c line: 1011 count: 1 total: 1450ms time: 1594117 4: 1230ms (rw) file: kcrf.c line: 10012 count: 135 total: 90995ms time: 2630737 5: 1173ms (ro) file: kcrr.c line: 3525 count: 13 total: 8842ms time: 3645916 6: 890ms (rw) file: kcrf.c line: 9959 count: 8 total: 4812ms time: 3578222 7: 830ms (ro) file: kcf.c line: 5306 count: 1 total: 830ms time: 1594116 8: 677ms (rw) file: kcv.c line: 11783 count: 8 total: 4499ms time: 416869 Control file enqueue hold time tracking dump at time: 2092019 *** 2012-10-26 15:25:14.789 1: 9430ms (rw) file: kct.c line: 7800 count: 13 total: 26874ms time: 1296124 2: 1777ms (rw) file: krse.c line: 1800 count: 165 total: 122832ms time: 364176 3: 1450ms (rw) file: kct.c line: 1011 count: 1 total: 1450ms time: 1594117 4: 1230ms (rw) file: kcrf.c line: 10012 count: 135 total: 90995ms time: 2630737 5: 1173ms (ro) file: kcrr.c line: 3525 count: 13 total: 8842ms time: 3645916 6: 890ms (rw) file: kcrf.c line: 9959 count: 8 total: 4812ms time: 3578222 7: 830ms (ro) file: kcf.c line: 5306 count: 1 total: 830ms time: 1594116 8: 677ms (rw) file: kcv.c line: 11783 count: 8 total: 4499ms time: 416869
原因分析并解决
New controlfile enqueue hold time tracking statistics have been added in 11.2 to aid diagnosis of controlfile transaction related performance related issues. To disable the trace set _controlfile_enqueue_holding_time_tracking_size to 0: - spfile alter system set "_controlfile_enqueue_holding_time_tracking_size"=0 scope=spfile; - pfile _controlfile_enqueue_holding_time_tracking_size=0 A database restart is required.
查询_controlfile_enqueue_holding_time_tracking_size
SQL> col name for a32 SQL> col value for a24 SQL> col description for a70 SQL> set linesize 150 SQL> select a.ksppinm name,b.ksppstvl value,a.ksppdesc description 2 from x$ksppi a,x$ksppcv b 3 where a.inst_id = USERENV ('Instance') 4 and b.inst_id = USERENV ('Instance') 5 and a.indx = b.indx 6 and upper(a.ksppinm) LIKE upper('%¶m%') 7 order by name 8 / Enter value for param: _controlfile_enqueue_holding_time_tracking_size old 6: and upper(a.ksppinm) LIKE upper('%¶m%') new 6: and upper(a.ksppinm) LIKE upper('%_controlfile_enqueue_holding_time_tracking_size%') </strong> NAME VALUE DESCRIPTION -------------------------------- ---------- ------------------------------------------------ _controlfile_enqueue_holding_tim 10 control file enqueue holding time tracking size e_tracking_size
补充MOS说明[791417.1]
New controlfile enqueue hold time tracking statistics have been added in 11.2 to aid diagnosis of controlfile transaction related performance related issues: Control File Enqueue AWR Statistics: max cf enq hold time - The maximum amount of time in milliseconds a client has held the control file enqueue. total cf enq hold time - The total amount of time in milliseconds all clients have held the control file enqueue. total number of cf enq holders - The total number of times clients have held the control file enqueue. Periodically, the CKPT process dumps statistics for the top N control file enqueue holders. N defaults to 10, but can be modified with the static hidden parameter: _controlfile_enqueue_holding_time_tracking_size.The dump looks like the following: Preface: "Control file enqueue hold time tracking dump at time: [relative time]". a. Time the client has held the control file enqueue. b. Type of client's control file enqueue transaction - rw or ro. c. File name where the client obtained control file enqueue. d. Line number where the client obtained control file enqueue. e. Number of times the client has held the control file enqueue since it became a member of the top N. f. Total time the client has held the control file in all those times from [e]. g. Relative time the client obtained the control file enqueue from [a].
发表在 Oracle
评论关闭
rman备份出现ORA-19625/ORA-27054解决
RAC环境NFS挂载归档日志使用rman备份出现ORA-19625/ORA-27054错误分析
系统运行环境
OS:AIX 6100-06 DB:11.1.0.6.0 RAC 归档:挂载NFS
rman执行archive log时候报错
sql statement: alter system archive log current Starting backup at 25-OCT-11 current log archived released channel: c1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup command at 02/17/2012 13:03:51 RMAN-06059: expected archived log not found, lost of archived log compromises recoverability ORA-19625: error identifying file /rarchlogA/1_13775_764866137.dbf ORA-27054: NFS file system where the file is created or resides is not mounted with correct options Additional information: 6
这里由于RAC存放归档使用了NFS文件系统,在使用rman备份归档日志执行alter system archive log current的时候发生如下错误.
相关目录挂载情况
$ df -g Filesystem GB blocks Free %Used Iused %Iused Mounted on ………… /dev/lv_arch 50.00 43.24 14% 166 1% /arch1 oradb2:/arch2 50.00 35.31 30% 463 1% /arch2 /dev/baklv 90.00 83.82 7% 10 1% /backup $ mount: ………… /dev/lv_oracle /oracle jfs2 Oct 14 11:27 rw,log=/dev8 /dev/lv_arch /arch1 jfs2 Oct 14 11:27 rw,log=/dev8 oradb2 /arch2 /arch2 nfs3 Oct 14 11:47
通过这里可以知道,这里使用默认的参数挂载NFS,从而使得NFS在rman工作时候不能正常工作。
错误原因
From Oracle 10G R2 , Oracle checks the options with which a NFS mount is mounted on the filesystem. and this is done to ensure that no corruption of the database can happen as incorrectly mounted NFS volumes can result in data corruption. There are no single set of NFS mount options that work across all Oracle platforms Please ensure that you have the proper mount options specified by the NAS vendor /Vendor user guide The exact checks used for an NFS mounted disk vary between platforms but in general the basic checks will include the following checks a) The mount table (eg; /etc/mnttab) can be read to check the mount options b) The NFS mount is mounted with the "hard" option c) The mount options include rsize>=32768 and wsize>=32768 d) For RAC environments, where NFS disks are supported, the "noac" mount option is used.
解决方案
1.临时解决方案
As suggested in the bug the workaround recommended is to use the Event 10298.
alter system set events ’10298 trace name context forever, level 32′;
2.永久解决方案
具体见://www.xifenfei.com/3269.html
发表在 ORA-xxxxx
评论关闭
ORACLE 11.2.0.3 生成awr html文件报SYS.DBMS_WORKLOAD_REPOSITORY异常
在想分析数据库性能的关键时刻,突然发现awr不能正常的工作,那就和你上了战场突然发现枪没有子弹一样的郁闷,今天就遇到了11.2.0.3在win的环境中awr生成html不能正常工作.通过查询mos发现该问题出现在各种平台中(win,linux,aix等),提醒大家注意该问题.
数据库版本
SQL> SELECT * FROM V$VERSION; BANNER ------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production PL/SQL Release 11.2.0.3.0 - Production CORE 11.2.0.3.0 Production TNS for 32-bit Windows: Version 11.2.0.3.0 - Production NLSRTL Version 11.2.0.3.0 - Production
awr报错(html)
SQL> @?/rdbms/admin/awrrpt.sql ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小 ORA-06512: 在 "SYS.DBMS_WORKLOAD_REPOSITORY", line 919 ORA-06512: 在 line 1
设置errorstack
SQL> alter session set events '6502 trace name errorstack level 12'; 会话已更改。
分析错误
----- Error Stack Dump ----- ORA-06502: PL/SQL: 数字或值错误 : 字符串缓冲区太小 ----- Current SQL Statement for this session (sql_id=572fbaj0fdw2b) ----- select output from table(dbms_workload_repository.awr_report_html( :dbid, :inst_num, :bid, :eid, :rpt_options )) ----- PL/SQL Call Stack ----- object line object handle number name 94348684 919 package body SYS.DBMS_WORKLOAD_REPOSITORY 983BAD54 1 anonymous block ----- Call Stack Trace ----- _skdstdst()+121 CALLrel _kgdsdst() 19D99520 2 _ksedst1()+93 CALLrel _skdstdst() 19D99520 0 1 485816 4863B2 485816 _ksedst()+49 CALLrel _ksedst1() 0 1 _dbkedDefDump()+368 CALLrel _ksedst() 0 6 _ksedmp()+44 CALLrel _dbkedDefDump() C 0 _dbkdaKsdActDriver( CALLreg 00000000 C )+4209 …………
通过查询mos发现Bug 13575143一致,可以确定是该bug,但是通过进一步测试证明不光是awrrpt会出现该错误,awr的相关报告中,只要是展示html结果的都有可能出现类此错误(比如awrrpti.sql/awrddrpt.sql/awrddrpi.sql等等).同时这里通过进一步分析发现其实该bug的起源是Bug 6458801(REPLACE on a CLOB can corrupt multibyte data ID 6458801.8),不过该bug说明已经在11.2.0.1中修复,其实通过这里的分析发现并没有真正的在11.2.0.3中修复该bug,针对该问题没有官方没有提供较好解决方法,只能是用过WORKAROUND来临时解决
They are able to generate the AWR report in the .txt format