RAC环境数据文件误建到本地文件系统处理 ORA-01157: cannot identify/lock data file 66 - see DBWR trace file ORA-01110: data file 66: (文档 ID 1612244.1) 修改时间: 2014-3-26 类型: PROBLEM In this Document Symptoms Changes Cause Solution APPLIE
2014-3-26 PROBLEM
|
|

|
In this Document
APPLIES TO: Oracle Database - Enterprise Edition - Version 10.2.0.1 and laterInformation in this document applies to any platform. SYMPTOMSuser add datafile for RAC DataBase in the local node CHANGESdatafiles add to system Tablespace by mistake on the local Node instead of shared diskgroup CAUSEThis is expected as it is RAC DB and it suppose to create the new Datafile on the shared disk no on the local node when user add data file using SQL> alter tablespace system add datafile 'FRA' SIZE 250M AUTOEXTEND ON NEXT 50M MAXSIZE UNLIMITED; its add the datafile in the default OMG location db_create_file_dest SQL> show parameter db_create_file_dest and when it is Null the default locaion $OH/dbs
多多淘宝客
查看详情
安装环境: php5.2+mysql5.x 以上;Zend版本: Zend Optimizer 3.3.0 或以上版本最少配置 200M+20Mmysql;推荐配置:大于500M空间+大于50M数据库。 站长要求:网络建站初学者及更高级站长。网站管理要求:一天在线5小时左右(主要为了在线客服,邮件或电话服务可忽略),管理时间30分钟左右(做提现审核及支付处理,适当增加文章发布等)。适合环境:单独建
0
SOLUTION- Open the DB in Mount state - copy the created Datafile to the shared Disk Group please note that the DB must be in the archive mode . RMAN> copy datafile '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/FRA' to '+FRA';Starting backup at 06-JAN-14 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=8 instance=TESTDB12 device type=DISK channel ORA_DISK_1: starting datafile copy input datafile file number=00066 name=/u01/app/oracle/product/11.2.0/dbhome_1/dbs/FRA output file name=+FRA/testdb1/datafile/system.284.836141149 tag=TAG20140106T132548 RECID=1 STAMP=836141162 channel ORA_DISK_1: datafile copy complete, elapsed time: 00:00:15 Finished backup at 06-JAN-14 - using SQL PLUS rename the Datafile to the New location SQL>alter database rename file '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/FRA' to '+FRA/TESTDB1/DATAFILE/SYSTEM.284.836141149';- open the DB SQL> alter Databse open;- remove the old file $ rm /u01/app/oracle/product/11.2.0/dbhome_1/dbs/FRA |
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号