denrepo

Init parameterFiles & storage

DB_FILES

Restart needed

What it controls

The most datafiles the database can have open.

Know this before you change it

Raise it before you get close. Hitting it blocks ADD DATAFILE until a restart.

Default: 200

Check and change it

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

Related scripts

Open in the parameter referenceOracle's reference

More in Files & storage