Re: Oracle XE Corruption

  • From: Alisher Yuldashev <yuldashev@xxxxxxxxxxx>
  • To: jepettrey@xxxxxxxxx
  • Date: Tue, 24 Aug 2010 15:27:57 -0400


Check MOS Note 375401.1. It's very safe to recreate the index. You can find the DDL commands in the note. Usually the table doesn't have more than 14400 rows. I don't think the index recreation process will take more than 1 minute.


Alisher Yuldashev
Senior Oracle DBA

On 8/24/2010 1:31 PM, Evan Pettrey wrote:

Hello all,

I’ve just taken a job as a sys admin with a company who uses an Oracle XE database on one of their production machines and it is exceptionally important for me to limit downtime.

Immediately upon taking the position I setup backups and an alerting system. Well yesterday I started getting an alert that their Oracle DB server was running out of space. After further investigation I learned that one of their bdump trace files was growing at a rate of nearly 1GB a day. At this rate, the hard drive will run out of space sometime in the next few days.

As such, I began poking around to see why this trace log was growing so fast and so large. By looking through the log I was able to determine that the error was with Object ID 576 and has existed since at least January (I’ve only been here a few weeks).

I checked to see what object 576 was and determined that it is:

SQL> select object_name, object_type from dba_objects where object_id = 576;






Since the corruption has been around since at least January, restoring the database from a backup really isn’t option...this object index needs to be rebuilt.

I know I can rebuild the object by running:

alter index smon_scn_time_tim_idx rebuild;

However I’m not sure that this will actually resolve the issue fully and I can’t afford to create other problems in the process, leading to the database not being functional after working on it. The database apparently takes around 30 minutes to bring back up after it has been shutdown so I don’t want to have to do this more than once.

I’m not a DBA and am a little lost at this point in time. A previous co-worker of mine suggested this would be a good place to see help since Oracle XE isn’t supported by Oracle and I don’t have a metalink account. If anybody could help me out I would greatly appreciate it.

Thanks in advance.



Other related posts: