Create test version of database in another host

Hi!
As a production system I have a database with a standby database. (Dataguard).
Now we want to create a test system of the production database in another host, test system shall not be with a standby database.
Production system is about 5GB.
What is the fastest and easiest way to create the test database, Oracle binaries are installed in test host but no databases are created.
/Ulf

If your database is really only 5 Gb (which would be quite small, particularly for a system that warrants Data Guard), export and import is probably the easiest option. You can also clone the database or recover your backup to the QA machine, but those options seem like a bit more work.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • DUPLICATE DATABASE IN ANOTHER HOST WITH THE SAME DATABASE NAME

    Hi all.
    I want duplicate a database(dbteste1 host:wander) to another host(magda) with the same database name.
    My tnsnames in host wander is this:
    DBTESTE1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = wander)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    DBTEST1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = magda)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = dbteste1)
    Tnsping is ok !!!
    Follow the rman command;
    RMAN> run
    duplicate target database to dbtest1 nofilenamecheck;
    and i get the following message:
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE falhou
    ORA-01504: o nome 'dbtest1' do banco de dados nÒo corresponde ao parÔmetro db_name 'dbteste1'
    If i run this command:
    RMAN> run
    duplicate target database to dbteste1 nofilenamecheck;
    and i get the following message:
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: RMAN-20021: database not set
    RMAN-06031: could not translate database keyword
    I´m using oracle 9.2.0.7 on Windows

    Wrong procedure and connection command,
    check Oracle document,
    Duplicating a Database with Recovery Manager
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmdupdb.htm#RCMUG012
    Follow all steps listed.

  • Retreiving Azure Database to another host

    Hi Guys,
    I have currently set up a database in Azure via MySQL Server Management, which i really just migrated to Azure as I am currently using Access. Few questions I need to ask, as I would like to know if Azure will fit my requirements.
    What I need to do is basically, allow a client to retrieve this database, update it and then allow Azure to automatically synchronize and update the database. The client will be using this database a number of times a day. How can I go about doing this,
    as I really am new to Azure.
    Any help will be appreciated. Thank you
    Umut Tavli

    Hello,
    Access supports connecting to SQL Azure over ODBC (linked tables and pass-through queries), but you need to use the SQL Server Native Client 10.0 driver or later version.
    Before connect to SQL database, you should create a SQL Server login as SQL Database does not support Windows authentication. You should also add the current IP in the Firewall setting.
    Reference:
    Access 2010 and SQL Azure
    linking-microsoft-access-to-azure
    Connect to Azure SQL Database Using ODBC
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to install OEM 10g using an existing database on another host

    Hi,
    I've created a 10g database (on host solaris_x86) which I like to use for the OEM 10G GC (on host linux_x86).
    If I install OEM using existing DB, then the installer expect the database is running locally.
    If I install OEM using new DB, then the installer complains that I've less then 1GB memory.
    Does somebody know how to solve this?

    Something is wrong ... Remote database works fine.
    we are using Tru64 OMS against Windows DB.

  • Restore database to another host - I have only rman backup files

    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!

    XM wrote:
    Hi all,
    The PC where Oracle was installed is crashed.
    I have only the RMAN backup pieces in other computer.
    I want to restore/recover this RMAN backup to other PC.
    I know the commands, restore database, recover database,
    but I've always used these commands with rman into existing rman
    user. Now, I don't have anything. I have only the RMAN backup files.
    How can I restore/recover database to other PC using these files?
    The steps are? create other database, create a rman user, register
    the rman backup files in this new rman, and restore these files
    in this new database already created with the same name?
    thank you!!!!You need to perform disaster recovery. For this, follow my step by step video tutorial:
    http://kamranagayev.wordpress.com/2010/03/29/rman-video-tutorial-series-performing-disaster-recovery-with-rman/

  • Move a procedure from one database to another database

    Hi all,
    I have a procedure belonging to a schema in one of the databases in a server (say host A).
    I have a new server (say host B) and I have installed RDBMS and have created a database.
    Now, I want to move that particular procedure (in host A) to the new schema of a database in host B.
    What are the steps to be followed? please help me out.
    Note: It is not moving a procedure from one database to another, infact from one host to database in another host.
    Thanks,
    ora_sri

    The steps are:
    1. Pay more attention to your instructor in school.
    2. Do your web searches using google.com so as not to ask other people to help you cheat on your exams.
    3. Apologize to your instructor.
    How do I know you are a student?
    1. No version number.
    2. No such thing as host A and B
    3. If you had ever written a procedure in your life you would already know the answer.
    So let us add #4 to the first list.
    4. Write a stored procedure, save it to your hard disk, and then stare at the file you created until inspiration strikes you.
    Sorry for being harsh here but I spent 10 years teaching Oracle at the University of Washington and I failed students
    who did what you did. Even asked that one be expelled. So I am doing you quite a favor and hope you learn the lesson
    I am trying to teach for your own good.

  • RC_datafile location changed after try recover datafile into another host

    Hi,
    I has a database whose datafiles was all in i:\ofs1, yesterday,to verify that my tape backup,
    I tried to restore and recover the database into another host and location c:\ofs1,
    I connected to the recover catalog for the database while performing the restoring and recovering, everything completed successfully.
    But then I found out that the location of datafile in rc_database view in my recovery catalog been updated from i:\ofs1 to c:\ofs1,
    apparent while doing the restoring, rman also update the location of the datafile in rc_datafile.
    And now when I perform backup for the original database, it search the datafiles in c:\ofs1 instead of i:\ofs1.
    Is there anyone know how should I do to update back the datafile location in rc_datafile?
    Thanks
    Vincent

    Hi,
    I can still perform backup, but the rman output will show that the datafile are now in c:\ofs1 as below
    input datafile fno=00005 name=C:\OFS1\DATA_SE.DBF
    input datafile fno=00006 name=C:\OFS1\INDEX_SE.DBF
    input datafile fno=00013 name=C:\OFS1\DATA_SE01.DBF
    input datafile fno=00014 name=C:\OFS1\INDEX_SE01.DBF
    input datafile fno=00003 name=C:\OFS1\SYSAUX01.DBF
    input datafile fno=00009 name=C:\OFS1\RMAN_CATALOG.DBF
    input datafile fno=00001 name=C:\OFS1\SYSTEM01.DBF
    input datafile fno=00002 name=C:\OFS1\UNDOTBS01.DBF
    input datafile fno=00010 name=C:\OFS1\DATA_ODCSE01.DBF
    input datafile fno=00012 name=C:\OFS1\FLOW_1.DBF
    input datafile fno=00007 name=C:\OFS1\DATA_Q107.DBF
    input datafile fno=00008 name=C:\OFS1\INDEX_Q107.DBF
    input datafile fno=00011 name=C:\OFS1\INDEX_ODCSE01.DBF
    input datafile fno=00004 name=C:\OFS1\USERS01.DBF
    channel oem_backup_disk1: starting piece 1 at 08-JUL-10
    channel oem_backup_disk1: finished piece 1 at 08-JUL-10
    piece handle=E:\BACKUP\OFS1\30LI990V_1_1 tag=TAG20100708T133318 comment=NONE
    channel oem_backup_disk1: backup set complete, elapsed time: 00:18:35
    Finished backup at 08-JUL-10
    and when I try to recover datefile copy, the below error show
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/08/2010 13:52:22
    RMAN-00600: internal error, arguments [8064] [1] [C:\OFS1\SYSTEM01.DBF] []
    Is it ok if I change the data in rman catalog to update the rc_datafile location to i:\ofs1?
    Thanks
    Vincent

  • How to create a standby database in another server?

    hi,
    I want to create a standby database in another machine, please tell me the steps fot it.
    thx.

    Can you tell what version of Oracle you are running, because the steps can vary depending on your version.

  • Cloning of database to same host give error, unable to re-create online log

    clone the database to same host
    oracle version: 9.2.0.5
    os HP
    target db: tardb
    catlog catlog
    auxiliary: auxbr
    After running this script, I am getting error unable to re-create online log.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    I tried to shutdown, and mount, recover with backup contorlfile until cancel. and open with reset logs ,
    I am not able to make the copy of the database on same host.
    Help is appreciated.
    complete error log
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:11:23 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to an idle instance.
    SQL> startup nomount pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    ORACLE instance started.
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    SQL> create spfile from pfile='/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    File created.
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql>
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> rman
    Recovery Manager: Release 9.2.0.5.0 - 64bit Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    RMAN> connect catalog rman/rman@catlog
    connected to recovery catalog database
    RMAN> connect target sys/dimondz@tardb
    connected to target database: tardb (DBID=3063303886)
    RMAN> connect auxiliary sys/dimondz@auxbr
    connected to auxiliary database: auxbr (not mounted)
    RMAN>
    RMAN> RUN
    2> {
    3> SET NEWNAME FOR DATAFILE 1 TO '/db/catalog1.001/oradata/system01.dbf';
    4>
    5> SET NEWNAME FOR DATAFILE 2 TO '/db/catalog1.001/oradata/undotbs01.dbf';
    6>
    SET NEWNAME FOR DATAFILE 3 TO '/db/catalog1.001/oradata/ptest01.dbf';
    7> 8>
    9> SET NEWNAME FOR DATAFILE 4 TO '/db/catalog1.001/oradata/users_01.dbf';
    10>
    11> SET NEWNAME FOR DATAFILE 5 TO '/db/catalog1.001/oradata/drsys_01.dbf';
    12>
    13> SET NEWNAME FOR DATAFILE 6 TO '/db/catalog1.001/oradata/qms_dat_01.dbf';
    14>
    15> SET NEWNAME FOR DATAFILE 7 TO '/db/catalog1.001/oradata/ultradat_01.dbf';
    16>
    17> SET NEWNAME FOR DATAFILE 11 TO '/db/catalog1.001/oradata/xmltbs_01.dbf';
    18>
    19> DUPLICATE TARGET DATABASE TO auxbr
    20>
    21> pfile=/db/app/oracle/admin/catlog/pfile/initauxbr.ora
    22> logfile
    23> ' /db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
    24> ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
    25> ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;
    26> }
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting Duplicate Db at 08-JUN-09
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=11 devtype=DISK
    printing stored script: Memory Script
    set until scn 229907626;
    set newname for datafile 1 to
    "/db/catalog1.001/oradata/system01.dbf";
    set newname for datafile 2 to
    "/db/catalog1.001/oradata/undotbs01.dbf";
    set newname for datafile 3 to
    "/db/catalog1.001/oradata/ptest01.dbf";
    set newname for datafile 4 to
    "/db/catalog1.001/oradata/users_01.dbf";
    set newname for datafile 5 to
    "/db/catalog1.001/oradata/drsys_01.dbf";
    set newname for datafile 6 to
    "/db/catalog1.001/oradata/qms_dat_01.dbf";
    set newname for datafile 7 to
    "/db/catalog1.001/oradata/ultradat_01.dbf";
    set newname for datafile 11 to
    "/db/catalog1.001/oradata/xmltbs_01.dbf";
    restore
    check readonly
    clone database
    executing script: Memory Script
    executing command: SET until clause
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    executing command: SET NEWNAME
    Starting restore at 08-JUN-09
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /db/catalog1.001/oradata/system01.dbf
    restoring datafile 00002 to /db/catalog1.001/oradata/undotbs01.dbf
    restoring datafile 00003 to /db/catalog1.001/oradata/ptest01.dbf
    restoring datafile 00004 to /db/catalog1.001/oradata/users_01.dbf
    restoring datafile 00005 to /db/catalog1.001/oradata/drsys_01.dbf
    restoring datafile 00006 to /db/catalog1.001/oradata/qms_dat_01.dbf
    restoring datafile 00007 to /db/catalog1.001/oradata/ultradat_01.dbf
    restoring datafile 00011 to /db/catalog1.001/oradata/xmltbs_01.dbf
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/dump/DBA/RMAN/tardb_bkup/db_tardb_f_04kgt77h tag=WHOLE_DATABASE_tardb params=NULL
    channel ORA_AUX_DISK_1: restore complete
    Finished restore at 08-JUN-09
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 907
    LOGFILE
    GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
    GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
    GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
    DATAFILE
    '/db/catalog1.001/oradata/system01.dbf'
    CHARACTER SET UTF8
    printing stored script: Memory Script
    switch clone datafile all;
    executing script: Memory Script
    datafile 2 switched to datafile copy
    input datafilecopy recid=1 stamp=689037446 filename=/db/catalog1.001/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafilecopy recid=2 stamp=689037446 filename=/db/catalog1.001/oradata/ptest01.dbf
    datafile 4 switched to datafile copy
    input datafilecopy recid=3 stamp=689037446 filename=/db/catalog1.001/oradata/users_01.dbf
    datafile 5 switched to datafile copy
    input datafilecopy recid=4 stamp=689037446 filename=/db/catalog1.001/oradata/drsys_01.dbf
    datafile 6 switched to datafile copy
    input datafilecopy recid=5 stamp=689037446 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
    datafile 7 switched to datafile copy
    input datafilecopy recid=6 stamp=689037446 filename=/db/catalog1.001/oradata/ultradat_01.dbf
    datafile 11 switched to datafile copy
    input datafilecopy recid=7 stamp=689037446 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
    printing stored script: Memory Script
    set until scn 229907626;
    recover
    clone database
    delete archivelog
    executing script: Memory Script
    executing command: SET until clause
    Starting recover at 08-JUN-09
    using channel ORA_AUX_DISK_1
    starting media recovery
    channel ORA_AUX_DISK_1: starting archive log restore to default destination
    channel ORA_AUX_DISK_1: restoring archive log
    archive log thread=1 sequence=3
    channel ORA_AUX_DISK_1: restoring archive log
    archive log thread=1 sequence=4
    channel ORA_AUX_DISK_1: restored backup piece 1
    piece handle=/dump/DBA/RMAN/tardb_bkup/db_arch_tardb_f_06kgt7ih tag=ARCHIVE_LOG_tardb_BACKUP params=NULL
    channel ORA_AUX_DISK_1: restore complete
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc thread=1 sequence=3
    channel clone_default: deleting archive log(s)
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_3.arc recid=1 stamp=689037447
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc thread=1 sequence=4
    channel clone_default: deleting archive log(s)
    archive log filename=/oradump/oradata/catlog/arch/catlog-1231663410_1_4.arc recid=2 stamp=689037447
    media recovery complete
    Finished recover at 08-JUN-09
    printing stored script: Memory Script
    shutdown clone;
    startup clone nomount pfile= '/db/app/oracle/admin/catlog/pfile/initauxbr.ora';
    executing script: Memory Script
    database dismounted
    Oracle instance shut down
    connected to auxiliary database (not started)
    Oracle instance started
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "auxbr" RESETLOGS ARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 5
    MAXDATAFILES 100
    MAXINSTANCES 1
    MAXLOGHISTORY 907
    LOGFILE
    GROUP 1 ' /db/redolog.001/catalog1/catalog1_log1.rdo' SIZE 5242880 ,
    GROUP 2 ' /db/redolog.003/catalog1/catalog1_log2.rdo' SIZE 5242880 ,
    GROUP 3 ' /db/redolog.002/catalog1/catalog1_log3.rdo' SIZE 5242880
    DATAFILE
    '/db/catalog1.001/oradata/system01.dbf'
    CHARACTER SET UTF8
    printing stored script: Memory Script
    catalog clone datafilecopy "/db/catalog1.001/oradata/undotbs01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/ptest01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/users_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/drsys_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/qms_dat_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/ultradat_01.dbf";
    catalog clone datafilecopy "/db/catalog1.001/oradata/xmltbs_01.dbf";
    switch clone datafile all;
    executing script: Memory Script
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/undotbs01.dbf recid=1 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/ptest01.dbf recid=2 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/users_01.dbf recid=3 stamp=689037456
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/drsys_01.dbf recid=4 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/qms_dat_01.dbf recid=5 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/ultradat_01.dbf recid=6 stamp=689037457
    cataloged datafile copy
    datafile copy filename=/db/catalog1.001/oradata/xmltbs_01.dbf recid=7 stamp=689037457
    datafile 2 switched to datafile copy
    input datafilecopy recid=1 stamp=689037456 filename=/db/catalog1.001/oradata/undotbs01.dbf
    datafile 3 switched to datafile copy
    input datafilecopy recid=2 stamp=689037456 filename=/db/catalog1.001/oradata/ptest01.dbf
    datafile 4 switched to datafile copy
    input datafilecopy recid=3 stamp=689037456 filename=/db/catalog1.001/oradata/users_01.dbf
    datafile 5 switched to datafile copy
    input datafilecopy recid=4 stamp=689037457 filename=/db/catalog1.001/oradata/drsys_01.dbf
    datafile 6 switched to datafile copy
    input datafilecopy recid=5 stamp=689037457 filename=/db/catalog1.001/oradata/qms_dat_01.dbf
    datafile 7 switched to datafile copy
    input datafilecopy recid=6 stamp=689037457 filename=/db/catalog1.001/oradata/ultradat_01.dbf
    datafile 11 switched to datafile copy
    input datafilecopy recid=7 stamp=689037457 filename=/db/catalog1.001/oradata/xmltbs_01.dbf
    printing stored script: Memory Script
    Alter clone database open resetlogs;
    executing script: Memory Script
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 06/08/2009 23:17:38
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    RMAN>
    I tried to shutdown and open with resetlogs , it still error
    oracle@dimondz{auxbr}/db/app/oracle/dba/sql> sqlplus '/as sysdba'
    SQL*Plus: Release 9.2.0.5.0 - Production on Mon Jun 8 23:27:05 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.5.0 - Production
    SQL> shutdown immediate;
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 219115512 bytes
    Fixed Size 737272 bytes
    Variable Size 83886080 bytes
    Database Buffers 134217728 bytes
    Redo Buffers 274432 bytes
    Database mounted.
    SQL> recover database until cancel using backup controlfile;
    ORA-00279: change 229907626 generated at 06/06/2009 11:58:09 needed for thread
    1
    ORA-00289: suggestion : /oradump/oradata/catlog/arch/catlog-1814470384_1_5.arc
    ORA-00280: change 229907626 for thread 1 is in sequence #5
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    CANCEL
    Media recovery cancelled.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/
    /db/redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directory
    SQL>
    Thanks, Your help and guide will appreciated very much.

    Hello,
    The directory for the creation of the logfiles does not exist, from the error:
    RMAN-06136: ORACLE error from auxiliary database: ORA-00344: unable to re-create online log '/db/app/oracle/product/9.2.0.5/dbs/ /db
    /redolog.001/catalog1/catalog1_log1.rdo'
    ORA-27040: skgfrcre: create error, unable to create file
    HP-UX Error: 2: No such file or directoryI.e., there is no such directory as *'/db/app/oracle/product/9.2.0.5/dbs/ /db/redolog.001/catalog1/catalog1_log1.rdo'*
    Your db_recovery_file_dest parameter may be set here, therefore change this:
    '/db/redolog.001/catalog1/catalog1_log1.rdo' size 5m,
    ' /db/redolog.003/catalog1/catalog1_log2.rdo' size 5m,
    ' /db/redolog.002/catalog1/catalog1_log3.rdo' size 5m;To this:
    'catalog1_log1.rdo' size 5m,
    'catalog1_log2.rdo' size 5m,
    'catalog1_log3.rdo' size 5m;And try again.

  • Create test database from standby without some data

    Hi. I want to create test database from my standby database using rman.
    But i have some some tables and where information is too large i dont want backup all data from this tables. because i dont have enough space on my test server.
    Have u any idea for solution this problem.
    Thanks

    But have suggestion.
    You can create duplicate database on based your target database (to new host) and skip undesired tablespaces...
    bash# rman target /
    RMAN> ....
    your code should be like :
    run {
    allocate auxiliary channel 'dev_0' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_1' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_2' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_3' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    SET UNTIL SCN 7769764681915;
    DUPLICATE TARGET DATABASE TO MYTS SKIP TABLESPACE TOOLS_IDX,TOOLS,ARCHIVE,IDX;
    Edited by: Ulfet Tanriverdiyev on Dec 21, 2010 3:42 AM

  • Isit possible to copy DRM version from one database to another?

    I want to copy a version from DRM (Development environment) to another instance (production environment) by copying one database to another database. In order to synch both the version. Is this possible? rather than exporting and reloading?
    It is possible, but I want to know the steps invloved for this
    Thanks in advance
    Edited by: Ramesh Janardanan on Jun 19, 2012 6:21 PM

    Hi Ramesh,
    You can use the DRM Configuration console for this purpose. Please follow the below steps:
    1. Open Repository Wizard
    2. Check - Copy/Upgrade
    3. Enter Source connection details and test connection
    4. Click Next on Analysis summary
    5. Enter Target connection details and test connection
    6. Confirm Copy by clicking Next
    It copies everything. Hope this helps!!
    Cheers, Vicky.

  • Issue Creating Duplicate Database on Different host using RMAN Backup

    HI friends..
    I m trying to create a duplicate db on different host ....... 27
    i have live production db on ............. 15
    its up 24*7.
    i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
    I have googled..but getting issues..
    Steps Taken till now
    Note- I dont have catalog created on live db..
    I already have set the tnsnames.ora on both servers
    1) Took full backup plus archivelog plus control file on 15
    2) moved it to another host..ie 27
    3) now on live db..
    I conected to rman target /
    so i m now connected to prod db
    than i try to conect to rman auxiliary sys/sys@dubpd..
    But it gives me insufficient privilages error..
    Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
    Thanks in advance frieds...

    sai121 wrote:
    Nope ..on live db..
    @comand prompt when i type sqlplus sys/sys@dupdb..
    its says 0ra-12518...Listener cannot hand off client connection..
    My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
    i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
    now @command prompt..@live server.. i did sqlplus sys/sys@standby
    It gives me ORA-12518
    Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
    2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
    3- You may want to increase "large_pool_size"

  • How to create test database in system (have downloaded mxdb)

    how to create test database in system (have downloaded mxdb)...Can someone pls help as I am new to SAP

    Hi amit,
    the maxdb documentation gives all information which is needed:
    Install the software with SDBSETUP:
    <a href="http://maxdb.sap.com/currentdoc/4c/da3b3c51bd4b3ae10000000a114084/frameset.htm">Installation</a>
    Create a database with DBMGUI
    <a href="http://maxdb.sap.com/currentdoc/84/d8d192570411d4aa82006094b92fad/frameset.htm">Create Instance</a>
    Reagrds, Christiane Hienger

  • Refresh database and another is create database

    Hi All,
    In the Hyperion planning under the administration menu there are two option, one is refresh database and another is create database.
    Is there any way to hide/delete or not give the access to users of ”create database” option? I mean other than admin I don’t want any users to see “create database option” once they login.
    Thank you

    There is no option to hide the create database button, but the good news is the planning users won't be able to see that option anyways. Due to the provisioning, only Admins have access to the Administation Menu.
    Cheers,
    Mehmet

  • HT1338 I am looking to publish a web site I created in iWeb to another hosting provider.  I have never published this site to MobileMe nor do I have a MobileMe account

    I am looking to publish a web site I created in iWeb to another hosting provider.  I have never published this site to MobileMe nor do I have a MobileMe account.  Can someone please help me?

    Hi Larry, no experience with iWeb, (which is ending soon), but what kind of files & folders does it make locally?
    You need a Wb Hosting service & an ftp client, if you need more info reply with that & what kind of files/folders it made.

Maybe you are looking for

  • Can't arrange songs in iTunes 9

    So I created a playlist to make a cd for my friends birthday, brand new playlist and put all the songs in it I want, but it's not letting me re-arrange the order of the songs and I have no idea why. other playlists allow me too, but this one won't.

  • Getting started with illustrator

    hi, i dont know the first thing about illustrator, but i know a little about photoshop. can someone tell me how to learn about illustrator. thanks dustin

  • How rate is calculated for activity types

    Hi Gurus, There is activity type XYZ created and when in do KB21N and enter the cost center and activity type the rate is calculated. I do not know where is the rate maintained. It is coming 27.96 hence how the system is taking 27.96 rate for 1 Qty.

  • User exit or Badi to add custom fields in selection screen of tcode CATS_AP

    Hi Guys, I want to add a custom field to the selection screen of report RCATS_APPROVE_ACTIVITIES (tcode CATS_APPR_LITE). I also want to display filtered by this custom fields.  Please let me know the user-exit (prefebly) or BADI. I will appreciate if

  • Advice:  Getting started in the digital editing

    What advice would you give someone with very limited experience, who wants to get started as an (paid) editor? (Other than don't do it.) My budget is $14K. What equipment? Groups?