标签云
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 2131 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)
- 操作系统 (102)
- 数据库 (1,671)
- DB2 (22)
- MySQL (73)
- Oracle (1,533)
- Data Guard (52)
- EXADATA (8)
- GoldenGate (21)
- ORA-xxxxx (159)
- ORACLE 12C (72)
- ORACLE 18C (6)
- ORACLE 19C (14)
- ORACLE 21C (3)
- Oracle 23ai (7)
- Oracle ASM (65)
- Oracle Bug (8)
- Oracle RAC (52)
- Oracle 安全 (6)
- Oracle 开发 (28)
- Oracle 监听 (28)
- Oracle备份恢复 (560)
- Oracle安装升级 (92)
- Oracle性能优化 (62)
- 专题索引 (5)
- 勒索恢复 (78)
- PostgreSQL (18)
- PostgreSQL恢复 (6)
- SQL Server (27)
- SQL Server恢复 (8)
- TimesTen (7)
- 达梦数据库 (2)
- 生活娱乐 (2)
- 至理名言 (11)
- 虚拟化 (2)
- VMware (2)
- 软件开发 (37)
- Asp.Net (9)
- JavaScript (12)
- PHP (2)
- 小工具 (20)
-
最近发表
- Kylin Linux 安装19c
- ORA-600 krse_arc_complete.4
- Oracle 19c 202410补丁(RUs+OJVM)
- ntfs MFT损坏(ntfs文件系统故障)导致oracle异常恢复
- .mkp扩展名oracle数据文件加密恢复
- 清空redo,导致ORA-27048: skgfifi: file header information is invalid
- A_H_README_TO_RECOVER勒索恢复
- 通过alert日志分析客户自行对一个数据库恢复的来龙去脉和点评
- ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的SERVICE_NAME
- ORA-01092 ORA-00604 ORA-01558故障处理
- ORA-65088: database open should be retried
- Oracle 19c异常恢复—ORA-01209/ORA-65088
- ORA-600 16703故障再现
- 数据库启动报ORA-27102 OSD-00026 O/S-Error: (OS 1455)
- .[metro777@cock.li].Elbie勒索病毒加密数据库恢复
- 应用连接错误,初始化mysql数据库恢复
- RAC默认服务配置优先节点
- Oracle 19c RAC 替换私网操作
- 监听报TNS-12541 TNS-12560 TNS-00511错误
- drop tablespace xxx including contents恢复
标签归档:ORA-600 2252
记录一次ORA-00600[2252]故障解决
数据库alert日志报ORA-00600[2252]
Wed Jun 06 08:56:02 2012 Thread 1 cannot allocate new log, sequence 552 Checkpoint not complete Current log# 1 seq# 551 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO01.LOG Thread 1 advanced to log sequence 552 Current log# 2 seq# 552 mem# 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG Sun Jun 06 09:39:19 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_3344.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076554712], [], [], [], [], [] Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_3344.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076554712], [], [], [], [], [] Sun Jun 06 10:19:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_4904.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555573], [], [], [], [], [] Sun Jun 06 10:20:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_5984.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555594], [], [], [], [], [] Sun Jun 06 10:21:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_4204.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555614], [], [], [], [], [] Sun Jun 06 10:22:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_5896.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555634], [], [], [], [], [] Sun Jun 06 10:23:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_4612.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555654], [], [], [], [], [] Sun Jun 06 10:24:49 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_4696.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555676], [], [], [], [], [] Sun Jun 06 10:25:50 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_5568.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555696], [], [], [], [], [] Sun Jun 06 10:26:50 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m000_5776.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076555716], [], [], [], [], [] --启动数据库 Mon Jun 07 09:18:39 2010 Starting ORACLE instance (normal) LICENSE_MAX_SESSION = 0 LICENSE_SESSIONS_WARNING = 0 Mon Jun 07 09:18:49 2010 Picked latch-free SCN scheme 2 Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST Autotune of undo retention is turned on. IMODE=BR ILAT =18 LICENSE_MAX_USERS = 0 SYS auditing is disabled ksdpec: called for event 13740 prior to event group initialization Starting up ORACLE RDBMS Version: 10.2.0.1.0. System parameters with non-default values: processes = 150 __shared_pool_size = 100663296 __large_pool_size = 12582912 __java_pool_size = 4194304 __streams_pool_size = 0 spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORCL.ORA nls_language = SIMPLIFIED CHINESE nls_territory = CHINA sga_target = 452984832 control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL db_block_size = 8192 __db_cache_size = 327155712 compatible = 10.2.0.1.0 db_file_multiblock_read_count= 16 db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area db_recovery_file_dest_size= 2147483648 undo_management = AUTO undo_tablespace = UNDOTBS1 remote_login_passwordfile= EXCLUSIVE db_domain = dispatchers = (protocol=TCP) shared_servers = 1 job_queue_processes = 10 audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP db_name = orcl open_cursors = 300 pga_aggregate_target = 149946368 PSP0 started with pid=3, OS id=3028 MMAN started with pid=4, OS id=3528 PMON started with pid=2, OS id=2772 DBW0 started with pid=5, OS id=816 CKPT started with pid=7, OS id=3372 SMON started with pid=8, OS id=2584 RECO started with pid=9, OS id=3976 CJQ0 started with pid=10, OS id=1912 MMON started with pid=11, OS id=624 Mon Jun 07 09:19:00 2010 starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'... MMNL started with pid=12, OS id=2696 Mon Jun 07 09:19:00 2010 starting up 1 shared server(s) ... LGWR started with pid=6, OS id=3128 Mon Jun 07 09:19:04 2010 alter database mount exclusive Mon Jun 07 09:19:09 2010 Setting recovery target incarnation to 2 Mon Jun 07 09:19:10 2010 Successful mount of redo thread 1, with mount id 1248834568 Mon Jun 07 09:19:10 2010 Database mounted in Exclusive Mode Completed: alter database mount exclusive Mon Jun 07 09:19:10 2010 alter database open Mon Jun 07 09:19:15 2010 Beginning crash recovery of 1 threads parallel recovery started with 2 processes Mon Jun 07 09:19:18 2010 Started redo scan Mon Jun 07 09:19:19 2010 Completed redo scan 13 redo blocks read, 7 data blocks need recovery Mon Jun 07 09:19:20 2010 Started redo application at Thread 1: logseq 552, block 28631 Mon Jun 07 09:19:20 2010 Recovery of Online Redo Log: Thread 1 Group 2 Seq 552 Reading mem 0 Mem# 0 errs 0: D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\REDO02.LOG Mon Jun 07 09:19:20 2010 Completed redo application Mon Jun 07 09:19:20 2010 Completed crash recovery at Thread 1: logseq 552, block 28644, scn 12176013920948 7 data blocks read, 7 data blocks written, 13 redo blocks read Mon Jun 07 09:19:28 2010 Errors in file d:\oracle\product\10.2.0\admin\orcl\udump\orcl_ora_2688.trc: ORA-00600: 内部错误代码, 参数: [2252], [2834], [4076604085], [], [], [], [], []
通过这些日志可以看出数据库一直在报ORA-00600[2252],在后来因某种原因数据库异常重启后启动不了.仔细观察可以发现系统显示的时间是2010年6月7日和当前时间相差了整整两年.
At any point in time, the Oracle Database calculates a “not to exceed” limit for the number of SCNs a database can have used, based on the number of seconds elapsed since 1988, multiplied by 16,384. This is known as the database’s current maximum SCN limit. Doing this ensures that Oracle Databases will ration SCNs over time, allowing over 500 years of data processing for any Oracle Database.
错误原因
根据错误提示计算scn(2834为现在系统的SCN WRAP,4076604085就是BASE)=2834*2^32+4076604085=12176013920949
根据数据库日志显示系统时间计算最大scn值:
SQL>select to_number( ((to_date('20100607 09:19:28','yyyymmdd hh24:mi:ss')- 2 to_date('19880101','yyyymmdd'))*24*3600*16*1024),'999999999999999999') max_scn from dual; MAX_SCN -------------- 11598377254912
通过这里的计算可以知道数据库当前的SCN大于系统时间点上允许的最大时间的SCN,从而出现ORA-00600[2252]错误.
解决方法
知道了数据库报该错误的原因,那么解决该问题很简单,修改系统时间到正确的时间点即可
SQL> select to_number(((sysdate-to_date('19880101','yyyymmdd'))*24*3600*16*1024), 2 '999999999999999999') max_scn from dual; MAX_SCN -------------- 12634899464192
该SCN大于数据库当前SCN所有数据库不会报ORA-00600[2252]错误可以正常启动.