// oracle · wal, redo & durability

db_recovery_file_dest_size

Space limit for the fast recovery area (archived logs, flashback logs, RMAN backups).

По умолчанию
0
Range
0 (unset, the default); once set, at least 1 byte, up to the space available
Restart needed
Нет
Default checked on
Oracle AI Database 26ai / 23ai

Что оно делает

Used together with db_recovery_file_dest. When the area fills and nothing can be deleted, archiving stops and the database hangs on log switches.

Значение по умолчанию

0. 0, no recovery area (Oracle 23ai/26ai).

Check the current value

SHOW PARAMETER db_recovery_file_dest_size

SELECT name, value, isdefault, issys_modifiable, isses_modifiable, ispdb_modifiable
FROM v$parameter
WHERE name = 'db_recovery_file_dest_size';

Change it

ALTER SYSTEM SET db_recovery_file_dest_size = 200G SCOPE=BOTH;

No restart: ALTER SYSTEM with SCOPE=BOTH applies immediately and is saved in the SPFILE. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.

When to change it

When you enable ARCHIVELOG mode with a fast recovery area. Size it for the backup and archivelog retention policy.

What can go wrong

Too small stalls the database with ORA-19809 / ORA-00257 when archived logs cannot be written.

Questions about db_recovery_file_dest_size

What is the default value of db_recovery_file_dest_size in Oracle?

0. 0, no recovery area (Oracle 23ai/26ai).

Does changing db_recovery_file_dest_size require a restart?

No. No restart: ALTER SYSTEM with SCOPE=BOTH applies immediately and is saved in the SPFILE. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.

When should I change db_recovery_file_dest_size?

When you enable ARCHIVELOG mode with a fast recovery area. Size it for the backup and archivelog retention policy.

Back to all Oracle settings, or check the Oracle manual for every option.

// one client for every engine

Check db_recovery_file_dest_size on your own server

SQLly runs the query above against Oracle and the other engines in this reference, from one desktop app on macOS, Windows and Linux.