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

Home -> Community -> Mailing Lists -> Oracle-L -> Drop & recreate temp tablespace while creating logical stby db

Drop & recreate temp tablespace while creating logical stby db

From: <jaysingh1_at_optonline.net>
Date: Mon, 12 Jul 2004 09:29:57 -0400
Message-id: <1da82b81da45d7.1da45d71da82b8@optonline.net>


Dear List,

Is there any particular reason why do we have to drop and recreate temporary tablespace while creating logical stby db?

The document says as below..

4.2.16 Create a New Temporary File for the Logical Standby Database The temporary files, which were included as a part of the closed backup operation on the primary database, are not viable on the logical standby database. (It is not necessary to copy temporary files from the primary database to the logical standby database.)

To identify and drop obsolete temporary files, perform the following steps on the logical standby database.

Step 1 Identify the current temporary files. On the logical standby database, issue the following query to identify the current temporary files for the standby database:

SQL> SELECT * FROM V$TEMPFILE;
no rows selected

If this query returns "no rows selected" as shown in the example, skip step 2 and go to step 3.

Step 2 Drop each current temporary file from the standby database. Drop each current temporary file from the standby database, as follows:

SQL> ALTER DATABASE TEMPFILE 'tempfilename' DROP;



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
Received on Mon Jul 12 2004 - 08:27:03 CDT

Original text of this message

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