Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Auditing
Let me bring the following to your attention:
Note:1019377.6: Script to move SYS.AUD$ table out of SYSTEM tablespace
Note:166301.1 : How to Reorganize SYS.AUD$ Table
Note:73408.1 : How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$
bug 531557 : TRIGGER ON AUD$ CAUSES CORE DUMPS
Here is what the script header says:
bstract
Move SYS.AUD$ out of the SYSTEM tablespace
Product Name, Product Version
Oracle Server Enterprise Edition
Versions 8.1.7 , 9.0.1 and 9.2.0.
Platform Generic Date Created 29-OKT-2002
Instructions
Use sqlplus, connect as SYSDBA, do not use reserved words as AUDIT for tablespace as in the example.
You should be aware that moving AUD$ out of SYSTEM tablespace is *not* a supported procedure. Oracle does not support changing ownership of AUD$, or any triggers on it. For a complete discussion on this topic see <Note 72460.1>
PROOFREAD THIS SCRIPT BEFORE USING IT! Due to differences in the way text editors, e-mail packages, and operating systems handle text formatting (spaces, tabs, and carriage returns), this script may not be in an executable state when you first receive it. Check over the script to ensure that errors of this type are corrected.
ET ECHO off
REM NAME: TFSAUDMV.SQL
REM USAGE:"@path/tfsaudmv.sql"
REM --------------------------------------------------------------------------REM REQUIREMENTS:
REM -------------------------------------------------------------------------- REM AUTHOR: REM Scott Gossett REM --------------------------------------------------------------------------REM PURPOSE:
REM ---------------------------------------------------------------------------REM EXPLANATION:
REM ---------------------------------------------------------------------------REM DISCLAIMER:
REM --------------------------------------------------------------------------REM Main text of script fol
Given the author of the script, I'd think that it's OK to use it.
On 02/27/2004 02:20:44 PM, Pete Finnigan wrote:
> Hi,
>
> Oracle used to sanction moving aud$ and then they didn't sanction it
> anymore. Not sure what they current view on moving it is - probably best
> to simply ask. This was discussed on comp.databases.oracle.server last
> year 8/9/03 and this is what i answered then if it helps:
>
> <quote>
>
> You mention moving sys.aud$ to another tablespace, whilst this is common
> sense Oracle no longer support doing this as some poor customer could
> not recover when this had been done. I don't believe Oracle have changed
> advice on this as yet. There is a note on Metalink about it. The
> solution if it is moved is probably to switch audit off whilst
> recovering. Jonathan discussed the following with me some time back:
>
> <snip>
> I haven't done any tests on the theory - it was just
> a surmise that when the complainant was trying recovery,
> they needed to recover the tablespace with the aud$ table
> in it, but were running with audit on, so the recovery
> processes couldn't log themselves until after the recovery
> had completed.
> </snip>
>
> kind regards
>
> Pete
> <quote>
>
> The snip section was Jonathan Lewis's thoughts on this to me.
>
> hth
>
> kind regards
>
> Pete
> --
> Pete Finnigan
> email:pete_at_petefinnigan.com
> Web site: http://www.petefinnigan.com - Oracle security audit specialists
> Book:Oracle security step-by-step Guide - see http://store.sans.org for details.
>
> ----------------------------------------------------------------
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> ----------------------------------------------------------------
> To unsubscribe send email to: oracle-l-request_at_freelists.org
> put 'unsubscribe' in the subject line.
> --
> Archives are at http://www.freelists.org/archives/oracle-l/
> FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
> -----------------------------------------------------------------
>
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Feb 27 2004 - 15:44:31 CST
![]() |
![]() |