Oracle 参数 SESSION_MAX_OPEN_FILES 官方解释,作用,如何配置最优化建议
本站中文解释
参数
SESSION_MAX_OPEN_FILES 参数是Oracle用于控制每个会话可打开的文件数量的基础参数。它是每个会话可以有的最多文件句柄数。当Oracle会话尝试打开比该参数值更多的文件句柄时,则会引发ORA-00018错误。
SESSION_MAX_OPEN_FILES 参数的正确设置大小取决于操作系统的最大文件限制,多数情况应该设置在操作系统最大文件打开数量的一半。
要更改SESSION_MAX_OPEN_FILES参数,可以使用ALTER SYSTEM指令:
ALTER SYSTEM SET SESSION_MAX_OPEN_FILES= n;
其中n是要设置的值。
官方英文解释
SESSION_MAX_OPEN_FILES
specifies the maximum number of BFILEs that can be opened in any session. Once this number is reached, subsequent attempts to open more files in the session by using DBMS_LOB.FILEOPEN()
or OCILobFileOpen()
will fail. The maximum value for this parameter depends on the equivalent parameter defined for the underlying operating system.
Property | Description |
---|---|
Parameter type |
Integer |
Default value |
|
Modifiable |
No |
Modifiable in a PDB |
No |
Range of values |
1 to either 50 or the value of |
Basic |
No |
See Also:
-
Oracle Database
SecureFiles and Large Objects Developer’s
Guide for information on LOBs in general -
Oracle Database
SecureFiles and Large Objects Developer’s
Guide for information on BFILEs -
Oracle Database PL/SQL
Packages and Types Reference for information on theDBMS_LOB.FILEOPEN()
procedure -
Oracle Call Interface
Programmer’s Guide for information on theOCILobFileOpen()
procedure