denrepo

Init parameterFiles & storage

DB_CREATE_ONLINE_LOG_DEST_N

Changes immediatelyCan set per session

What it controls

Locations for Oracle-managed online redo logs and control files. Numbered 1 to 5; each one holds a member of every group.

Know this before you change it

Use two locations on different disks so each redo group is multiplexed.

Check and change it

db_create_online_log_dest_1.sql
1-- Current value on every instance2SELECT inst_id, name, value, isdefault, ismodified3FROM gv$parameter4WHERE name = 'db_create_online_log_dest_1';5 6-- Value stored in the spfile7SELECT sid, value FROM v$spparameter WHERE name = 'db_create_online_log_dest_1' AND isspecified = 'TRUE';8 9-- Dynamic: takes effect now and is kept after a restart10ALTER SYSTEM SET db_create_online_log_dest_1 = '+DATA' SCOPE = BOTH SID = '*';11 12-- Or for your own session only13ALTER SESSION SET db_create_online_log_dest_1 = '+DATA';14 15-- Remove it from the spfile to go back to the default at the next restart16ALTER SYSTEM RESET db_create_online_log_dest_1 SCOPE = SPFILE SID = '*';

Open in the parameter referenceOracle's reference

More in Files & storage