denrepo

Init parameterFiles & storage

CONTROL_FILES

Restart needed

What it controls

The control file copies the instance opens at startup.

Know this before you change it

Keep at least two copies on different disks. After moving or restoring a copy, update this before the next restart.

Check and change it

control_files.sql
1-- Current value on every instance2SELECT inst_id, name, value, isdefault, ismodified3FROM gv$parameter4WHERE name = 'control_files';5 6-- Value stored in the spfile7SELECT sid, value FROM v$spparameter WHERE name = 'control_files' AND isspecified = 'TRUE';8 9-- Static: saved in the spfile, takes effect after a restart10ALTER SYSTEM SET control_files = '+DATA/ORCL/CONTROLFILE/control01.ctl', '+FRA/ORCL/CONTROLFILE/control02.ctl' SCOPE = SPFILE SID = '*';

Related scripts

Open in the parameter referenceOracle's reference

More in Files & storage