Oracle 参数 PDB_FILE_NAME_CONVERT 官方解释,作用,如何配置最优化建议
本站中文解释
参数
PDB_FILE_NAME_CONVERT参数主要用于将特定的物理文件转换为另一个名称,这个参数在RAC环境中非常有用。用途是在某一节点启动数据库时,把文件名转换为另一个名称,从而使得所有节点上共享同样的文件名,或者把本地节点上的物理路径转换为共享的路径。
参数的基本语法是:Pdb_file_name_convert=(‘source_data_file_location’,’target_data_file_location’)
设置参数的步骤:
1. 编辑ORACLE_HOME/dbs/init.ora文件,在文件中增加参数
2. 问题sqlplus,连接到数据库
3. 在sqlplus中执行”alter system set pdb_file_name_convert=” scope=spfile;”,确认参数配置完成
4. 使用命令”shutdown immediate”关闭数据库
5. 执行”startup nomount”,重新启动数据库
6. 连接到数据库检查参数是否正确配置
官方英文解释
PDB_FILE_NAME_CONVERT
maps names of existing files to new file names when processing a CREATE
PLUGGABLE
DATABASE
statement, as well as when processing the ENABLE
PLUGGABLE
DATABASE
clause of the CREATE
DATABASE
statement, if the file_name_convert_clause
is not specified and Oracle Managed Files is not enabled.
Property | Description |
---|---|
Parameter type |
String |
Syntax |
Where:
You can enclose each string in single or double quotation marks. You can specify as many pairs of existing and new replacement strings as required. Example:
|
Default value |
There is no default value |
Modifiable |
|
Modifiable in a PDB |
Yes |
Basic |
No |
Oracle RAC |
You must set this parameter for every instance, and multiple instances must have the same value. |
File name patterns specified in this initialization parameter cannot match files or directories managed by Oracle Managed Files.
See Also:
Oracle Multitenant
Administrator’s Guide for more information about this parameter