[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2004-10-06
5
Medium Priority
?
954 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
3 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 2000 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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

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

One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Blockchain technology enhances society similar to the Internet. Its effects are broad, disruptive, and will boost global productivity.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

608 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