Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to make my audit files easier to read, I have audit trail configured as xml,extended. The problem is that if my server gets busy and reuses the pids - the logs are being appended to the same file.

I understand that there is a way to create a new file with suffixes if the audit file already exists. How can I do that? I use Oracle

share|improve this question
Is that – Leigh Riffel Feb 4 '11 at 15:52

There doesn't seem to be any reference to being able to directly manipulate the audit file names in 10g. The closest thing I found is Bug 6023472 which lists the following changes introduced in

  • OS/XML Audit filenames will have a filename format of the form: <InstanceName>_<ProcessName>_<ProcessID>_<SerialNo>.<Extension>
  • The default value for Max Audit FileSize is 1000KB and Max Audit File Age is 1 Day. This means that once one of these max limits are reached, the audit records will be written in a new audit file with same "<InstanceName>_<ProcessName>_<ProcessID>_" part, but with a new "<SerialNo>".

I'm not sure how Oracle assigns PIDs, but you could try increasing your PROCESSES parameter to see if that keeps it from re-using the values as quickly.

share|improve this answer
I hope this capability does exist and I just wasn't able to find it. – Leigh Riffel Feb 4 '11 at 15:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.