Check table aud$ before 10g upgrade

user-pic
Vote 0 Votes

Usually, it will take around 1 hour to finish the 10g upgrade from 9i, but this time, it took me more than 4 hours, that was amazing!

During the upgrade, I found the the EVENT: ‘db file scattered read’ from v$session_wait, and Oracle was updating table ‘aud$’:

UPDATE aud$
SET ntimestamp# = SYS_EXTRACT_UTC (CAST(timestamp# AS TIMESTAMP WITH TIME ZONE))
WHERE ntimestamp# IS NULL

I enabled auditing on this 9i database, which generated 2GB size of table aud$, and you may know that Oracle 10g addes many new features for auditing(you may check the table definition of aud$ between 9i and 10g), so it will also update table aud$ during the 10g upgrade.

So, you can use CTAS to backup table aud$ and then truncate it directly before 10g upgrade.

No TrackBacks

TrackBack URL: http://www.isoracle.com/mt/mt-tb.cgi/7

Leave a comment

About this Entry

This page contains a single entry by Joe Wang published on December 4, 2007 12:47 AM.

Rebuilding kernel and enable 'Soft Updates' for FreeBSD performance tuning was the previous entry in this blog.

Microsoft.com site architecture in brief is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.