RE: physical standby and temp datafiles

From: Lange, Kevin G <>
Date: Wed, 15 Jun 2011 13:19:02 -0500
Message-ID: <>

I have forgotten that step before when building a database from a standby. You get notified when they do not exist. Then, after building them , it all works fine.

-----Original Message-----
[] On Behalf Of Ray Stell Sent: Wednesday, June 15, 2011 12:30 PM
To: fmhabash
Subject: Re: physical standby and temp datafiles

On Wed, Jun 15, 2011 at 01:00:10PM -0400, fmhabash wrote:
> - every file in v$tempfile must physically exist on disk
> - If they are not, add them ...


No, I doubt that command would work, like I said, the standby "ha record" of the temp datafile, but the OS file does not exist:

SQL> select name, bytes from v$tempfile;


------------------------ ----------
/usr/database/db01/orada	  0


I suppose this makes sense since rman does not back these up and the standby was build from that backup:

SQL> host ls -l /usr/database/db01/oradata/db/temp01.dbf ls: /usr/database/db01/oradata/db/temp01.dbf: No such file or directory

It seems like data guard should/could make these files during the role change.


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

Received on Wed Jun 15 2011 - 13:19:02 CDT

Original text of this message