• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Oracle Data Guard – Tempfiles created at primary are not automatically created at standby

by admin

Question: You created a temporary datafile in the Primary database, but it did not get created in the Standby database. How to create tempfiles at standby node?

New tempfiles are not added automatically in the Physical Standby database because no redo is generated. Tempfiles in the Standby are only used when your Standby is opened in read-only mode.

When you add tempfiles in the Primary database, new tempfiles are not added automatically on the Physical Standby database because no redo is generated.

The tempfile auto-creation only kicks in when the Standby controlfile already contains the tempfile name.

You need to open the Physical Standby database in read-only mode. This allows you to add a temporary file.

SQL> alter database open read only.
SQL> alter tablespace temp add tempfile '[name]' size ..

Filed Under: Data Guard, oracle

Some more articles you might also be interested in …

  1. Script To Get Tablespace Utilization In Oracle Database 12c
  2. How to trace asmcmd command on UNIX/Linux
  3. Cron Script does not Execute as Expected from crontab – Troubleshoot
  4. How to Connect After ORA-20 has Occurred
  5. How to Drop/Truncate Multiple Partitions in Oracle 12C
  6. How To Recover From Lost SYS Password in Oracle Database
  7. How to Create and Drop Guaranteed restore point in Oracle Data Guard
  8. How to Create the Oracle Password File using orapwd Command
  9. How to Modify spfile in Oracle Database
  10. Automatic Undo Management and Oracle RAC

You May Also Like

Primary Sidebar

Recent Posts

  • qm Command Examples in Linux
  • qm wait Command Examples in Linux
  • qm start Command Examples in Linux
  • qm snapshot Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright