Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Move table sys.aud$ to another tablespace

Re: Move table sys.aud$ to another tablespace

From: sybrandb <sybrandb_at_gmail.com>
Date: 4 Aug 2006 06:28:33 -0700
Message-ID: <1154698113.699585.33360@m73g2000cwd.googlegroups.com>

emdproduction_at_hotmail.com wrote:
> In metalink, there is an article talking about moving sys.aud$ to
> another tablespace.
>
> 1)create tablespace "AUDIT" datafile '$HOME/data/aud01.dbf' size 500k
> default storage (initial 100k next 100k pctincrease 0)
>
> 2)create table audx tablespace "AUDIT" storage (initial 50k next 50k
> pctincrease 0) as select * from aud$ where 1 = 2
>
> 3) rename AUD$ to AUD$$
>
> 4)rename audx to aud$
>
> 5)create index i_aud2
> on aud$(sessionid, ses$tid)
> tablespace "AUDIT" storage(initial 50k next 50k pctincrease 0)
>
> Can't we just do "alter table AUD$ move tablespace"???
>
> Anything wrong with doing alter table stetement on sys.AUD$ table?

Hopefully you did read the article carefully. Oracle doesn't support moving sys.AUD$.

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Fri Aug 04 2006 - 08:28:33 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US