DB_NAME Initialization Parameter (87)

本文详细介绍了数据库参数DB_NAME的重要性及设置规范。强调该参数必须为不超过八个字符的文本字符串,并阐述了其在数据文件、重做日志文件和控制文件中的作用。特别指出,在实例启动时,若该参数值与控制文件中的数据库名称不符,则数据库无法正常启动。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DB_NAME must be set to a text string of no more than eight characters. During database
creation, the name provided for DB_NAME is recorded in the datafiles, redo log files,
and control file of the database. If during database instance startup the value of the
DB_NAME parameter (in the parameter file) and the database name in the control file
are not the same, the database does not start.

初始化参数 : DB_NAME
1. 需要是少于8个字符的文本串
2. 该参数记录在数据文件, 重做日志文件 和控制文件中
3. 如果实例启动时该参数值(初始化参数文件中)与控制文件中数据库名称不相同 , 数据库
将不能启动

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-995839/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-995839/

grid@rac11g01 ~]$ #!/bin/bash [grid@rac11g01 ~]$ source ~/.bash_profile [grid@rac11g01 ~]$ backup_log=/home/oracle/ORCL_full_`date +"%Y%m%d"`.log allocate channel ch4 type disk; backup AS COMPRESSED BACKUPSET incremental level=0 database format '/db_backup/%d_FULL_%T_%s_%p.bak'; backup AS COMPRESSED BACKUPSET archivelog all format '/db_backup/%d_ARC_%T_%s_%p.bak' delete input; backup current controlfile format '/db_backup/%d_CTL_%T_%s_%p.bak'; release channel ch1; release channel ch2; release channel ch3; release channel ch4; } exit; EOF[grid@rac11g01 ~]$ [grid@rac11g01 ~]$ rman target / nocatalog msglog $backup_log append << EOF > run { > allocate channel ch1 type disk; > allocate channel ch2 type disk; > allocate channel ch3 type disk; > allocate channel ch4 type disk; > > backup AS COMPRESSED BACKUPSET incremental level=0 database format '/db_backup/%d_FULL_%T_%s_%p.bak'; > backup AS COMPRESSED BACKUPSET archivelog all format '/db_backup/%d_ARC_%T_%s_%p.bak' delete input; > backup current controlfile format '/db_backup/%d_CTL_%T_%s_%p.bak'; > > release channel ch1; > release channel ch2; > release channel ch3; > release channel ch4; > } > exit; > EOF RMAN-00557: could not open MSGLOG "/home/oracle/ORCL_full_20250604.log" Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jun 4 20:30:57 2025 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-12001: could not open channel default RMAN-10008: could not create channel context RMAN-10002: ORACLE error: ORA-15021: parameter "remote_dependencies_mode" is not valid in asm instance RMAN-10006: error running SQL statement: alter session set remote_dependencies_mode = signature [grid@rac11g01 ~]$
最新发布
06-05
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值