Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • CPU Core related projections AWS
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • handling filenname with space Linux/Unix
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Linux CPU info. Linux/Unix
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • sid_wise_sql.sql Oracle
  • switchlogfile.sh Linux/Unix
  • DBA_HIST_SQLSTAT contents Oracle
  • Find All internal Parameters Oracle
  • secure crt settings Linux/Unix
  • MYSQL for Oracle DBA MYSQL
  • oracle fast start failover best practice Oracle
  • Oracle Support Metalink ID 161818.1 Oracle

Adding or Dropping Online Redo Log Files When Physical Standby in place

Posted on 09-Nov-2005 By Admin No Comments on Adding or Dropping Online Redo Log Files When Physical Standby in place

Changing the size and number of the online redo log files is sometimes done to tune the database. You can add online redo log file groups or members to the primary database without affecting the standby database. Similarly, you can drop log file groups or members from the primary database without affecting your standby database. However, these changes do affect the performance of the standby database after switchover.

Caution:

Whenever you add an online redo log file to the primary database, you must add a corresponding standby redo log file to the standby database.

For example, if the primary database has 10 online redo log files and the standby database has 2, and then you switch over to the standby database so that it functions as the new primary database, the new primary database is forced to archive more frequently than the original primary database.

Consequently, when you add or drop an online redo log file at the primary site, it is important that you synchronize the changes in the standby database by following these steps:

(1) If Redo Apply is running, you must cancel Redo Apply before you can change the log files.

(2) If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO, change the value to MANUAL.

(3) Add or drop an online redo log file:

(3-1) To add an online redo log file, use a SQL statement such as this:

SQL> ALTER DATABASE ADD LOGFILE

‘/disk1/oracle/oradata/payroll/prmy3.log’ SIZE 100M;

(3-2) To drop an online redo log file, use a SQL statement such as this:

SQL> ALTER DATABASE DROP LOGFILE

‘/disk1/oracle/oradata/payroll/prmy3.log’;

(4) Repeat the statement you used in Step 3 on each standby database.

(5) Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.

Ref : http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10823/manage_ps.htm#1010567

Oracle, rman-dataguard

Post navigation

Previous Post: Example of How To Resize the Online Redo Logfiles Note:1035935.6
Next Post: create database link syntax

Related Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key Oracle
  • How to analyze statspack or AWR report. Oracle
  • 10g oem configuration Oracle
  • sess1.sql Oracle
  • TNSNAMES entries details Oracle
  • Renaming Oracle Instance Name Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (6)
  • Videos (0)

Recent Posts

  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Good Doc 28-JUN-2006 Oracle
  • plan10g.sql good1 Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • Oracle Connections expire_time and firewall Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • get_vmstat.ksh Linux/Unix
  • Implementing Listener Security Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme