Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
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…

824 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