0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
111 Ansichten2 Seiten
Comm The ne Change parameters So that start th databa this pfi After c control can mo databa view tr when g Configuring the TNSNAME.ora on target system Now w connec target the sou databa create a script manually character set WE8ISO8859P1 national character set AL16UTF16; 2 4 5 Creating of parameterfile Make the changes create the directories manually Connect to the database start the database using P
Comm The ne Change parameters So that start th databa this pfi After c control can mo databa view tr when g Configuring the TNSNAME.ora on target system Now w connec target the sou databa create a script manually character set WE8ISO8859P1 national character set AL16UTF16; 2 4 5 Creating of parameterfile Make the changes create the directories manually Connect to the database start the database using P
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als DOC, PDF, TXT herunterladen oder online auf Scribd lesen
Comm The ne Change parameters So that start th databa this pfi After c control can mo databa view tr when g Configuring the TNSNAME.ora on target system Now w connec target the sou databa create a script manually character set WE8ISO8859P1 national character set AL16UTF16; 2 4 5 Creating of parameterfile Make the changes create the directories manually Connect to the database start the database using P
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als DOC, PDF, TXT herunterladen oder online auf Scribd lesen
1 Set the new SID Login to the taget system and The ne Export ORACLE_SID=cloner 2 Creating of parameterfile Cd $ORACLE_BASE/admin/test/pfile/ So that Cp init.ora $ORACLE_HOME/dbs/intcloner.ora start th databa this pfi 3 Change parameters Vi $ORACLE_BASE/admin/test/pfile/initcloner.ora After c background_dump_dest control core_dump_dest can mo user_dump_dest databa control_files view tr db_sid when g db_instance 4 Configuring the Vi $ORACLE_HOME/network/admin/tnsname.ora Now w TNSNAME.ora on target CLONER.ORACLE.COM = connec system (DESCRIPTION = target (ADDRESS_LIST = the sou (ADDRESS = (PROTOCOL = TCP)(HOST = databa ocvmrh2148.us.oracle.com)(PORT = 1523)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = db01.us.oracle.com) ) ) 5 3 Create a script manually Vi script.sql Creatin create database mandb script t logfile the dat group 1 ('/u01/oracle9i/oradata/mandb/log01.rdo') size 10m, group 2 ('/u01/oracle9i/oradata/mandb/log02.rdo') size 10m datafile '/u01/oracle9i/oradata/mandb/system01. dbf' size 100m autoextend on default temporary tablespace temp tempfile '/u01/oracle9i/oradata/mandb/temp01.dbf' size 10m autoextend on next 5m maxsize 20m undo tablespace UNDOTBS1 datafile '/u01/oracle9i/oradata/mandb/undo01.dbf' size 10m autoextend on next 5m maxsize 60m character set WE8ISO8859P1 national character set AL16UTF16;
2 Creating of parameterfile Cd $ORACLE_BASE/admin/test/pfile/ So that
Cp inittest.ora $ORACLE_HOME/dbs/intmantest.ora start th using t 4 Make the changes %s/test/mandb/g
5 Create the directories Cd $ORACLE_BASE/admin/mandb So thes
manually Mkdir bdump cdump udump for dat Cd $ORACLE_BASE/oradata creatio Mkdir mandb 6 Connect to the database Sqlplus ‘/as sysdba’ It is co
7 Start the database using Startup nomount Using
pfile start th 8 Run the script @$ORACLE_BASE/script.sql So that create databa Database is created the con and oth mentio script. 9 Now run the scripts @ORACLE_HOME/rdbms/admin/catalog.sql It will @ORACLE_HOME/rdbms/admin/catporc.sql rdbms @ORACLE_HOME/sqlplus/admin/pubbld.sql &data views 10 Now see the invalid select count(*) from dba_objects where status='INVALID'; objects 11 Run the invalid objects @ORACLE_HOME/rdbms/admin/utlrp.sql To run objects