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: Cannot Add Temp Tablespace to Standby Database

Re: Cannot Add Temp Tablespace to Standby Database

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Tue, 02 Jul 2002 18:14:57 +0100
Message-ID: <3D21DF91.2A48@yahoo.com>


Steven wrote:
>
> Hi,
>
> I'm using Oracle 8.1.6 with solaris 2.7 and I am attempting to add a temp
> tablespace to my standby database as described in the oracle documentation.
> I use this command:
>
> CREATE TEMPORARY TABLESPACE tbs_1 TEMPFILE 'file_1.f'
> EXTENT MANAGEMENT LOCAL UNIFORM SIZE 16M;
>
> However, I always get the error message:
>
> ORA-00372: file 1 cannot be modified at this time
> ORA-01110: database file 1: 'system.tbs'
>
> Well it makes sense somehow as the standby database is in read only mode.
> But in that case how can I add my temporary table??
>
> Anyone know how to do this?
>
> Thanks for any help,
> Steve.

The tablespace should exist already (in the master and hence the standby). You then use the 'ADD TEMPFILE' clause

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Tue Jul 02 2002 - 12:14:57 CDT

Original text of this message

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