-- The following commands will create a new control file and use it
-- to open the database.
-- Data used by Recovery Manager will be lost.
-- The contents of online logs will be lost and all backups will
-- be invalidated. Use this only if online logs are damaged.
-- After mounting the created controlfile, the following SQL
-- statement will place the database in the appropriate
-- protection mode:
-- ALTER DATABASE SET STANDBY DATABASE TO MAXIMIZE PERFORMANCE
STARTUP NOMOUNT PFILE='/temp/convertdb/INIT_00QJ9HSS_1_0.ORA'
CREATE CONTROLFILE REUSE SET DATABASE "ORCL" RESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 '/temp/convertdb/ARCH_D-ORCL_ID-782749902_S-40_T-1_A-892571539_03QJ9HSS' SIZE 50M BLOCKSIZE 512,
GROUP 2 '/temp/convertdb/ARCH_D-ORCL_ID-782749902_S-38_T-1_A-892571539_04QJ9HSS' SIZE 50M BLOCKSIZE 512,
GROUP 3 '/temp/convertdb/ARCH_D-ORCL_ID-782749902_S-39_T-1_A-892571539_05QJ9HSS' SIZE 50M BLOCKSIZE 512
DATAFILE
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-SYSTEM_FNO-1_0JQJ9HUG',
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-SYSAUX_FNO-2_0IQJ9HTM',
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-UNDOTBS1_FNO-3_0KQJ9HV9',
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-USERS_FNO-4_0MQJ9HVQ',
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-APEX_FNO-5_0HQJ9HSS',
'/temp/convertdb/DATA_D-ORCL_I-782749902_TS-APEX_2145708263408580_FNO-6_0LQJ9HVP'
CHARACTER SET AL32UTF8
;
-- Database can now be opened zeroing the online logs.
ALTER DATABASE OPEN RESETLOGS;
-- Commands to add tempfiles to temporary tablespaces.
-- Online tempfiles have complete space information.
-- Other tempfiles may require adjustment.
ALTER TABLESPACE TEMP ADD TEMPFILE '/temp/convertdb/DATA_D-ORCL_I-782749902_TS-TEMP_FNO-1_06QJ9HSS'
SIZE 30408704 AUTOEXTEND ON NEXT 655360 MAXSIZE 32767M;
-- End of tempfile additions.
--
set echo off
prompt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prompt * Your database has been created successfully!
prompt * There are many things to think about for the new database. Here
prompt * is a checklist to help you stay on track:
prompt * 1. You may want to redefine the location of the directory objects.
prompt * 2. You may want to change the internal database identifier (DBID)
prompt * or the global database name for this database. Use the
prompt * NEWDBID Utility (nid).
prompt ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SHUTDOWN IMMEDIATE
STARTUP UPGRADE PFILE='/temp/convertdb/INIT_00QJ9HSS_1_0.ORA'
@@ ?/rdbms/admin/utlirp.sql
SHUTDOWN IMMEDIATE
STARTUP PFILE='/temp/convertdb/INIT_00QJ9HSS_1_0.ORA'
-- The following step will recompile all PL/SQL modules.
-- It may take serveral hours to complete.
@@ ?/rdbms/admin/utlrp.sql
set feedback 6;
|