denrepo

Init parameterBackup & recovery

DB_LOST_WRITE_PROTECT

Changes immediately

What it controls

Records block versions in redo so lost writes can be detected.

Know this before you change it

With Data Guard, TYPICAL on both primary and standby lets the standby detect writes the primary's storage silently dropped.

Default: NONE

Check and change it

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

Open in the parameter referenceOracle's reference

More in Backup & recovery