• 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

Automatic Undo Management and Oracle RAC

by admin

Automatic Undo Management and RAC

The Oracle database automatically manages undo segments within a specific undo tablespace that is assigned to an instance. Under normal circumstances, only the instance assigned to the undo tablespace can modify the contents of that tablespace. However, all instances can always read all undo blocks for consistent-read purposes. Also, any instance can update any undo tablespace during transaction recovery, as long as that undo tablespace is not currently used by another instance for undo generation or transaction recovery.

You assign undo tablespaces in your Oracle RAC administrator-managed database by specifying a different value for the UNDO_TABLESPACE parameter for each instance in your SPFILE or individual PFILEs. For policy-managed databases, Oracle automatically allocates the undo tablespace when the instance starts if you have Oracle Managed Files enabled. You cannot simultaneously use automatic undo management and manual undo management in an Oracle RAC database. In other words, all instances of an Oracle RAC database must operate in the same undo mode.

You can dynamically switch undo tablespace assignments by executing the ALTER SYSTEM SET UNDO_TABLESPACE statement.

ALTER SYSTEM SET UNDO_TABLESPACE=undotbs3 SID='RAC01';

You can run this command from any instance. In the example above, the previously used undo tablespace assigned to the RAC01 instance remains assigned to it until RAC01’s last active transaction commits. The pending offline tablespace may be unavailable for other instances until all transactions against that tablespace are committed. You cannot simultaneously use Automatic Undo Management (AUM) and manual undo management in a RAC database. It is highly recommended that you use AUM.

Filed Under: oracle, oracle 12c, RAC

Some more articles you might also be interested in …

  1. How to Clone a Pluggable Database from an RMAN Container Database Backup
  2. How to duplicate a Oracle Database to a previous Incarnation
  3. Oracle Database Server Architecture: Overview
  4. How to Use real-time query to access data on a physical standby database
  5. Oracle Database 12c New Feature: Transaction Guard and Application Continuity
  6. How to Roll Forward a standby database using RMAN incremental backup in 11g
  7. How to quiesce an Oracle 12c RAC database
  8. How to shrink a Temporary Tablespace datafile in Oracle
  9. How to upgrade Oracle database to 12c Pluggable database (Multitenant) using Transportable tablespace(TTS) method
  10. FLUSH_DATABASE_MONITORING_INFO Procedure

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