三个参数对 redo、control文件位置…
2013-01-28 22:06
113 查看
三个参数对 redo、control文件位置的影响:
1. 位置优先级:【control_files 初始化参数】 > db_create_online_l
og_dest_n >
db_recovery_file_dest
>=
db_create_file_dest
此处的等于号比较有意思:如果没有 db_create_online_log_dest_n,而存在db_create_file_dest
时,db_recovery_file_dest 就相当db_create_online_log_dest_2,
db_create_file_dest 则相当于db_create_online_log_dest_1.
NOTE:
DB_CREATE_ONLINE_LOG_DEST_n (where n = 1, 2, 3, ... 5) specifies
the default
location for Oracle-managed control files and online redo logs. If
more than one
DB_CREATE_ONLINE_LOG_DEST_n parameter is specified, then the
control file or online
redo log is multiplexed across the locations of the other
DB_CREATE_ONLINE_LOG_DEST_n parameters. One member of each online
redo log is
created in each location, and one control file is created in each
location.
Specifying at least two parameters provides greater fault tolerance
for the
control files and online redo logs if one of the locations should
fail.
If a file system directory is specified as the default location,
then the
directory must already exist; Oracle does not create it. The
directory must have
appropriate permissions that allow Oracle to create files in it .
Oracle generates
unique names for the files, and a file thus created is an
Oracle-managed file.
db_recovery_file _dest 参数启用 redo、control、rman backups、archived
logs、flashback
logs 文件的 omf 管理,类似的 db_create_online_log_dest_n 参数启用 redo、control 的
omf
管理,从中我们也可以看出 redo、control 文件的重要性!!
2. redo 文件的多路复用
通常应该通过指定 db_create_online_log_dest_n 来达到该目的!
3. 如果三个参数指定相同的值会怎样?自己猜吧 :)
4. omf 文件的命名规则
<_dest_参数路径>/<db_unique_name_or_db_name>/<datafile>/o1_mf_%t_%u_.dbf
1. 位置优先级:【control_files 初始化参数】 > db_create_online_l
og_dest_n >
db_recovery_file_dest
>=
db_create_file_dest
此处的等于号比较有意思:如果没有 db_create_online_log_dest_n,而存在db_create_file_dest
时,db_recovery_file_dest 就相当db_create_online_log_dest_2,
db_create_file_dest 则相当于db_create_online_log_dest_1.
NOTE:
DB_CREATE_ONLINE_LOG_DEST_n (where n = 1, 2, 3, ... 5) specifies
the default
location for Oracle-managed control files and online redo logs. If
more than one
DB_CREATE_ONLINE_LOG_DEST_n parameter is specified, then the
control file or online
redo log is multiplexed across the locations of the other
DB_CREATE_ONLINE_LOG_DEST_n parameters. One member of each online
redo log is
created in each location, and one control file is created in each
location.
Specifying at least two parameters provides greater fault tolerance
for the
control files and online redo logs if one of the locations should
fail.
If a file system directory is specified as the default location,
then the
directory must already exist; Oracle does not create it. The
directory must have
appropriate permissions that allow Oracle to create files in it .
Oracle generates
unique names for the files, and a file thus created is an
Oracle-managed file.
db_recovery_file _dest 参数启用 redo、control、rman backups、archived
logs、flashback
logs 文件的 omf 管理,类似的 db_create_online_log_dest_n 参数启用 redo、control 的
omf
管理,从中我们也可以看出 redo、control 文件的重要性!!
2. redo 文件的多路复用
通常应该通过指定 db_create_online_log_dest_n 来达到该目的!
3. 如果三个参数指定相同的值会怎样?自己猜吧 :)
4. omf 文件的命名规则
<_dest_参数路径>/<db_unique_name_or_db_name>/<datafile>/o1_mf_%t_%u_.dbf
相关文章推荐
- redo文件破坏使用隐含参数恢复数据库
- 通过初始化参数来制定配置文件的位置
- nginx的 CPU参数worker_proce…
- hadoop三个配置文件的参数含义说明
- 一次控制文件参数设置错误导致的restore controlfile 失败。
- Linux下的 文件的三个时间参数
- Firefox 2.0 配置文件中代理服务器设置参数的位置及含义
- hadoop三个配置文件的参数含义说明core-site.xml、hdfs-site.xml、mapred-site.xml
- hadoop三个配置文件的参数含义说明
- 在浏览器中预览“首选参数中指定的浏览器位置已经不存在。请确认”首选参数“指向正确的文件
- hadoop三个配置文件的参数含义说明
- Oracle12c多租户CDB 与 PDB 参数文件位置探讨、查询CDB 与 PDB 不同值的参数
- hadoop三个配置文件的参数含义说明
- 11gR2修改Grid软件ASM实例参数文件位置
- hadoop三个配置文件的参数含义说明core-site.xml、hdfs-site.xml、mapred-site.xml
- 【Linux】stat命令查看文件的三个时间参数
- 修改Struts2的struts.xml配置文件位置和名称-重点是init-param参数用来切换加载的路径
- Oracle12c多租户CDB 与 PDB 参数文件位置探讨、查询 CDB 与 PDB 不同值的参数
- 丢失全部数据文件的恢复(不包括control和redo)
- hadoop三个配置文件的参数含义说明