Impact of Oracle Database Switch "force_logging" on JD Edwards EnterpriseOne?



  • In Oracle9i release 2, the FORCE LOGGING option was introduced. 
  • If force logging is enabled, all the database changes will be logged in redo log files, even for nologging operations.
  • The above means that if FORCE LOGGING is enabled at a higher level, the NOLOGGING at a lower level has no effect. 
  • The FORCE LOGGING option can be set at the database level or the tablespace level. 
  • The precedence is from database to tablespace. 
  • If a tablespace is created or altered to have FORCE LOGGING enabled, any change in that tablespace will go into the redo log and be usable for recovery. 
  • Similarly, if a database is created or altered to have the FORCE LOGGING enabled, any change across the database, with exception of temporary segments and temporary tablespace, will be available in redo logs for recovery. 
  • The FORCE LOGGING option can be set at database creation time or later using the alter database command. 
  • To set FORCE LOGGING during the database creation, specify the following:
                 CREATE DATABASE <dbname>…..FORCE LOGGING… 
  • To enable FORCE LOGGING after the database is created, use the following command:                     
                 ALTER DATABASE FORCE LOGGING;
  • The following statement will put a tablespace in FORCE LOGGING mode:

                 
ALTER TABLESPACE <tablespace name> FORCE LOGGING;
  • The FORCE LOGGING option is the safest method to ensure that all the changes made in the database will be captured and available for recovery in the redo logs. 
  • Logically changing FORCE LOGGING=yes should not cause a problem of data inconsistency or related issues, but could cause a minor performance impact on E1. 
  • Please note that currently, no official testing or performance measuring has been done with changing the default value of NO to YES for "force_logging" in the Oracle DB against JD Edwards EnterpriseOne Software.
Note: Force logging option is by default there for undo tablespace.
          Force logging is not applicable for TEMP tablespace.

Reference: 2478775.1  

Comments

Popular posts from this blog

Deployment Server Recovery When There Is NO Backup

Oracle Cloud Infrastructure(OCI) - Part2

How to Change Your EnterpriseOne Environment Color