Solved

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

Posted on 2004-10-06
5
928 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now