Solved

Auditing in Oracle with aud$, system tablespace fragmentation issues?

Posted on 2004-10-06
5
936 Views
Last Modified: 2006-11-17
When auditing in Oracle using aud$ (audit_trail = db), I am concerned about system tablespace fragmentation.  There will be a few thousand $aud entries per day on the average database (with pretty limited auditing).

I will be:

(1)
Offloading into text files or exporting the contents of the $aud table regularly.

(2)
Truncating weekly or nightly.

I will follow Oracle's strict instructions to not move $aud into another tablespace despite the recommendations of a an Oracle author.  I'll do audit_trail=os before doing that.

Thank you.
0
Comment
Question by:rebnesin
  • 2
5 Comments
 

Author Comment

by:rebnesin
ID: 12238746
Should I have any reason to be concerned over messing with the system tablespace in this way?  My instinct is a clear no, but I'm very open to hear others' concerns and experience with this, after all, it is the system tablespace!  Thanks again.
0
 
LVL 7

Accepted Solution

by:
BobMc earned 500 total points
ID: 12244129
As long as you have regular housekeeping in place it shouldnt be a problem.

If you are using later versions of Oracle, consider using locally managed tablespace with uniform extent sizes, and all your tablespace fragmentation problems disappear.

Failing that, truncate the table, and set the next extent to be enough to cope with a week or so worth of auditing. and manually allocate an extent - if you do this in one script, then its almost certain that you will get the same piece of tablespace back each time.

There are probably thousands of database out there where AUD$ has been moved, that work without a problem, but as you say, its not supported, so I wouldnt move it.

HTH
Bob
0
 

Author Comment

by:rebnesin
ID: 12442951
How does one choose to close a question and split points?
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question