千家信息网

bootstrap$你太特别了~

发表于:2025-02-05 作者:千家信息网编辑
千家信息网最后更新 2025年02月05日,一、说明Oracle数据库有一个很特殊的基表,你可以把它删除了delete from bootstrap$;特点:1、基表(数据字典表)2、删除数据后,几乎无法发现。3、数据库重启后报错,无法启动。4
千家信息网最后更新 2025年02月05日bootstrap$你太特别了~

一、说明
Oracle数据库有一个很特殊的基表,你可以把它删除了delete from bootstrap$;
特点:
1、基表(数据字典表)
2、删除数据后,几乎无法发现。
3、数据库重启后报错,无法启动。
4、非业务数据,不会丢失数据。
5、没道德没底线的的DBA,给下一任挖坑用。

二、现象
SQL> select count(*) from bootstrap$;

结果为:0
此事数据库可以正常运行,不影响业务。

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>
SQL> startup
ORACLE instance started.

Total System Global Area 3089920000 bytes
Fixed Size 2257232 bytes
Variable Size 654315184 bytes
Database Buffers 2415919104 bytes
Redo Buffers 17428480 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00704: bootstrap process failure
ORA-00702: bootstrap verison '' inconsistent with version '8.0.0.0.0'
Process ID: 13563
Session ID: 572 Serial number: 3

SQL>

处理方法:使用BBED对块进行copy,因为不涉及到业务数据,所以不会造成数据丢失。具体恢复方法可以联系我。

0