oracle create a new database using backup controlfile to trace
1 atler database backup controlfile to trace
2 modify pfile (create pfile='/tmp/init.ora' from spfile);
"db_name" to the new string;
3 export ORACLE_SID="NEW DATABASE NAME"
startup nomount pfile='/tmp/init.ora'
CREATE CONTROLFILE set DATABASE "jerry" RESETLOGS ARCHIVELOG
alter database mount;
alter database open;
[@more@]CREATE CONTROLFILE set DATABASE "jerry" RESETLOGS ARCHIVELOGMAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 'D:ORACLEPRODUCT10.2.0ORADATATESTREDO01.LOG' SIZE 50M,
GROUP 2 'D:ORACLEPRODUCT10.2.0ORADATATESTREDO02.LOG' SIZE 50M,
GROUP 3 'D:ORACLEPRODUCT10.2.0ORADATATESTREDO03.LOG' SIZE 50M
-- STANDBY LOGFILE
DATAFILE
'D:BACKUPDATA_D-TEST_I-2053925071_TS-SYSTEM_FNO-1_04MHB1P8.DBF',
'D:BACKUPDATA_D-TEST_I-2053925071_TS-UNDOTBS1_FNO-2_07MHB1RC.DBF',
'D:BACKUPDATA_D-TEST_I-2053925071_TS-SYSAUX_FNO-3_05MHB1QB.DBF',
'D:BACKUPDATA_D-TEST_I-2053925071_TS-USERS_FNO-4_03MHB1FM.DBF',
'D:BACKUPDATA_D-TEST_I-2053925071_TS-TEST_FNO-5_06MHB1R5.DBF',
'D:BACKUPDATA_D-TEST_I-2053925071_TS-USERS_FNO-6_08MHB1RJ.DBF'
CHARACTER SET ZHS16GBK
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9907339/viewspace-1053334/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- recover database using backup controlfile理解Database
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- G009-ORACLE-ASK Using In-Database ArchivingOracleDatabase
- 【PDB】Oracle 建立pdb說明(create pluggable database)OracleDatabase
- 1 Oracle Database Release 20c New FeaturesOracleDatabase
- SQLBackupAndFTP12.0 failed to backup database with full backup typeSQLFTPAIDatabase
- Oracle Database 19c(19.9) RAC On RedHat 8.3 Using VirtualBox and MacBookOracleDatabaseRedhatMac
- Crunchy PostgreSQL database backup via pgo commandSQLDatabaseGo
- Using V$BACKUP_ASYNC_IO / V$BACKUP_SYNC_IO to Monitor RMAN PerformanceORM
- Oracle session traceOracleSession
- ORA-01031 CREATE TRIGGER ON DATABASEDatabase
- Fatal error in launcher: Unable to create process using '"'Error
- CREATE CONTROLFILE修改DB_NAME一定不能使用REUSE
- Oracle 10046 SQL TRACEOracleSQL
- Create orders using SAP Commerce Cloud Restful APICloudRESTAPI
- 理解RMAN backup database plus archivelog delete all input命令DatabaseHivedelete
- 4.3.3 使用CREATE DATABASE語句建立CDBDatabase
- Oracle clone databaseOracleDatabase
- ORACLE database vaultOracleDatabase
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- How to create the Gold gold using RGB color values All In OneGo
- 2.4.1 使用 CREATE DATABASE 子句建立資料庫Database資料庫
- PL/SQL package SYS.DBMS_BACKUP_RESTORE version 19.16.00.00 in TARGET database isSQLPackageRESTDatabase
- Oracle Physical Database LimitsOracleDatabaseMIT
- Oracle Database Scheduler整理OracleDatabase
- Oracle 11G 隱含引數“_controlfile_autobackup_delay”Oracle
- 2.4 使用 CREATE DATABASE 語句建立資料庫Database資料庫
- 4、MySQL建立資料庫(CREATE DATABASE語句)MySql資料庫Database
- Oracle診斷案例-Sql_traceOracleSQL
- Object.create(..)和new(..)的內部實現Object
- Failed to run 'create login' or 'sp_addsrvrolemeber' in sql Linux using windows authentcationAIVRSQLLinuxWindows
- Oracle 11GR2 Duplicate from BackupOracle
- Oracle 12.2 使用Database Link優化Standby Database WorkloadOracleDatabase優化
- 4.3.4 使用CREATE DATABASE語句建立一個CDB:示例Database
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- Oracle 19c Concepts(01):Introduction to Oracle DatabaseOracleDatabase
- Oracle 19c Concepts(13):Oracle Database InstanceOracleDatabase
- Oracle DG Standby Database型別OracleDatabase型別
- Oracle DG建立Physical Standby DatabaseOracleDatabase