My Oracle Support Banner

Data Guard Physical Standby - Managing temporary tablespace tempfiles (Doc ID 1514588.1)

Last updated on AUGUST 21, 2023

Applies to:

Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.


The management of temporary tablespaces and tempfiles in an environment where you want to maintain a consistent configuration across the Primary and Standby sites.

The addition of temporary files to TEMP tablespaces in the primary site is not handled automatically through the normal redo apply mechanisms in the same way as regular datafiles if the parameter standby_file_management is set to AUTO.  The DBA must manually synchronized the primary and standby tempfile configuration if they require both the sites to be the same.

Note: tempfiles are established during an RMAN duplicate operation, this document details the process for managing tempfiles that are added to environments only after the standby has been built and is running.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 For the purposes of this document, the following fictitious environment is used as an example to describe the procedure:
 Administering the addition of a tempfile to an existing temporary tablespace in the Primary and Standby sites
 1. Add the temp file in the primary
 2. The tempfile will NOT automatically be created in the physical standby.
 3. Tempfiles will not be created as a part of the switchover or failover process
 4. You must add the new tempfile to the new primary site manually after the switchover is complete.  This will ensure you maintain the same tempfile structures across the Primary and Standby sites.
 5. If a tempfile is added to the Primary and the standby site is OPEN READ ONLY you can add the new temp file manually to the Standby even if no switchover has been performed.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.