Oracle 参数 DB_FILES 官方解释,作用,如何配置最优化建议
本站中文解释
:
DB_FILES控制一个Oracle实例可以打开的数据库文件(DBF)的最大数量。当一个Oracle实例可以接受用户连接后,它会将所有打开的数据库文件(DBF)纳入计算,即使它们是空的,它们也会被计入检查DB_FILES参数所允许的范围之内。
正确设置DB_FILES参数:
在设置DB_FILES参数时,应该根据系统中存在的数据库文件(*.DBF)进行调整,必须保证现有的所有数据库文件(*.DBF)都可以正确被打开。DB_FILES参数不要设置过大,这很容易导致内存浪费和性能问题。
官方英文解释
DB_FILES
specifies the maximum number of database files that can be opened for this database.
Property | Description |
---|---|
Parameter type |
Integer |
Default value |
|
Modifiable |
No |
Modifiable in a PDB |
Yes |
Range of values |
Minimum: the largest among the absolute file numbers of the datafiles in the database Maximum: operating system-dependent |
Basic |
No |
Oracle RAC |
Multiple instances must have the same value. |
The maximum valid value is the maximum number of files, subject to operating system constraint, that will ever be specified for the database, including files to be added by ADD DATAFILE
statements.
If you increase the value of DB_FILES
, then you must shut down and restart all instances accessing the database before the new value can take effect. If you have a primary and standby database, then they should have the same value for this parameter.
See Also:
-
Oracle Real Application
Clusters Administration and Deployment Guide for information on setting this parameter in an Oracle RAC environment -
Your operating system-specific Oracle documentation for the default value of this parameter