Link to home
Start Free TrialLog in
Avatar of DBFan
DBFan

asked on

How to prevent system tablespace fragmentation when using Oracle Audit?

Hi All,

I plan to use Oracle Audit function to monitor the tables being updated or deleted. (Set Audit_trail=DB in initialaztion file).

Since the Aud$ table is stored in system tablespace, frequently truncating  the Aud$ table will cause system tablespace fragmentation and performance degrade.

Can anyone tell me how to  prevent this problem?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of mattia
mattia

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of DBFan
DBFan

ASKER

Mattia,

I use Oracle 8.0.6.  Alter table sys.aud$ move tablespace <new tablespace name> is not a valid command.  Can you check it for me?

Thanks.

DBFan

Since you are using 8.0.6, you have to use the second option I mentioned above.

Moving tables between table spaces is supported in Oracle 8i (8.1.5 and later) only.

Hope this helps,
--M.A