Database Cold Cloning

Hello All,
I am trying to perform cold cloning at my home pc.
when i am trying to ceate control file , i got this error.
please anyone can help me out..?
SQL> CREATE CONTROLFILE SET DATABASE "fclone" RESETLOGS FORCE LOGGING NOARCHIVEL
OG
  2  MAXLOGFILES 5
  3  MAXLOGMEMBERS 5
  4  MAXDATAFILES 10
  5  MAXINSTANCES 1
  6  MAXLOGHISTORY 400
  7  LOGFILE
  8  GROUP 1 'C:\app\Indra\oradata\fclone\REDO01.log',
  9  GROUP 2 'C:\app\Indra\oradata\fclone\REDO02.log',
10  GROUP 3 'C:\app\Indra\oradata\fclone\REDO03.log'
11  DATAFILE
12  'C:\app\Indra\oradata\fclone\system01.dbf',
13  'C:\app\Indra\oradata\fclone\undotbs01.dbf',
14  'C:\app\Indra\oradata\fclone\users01.dbf',
15  'C:\app\Indra\oradata\fclone\sysaux01.dbf',
16  CHARACTER SET WE8ISO8859P1;
CREATE CONTROLFILE SET DATABASE "fclone" RESETLOGS FORCE LOGGING NOARCHIVELOG
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01163: SIZE clause indicates 12800 (blocks), but should match header 74112
ORA-01110: data file 2: 'C:\app\Indra\oradata\fclone\sysaux01.dbf'
SQL>Regard,
Indra

Thanks Hemant .
And I have solved it.
There was a problem with Redo log size.
I have applied this and now its working fine.
CREATE CONTROLFILE SET DATABASE "fclone" RESETLOGS FORCE LOGGING NOARCHIVELOG
MAXLOGFILES 5
MAXLOGMEMBERS 5
MAXDATAFILES 10
MAXINSTANCES 1
MAXLOGHISTORY 400
LOGFILE
GROUP 1 'C:\app\Indra\oradata\fclone\REDO01.log' SIZE 51M,
GROUP 2 'C:\app\Indra\oradata\fclone\REDO02.log' SIZE 51M,
GROUP 3 'C:\app\Indra\oradata\fclone\REDO03.log' SIZE 51M
DATAFILE
'C:\app\Indra\oradata\fclone\system01.dbf',
'C:\app\Indra\oradata\fclone\undotbs01.dbf',
'C:\app\Indra\oradata\fclone\users01.dbf',
'C:\app\Indra\oradata\fclone\sysaux01.dbf'
CHARACTER SET WE8ISO8859P1;
Control file created.
SQL>
SQL> alter database open resetlogs;
Database altered.
SQL>
SQL>

Similar Messages

  • Cold cloning

    Greeting to all;
    I am doing cold cloning.  my original database is in 'NO ARCHIVE LOG' .
    When executing create control file i did not get any output or any error. I am waiting for long time.
    SQL> startup nomount pfile='/u01/app/oracle/admin/orcltest/pfile/initorcltest.ora';
    ORACLE instance started.
    Total System Global Area  608174080 bytes
    Fixed Size                  1268920 bytes
    Variable Size             188744520 bytes
    Database Buffers          415236096 bytes
    Redo Buffers                2924544 bytes
    SQL> @/u01/backup/control01.sql;
    18 
    >>> no output or no error  >>>>
    alert.log  showing  following information only
    Sat Oct 19 00:52:47 2013
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =18
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.4.0.
    System parameters with non-default values:
      processes                = 150
      __shared_pool_size       = 159383552
      __large_pool_size        = 4194304
      __java_pool_size         = 25165824
      __streams_pool_size      = 0
      sga_target               = 608174080
    control_files            = /u01/app/oracle/oradata/orcltest/control01.ctl, /u01/app/oracle/oradata/orcltest/control02.ctl, /u01/app/oracle/oradata/orcltest/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 415236096
      compatible               = 10.2.0.1.0
      db_file_multiblock_read_count= 16
      db_recovery_file_dest    = /u01/app/oracle/flash_recovery_area
      db_recovery_file_dest_size= 2147483648
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                =
      dispatchers              = (PROTOCOL=TCP) (SERVICE=orcltestXDB)
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/oracle/admin/orcltest/bdump
      user_dump_dest           = /u01/app/oracle/admin/orcltest/udump
      core_dump_dest           = /u01/app/oracle/admin/orcltest/cdump
      audit_file_dest          = /u01/app/oracle/admin/orcltest/adump
    b_name                  = orcltest
      open_cursors             = 300
      pga_aggregate_target     = 201326592
    PMON started with pid=2, OS id=3069
    PSP0 started with pid=3, OS id=3071
    MMAN started with pid=4, OS id=3073
    DBW0 started with pid=5, OS id=3075
    LGWR started with pid=6, OS id=3077
    CKPT started with pid=7, OS id=3079
    SMON started with pid=8, OS id=3081
    RECO started with pid=9, OS id=3083
    CJQ0 started with pid=10, OS id=3085
    MMON started with pid=11, OS id=3087
    MMNL started with pid=12, OS id=3089
    Sat Oct 19 00:52:48 2013
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    My control trace script  looks as  following below ,
    CREATE CONTROLFILE SET DATABASE "ORCLTEST" RESETLOGS  NOARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 '/u01/app/oracle/oradata/orcltest/redo01.log'  SIZE 50M,
      GROUP 2 '/u01/app/oracle/oradata/orcltest/redo02.log'  SIZE 50M,
      GROUP 3 '/u01/app/oracle/oradata/orcltest/redo03.log'  SIZE 50M
    DATAFILE
      '/u01/app/oracle/oradata/orcltest/system01.dbf',
      '/u01/app/oracle/oradata/orcltest/undotbs01.dbf',
      '/u01/app/oracle/oradata/orcltest/sysaux01.dbf',
      '/u01/app/oracle/oradata/orcltest/users01.dbf',
      '/u01/app/oracle/oradata/orcltest/example01.dbf'
    CHARACTER SET WE8ISO8859P1
    ~                              
    Thanks all;

    @ HemantKChitale,  DK2010
    When executing this script  i am getting error.  Can i remove all control files from  that location.
    @/u01/backup/control01.sql;
    18  /
    CREATE CONTROLFILE SET DATABASE "ORCLTEST" RESETLOGS  NOARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: '/u01/app/oracle/oradata/orcltest/control01.ctl'
    ORA-27038: created file already exists
    Additional information: 1
    >> what i actually did >>
    [oracle@oel5 orcl]$ cp *.ctl /u01/app/oracle/oradata/orcltest/
    [oracle@oel5 orcl]$ cp *.dbf /u01/app/oracle/oradata/orcltest/
    [oracle@oel5 orcl]$ cp *.log /u01/app/oracle/oradata/orcltest/
    $ cd  /u01/app/oracle/oradata/orcltest/
    [oracle@oel5 orcltest]$ ls -l
    total 1607864
    -rw-r----- 1 oracle oinstall   7061504 Oct 19 00:19 control01.ctl
    -rw-r----- 1 oracle oinstall   7061504 Oct 19 00:19 control02.ctl
    -rw-r----- 1 oracle oinstall   7061504 Oct 19 00:19 control03.ctl
    -rw-r----- 1 oracle oinstall 104865792 Oct 19 00:20 example01.dbf
    -rw-r----- 1 oracle oinstall  52429312 Oct 19 00:21 redo01.log
    -rw-r----- 1 oracle oinstall  52429312 Oct 19 00:21 redo02.log
    -rw-r----- 1 oracle oinstall  52429312 Oct 19 00:21 redo03.log
    -rw-r----- 1 oracle oinstall 251666432 Oct 19 00:20 sysaux01.dbf
    -rw-r----- 1 oracle oinstall 513810432 Oct 19 00:20 system01.dbf
    -rw-r----- 1 oracle oinstall  30416896 Oct 19 00:20 temp01.dbf
    -rw-r----- 1 oracle oinstall 581967872 Oct 19 00:21 undotbs01.dbf
    -rw-r----- 1 oracle oinstall   5251072 Oct 19 00:21 users01.dbf
    source_LINK : Oracle10g Database Cloning | Naveen Kumar S.R.

  • Cold backup vs cold cloning

    Can anyone tell me the major difference between cold backup and cold cloning?
    Thanks
    Raj

    908291 wrote:
    Can anyone tell me the major difference between cold backup and cold cloning?
    There is no comparison of difference, since they are different thing.
    Cold Backup is a safe copy of existing database dismounted (i.e offline mode). The RMAN generated a new file which is read/write only by RMAN, also RMAN can generate a copy of database files on specific location.
    Cloud Cloning is a duplication of existing database with was backed up in offline mode. The RMAN restore database files which is read/write by a Instance.

  • Configure OEM after cold cloning

    Dear All
    After performing cold cloning ,I am trying to configure OEM which shows me error message in logfile,
    CONFIG: ORA-20001: SYSMAN already exists..
    Do I need to drop DBSNMP and SYSMAN schema and create repos from the beginning, if yes then is there any effect on database if I drop schemas.
    kindly post steps about configuring OEM after cold cloning .
    Database Version : 11.2.0.1
    Thanks.

    I'm not sure what you mean by "cold cloning." What version of EM are you using, and what is it you want to do?

  • Patching with  cold cloning

    Greeting to Everyone
    I  am running two virtual  machines.
    I  am going to do cold cloning from one server to another server in same host.
    vmware machine 01 :  testdb (10.2.0.4.0)
    vmware machine 02 :  no db is running (10.2.0.1.0) - Just i installed s/w only.
    Before cloning , i am  applying patch  on  10.2.0.1.0  binary  without database (only with $ORACLE_HOME) . then i i'll start cold cloning.
    >>>> Here problem  ---->  Without database and SID in vmware machine 02 , how can i stop dbconsole ?
    $ emctl stop dbconsole
    TZ set to Asia/Calcutta
    OC4J Configuration issue. /u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_oel5.testserver_TSH1 not found.
    Thanks in advance.

    Hi Daid
    I am asking my friends .. how can i share here .. just wait.
    As i said i have created database  using  dbca  and i did not execute catupgrd.sql script.
    After db creation i have executed following command.
    $ opatch lsinventory
    Invoking OPatch 10.2.0.4.2
    Oracle Interim Patch Installer version 10.2.0.4.2
    Copyright (c) 2007, Oracle Corporation.  All rights reserved.
    Oracle Home       : /u01/app/oracle/product/10.2.0/db_1
    Central Inventory : /u01/app/oracle/oraInventory
       from           : /etc/oraInst.loc
    OPatch version    : 10.2.0.4.2
    OUI version       : 10.2.0.4.0
    OUI location      : /u01/app/oracle/product/10.2.0/db_1/oui
    Log file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2013-10-22_18-17-38PM.log
    Lsinventory Output file location : /u01/app/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2013-10-22_18-17-38PM.txt
    Installed Top-level Products (2):
    Oracle Database 10g                                                  10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 3                            10.2.0.4.0
    There are 2 products installed in this Oracle Home.
    There are no Interim patches installed in this Oracle Home.
    OPatch succeeded.
    ------------------------------------------  COLD CLONING      -----------------------------------
    [oracle@oel5 ~]$ export ORACLE_SID=clonedb
    [oracle@oel5 ~]$ sqlplus /nolog
    SQL*Plus: Release 10.2.0.4.0 - Production on Tue Oct 22 18:28:12 2013
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    SQL> conn /as sysdba
    Connected to an idle instance.
    SQL> startup nomount pfile='/u01/app/oracle/admin/clonedb/pfile/initclone.ora' ;
    ORACLE instance started.
    Total System Global Area  608174080 bytes
    Fixed Size                  1268920 bytes
    Variable Size             188744520 bytes
    Database Buffers          415236096 bytes
    Redo Buffers                2924544 bytes
    SQL> @ctrl.sql;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    Control file created.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/u01/app/oracle/oradata/clonedb/system01.dbf'
    Thanks ..

  • Hot cloning & cold cloning

    i need hot cloning & cold cloning documents

    This is something strange to me. What do you mean by "hot cloning & cold cloning".Database cloning is part of Application cloning. When you clone Oracle Application, you need to run pre-clone and post-clone on both the application and database tiers. To clone the database, either you shut it down and copy the files (cold backup), or you can use RMAN to recreate the database (hot backup).
    What I know is, using Hot/Cold Database backup can be performed cloning of a database. How this cloning & cold cloning relates to Oracle ApplicationsAlready answered above.
    Only the possible method for Cloning Oracle Applications Release 11i/12i is with Rapid Clone.For non-AutoConfig enabled systems, you cannot use Rapid Clone. Instead, you need to follow the steps in "Cloning Oracle Applications Release 11i" paper/note.

  • Cloning : hot cloning and cold cloning

    hi
    how to clone in EBS R12.I am a core DBA student currenly working as trainee in EBS dba.
    can anyone explain ....
    i am requesting some details on hot cloning , cold cloning and user managed cloning techniques.
    in user managed cloning i need to run adpreclone.pl then copy some files then whats for when using rapid clone ??
    rgrds

    See the below metalink notes on cloning..
    Note 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    Note 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
    Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12
    Note: 216664.1 - FAQ: Cloning Oracle Applications Release 11i
    Hope this helps
    Regards
    http://www.oracleracexpert.com
    Click here for steps to [Oracle version upgrade from 10.2.0.x to 10.2.0.4
    http://www.oracleracexpert.com/2009/10/oracle-version-upgrade-from-1020x-to.html
    Click here to [Download Oracle Grid Control and ASMLib and Install
    http://www.oracleracexpert.com/2009/08/download-oracle-grid-control-and-asmlib.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Loose DBConsole configuration when database is cloned

    We recently moved to Oracle 10G and implemented the DBConsole. We have a test database that frequently gets overlaid by production. However, once the database is cloned, the console looses all its settings, and in many cases, have to be rebuilt. Is there a way to keep the Console in tact (backup settings, etc), while having the capabality to occasionally overlay the database?

    Hello,
    Are you using RMAN to clone? WHat do you mean loose dbconsole configuration? Aren't you able to login? Generally after clone all 3 following users generally get locked up ; DBSNMP, MGMT_VIEW, SYSMAN. Can you confirm is this the case with you? What type of setting beside backup setting you loose, jobs...? or chains?
    Regards

  • E-Business Suite Database Tier cloning failure

    Hi All,
    We are cloning a new Oracle E-Business Suite test instance from the cold backup of our production. Production is single instance/archive log enabled. However, the target instance is single instance/no archive log. the DB version is 11.1.0.7
    When i am running adcfgclone.pl on the database tier, it errors out with the following.
    APPS Password : Log file located at /db1/oratrng/db/tech_st/11.1.0/appsutil/log/TRNG_oradapp/ApplyDBTier_11081226.log
    | 50% completed RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    Mon Nov 8 12:35:16 2010
    ERROR: Failed to execute /db1/oratrng/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl
    The logfile shows the following errors:
    ORACLE instance started.
    Total System Global Area 1069252608 bytes
    Fixed Size 2109352 bytes
    Variable Size 427823192 bytes
    Database Buffers 624951296 bytes
    Redo Buffers 14368768 bytes
    Control file created.
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/db1/oratrng/db/apps_st/data/system01.dbf'
    alter tablespace TEMP1 add tempfile '/db1/oratrng/db/apps_st/data/temp01.dbf' REUSE
    ERROR at line 1:
    ORA-01109: database not open
    alter tablespace TEMP1 add tempfile '/db1/oratrng/db/apps_st/data/temp02.dbf' REUSE
    I tried by creating the controlfile manually too but it gave error when i tried to open the database:
    SQL> @crctl.sql
    ORACLE instance started.
    Total System Global Area 1069252608 bytes
    Fixed Size 2109352 bytes
    Variable Size 427823192 bytes
    Database Buffers 624951296 bytes
    Redo Buffers 14368768 bytes
    Control file created.
    ALTER DATABASE OPEN RESETLOGS
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/db1/oratrng/db/apps_st/data/system01.dbf'
    I tried to recover the above datafile.
    SQL> recover database using backup controlfile until cancel;
    ORA-00283: recovery session canceled due to errors
    ORA-00600: internal error code, arguments: [kcvhvdf_1], [], [], [], [], [], [],
    I tried another cold backup(we take cold backups every night) but facing the same issue with another backup also. That's why i think its not an issue with system.dbf file being corrupt.
    when i searched metalink for ORA-600 with kcvhvdf_1, i found that it is a bug in 11.1.0.7. bug 9314439.
    the bug says:
    The problem is that when the datafiles have zero DB ID=0=0x0, the 'create controlfile set database' command is not setting the new DB ID in the datafile headers but only in the controlfile. It then causes the ORA-600 [kcvhvdf_1] to be produced in the recovery due to DB ID mismatch between datafiles (select FHDBI from x$kcvfh) and controlfile (select DBID from v$database).
    I verified the above statement and found it true.
    SQL> select FHDBI from x$kcvfh;
    FHDBI
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    0
    select DBID from v$database;
    DBID
    551459957
    The bug states a work around:
    If using a cold backup (after a clean shutdown - NORMAL/IMMEDIATE), one workaround is to open the database right after the create controlfile (with no previous recover):
    CREATE CONTROLFILE SET DATABASE "DEV2" RESETLOGS ARCHIVELOG ...
    alter database open resetlogs;
    However, this workaround is not working for me.
    Kindly help. Its urgent.

    >
    We are cloning a new Oracle E-Business Suite test instance from the cold backup of our production...
    >
    >
    alter database open resetlogs
    ERROR at line 1:
    ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '/db1/oratrng/db/apps_st/data/system01.dbf'
    >
    This to me indicates that the backup was not a cold backup.
    HTH
    Srini

  • Database cold backup in oracle 10g

    Hi,
    oracle-10.2g
    solaris-10
    The oracle database i connected with the sun cluster 3.2(two node cluster), for taking the cold backup one of the resource(instance). When I shutdown the resource(instance) for taking the cold backup. The resource(instance) starts automatically again on the same node.
    Kindly provide me the solution for taking the cold backup by shutting down the instance.
    Regards
    Dravidan

    Here is the procedure for taking coldbackup:
    First shutdown the database then copy all the datafiles, tempfiles, control files and logfiles to a safe place using the select command. Then run the script as described here: http://tinyurl.com/bp85dmj

  • What are the steps of EBS 11i with database 9i cloning steps in WInd 2003.

    HI,
    Please provide the any metalink doc or private blog url for clonning the EBS 11i with database 9iR2 in windows 2003 OS.
    Regards

    Please provide the any metalink doc or private blog url for clonning the EBS 11i with database 9iR2 in windows 2003 OS.Cloning Oracle Applications Release 11i with Rapid Clone [ID 230672.1]
    Rapid Clone Documentation Resources, Release 11i and 12 [ID 799735.1]
    Please search the forum before posting similar questions as we answered this question many times in the forum before.
    Thanks,
    Hussein

  • After cold cloning a pvm guest no vms will start

    I cloned a powered down paravvirtualized oracle linux guest. I did an advanced clone and used a clone definition that specified non-sparse disk creation.
    I started the clone successfully and then tried to start the original guest up again but guest will not start. Restarted clone, and now clone also will not start. The guests remain locked, and the job must be aborted.
    Restarted ovmm service, but problem persists.
    Adminserver.log shows this error:
    ####<Jan 18, 2012 2:39:54 PM EST> <Error> <com.oracle.ovm.mgr.api.job.InternalJob> <ovmman2.highlinehosting.com> <AdminServer> <Odof
    Tcp Client Thread: /127.0.0.1:54321/167> <<anonymous>> <> <0000JJmJ3_IFo20CzzePOk1F5lql000002> <1326915594291> <BEA-000000> <Job Inte
    rnal Error (Operation)OVMAPI_4010E Attempt to send command: dispatch to server: ovmhost1.highlinehosting.com failed. OVMAPI_4004E Ser
    ver Failed Command: dispatch https://?uname?:[email protected]:8899/api/1 start_vm 0004fb0000030000e18af67c4c78ceb9 0004fb000006000067
    aaac6eb782b685, Status: org.apache.xmlrpc.XmlRpcException: utils.filelock.LockError:Lock file /var/run/ovs-agent/vm-start.lock failed
    : timeout occured.
    I tried removing the vm-start.lock file, but it just gets recreated and the guests still hang on startup.

    I am too facing the same issue ....
    Job failed commit (internal) due to OVMAPI_4010E Attempt to send command: start_vm to server: server1 failed. OVMAPI_4004E Server Failed Command: start_vm 0004fb00000300006e6465f3a1dfec5b 0004fb0000060000efeaf10f2610e8c7, Status: org.apache.xmlrpc.XmlRpcException: utils.filelock.LockError:Lock file /var/run/ovs-agent/vm-start.lock failed: timeout occured.
    Sun Jan 29 20:54:17 GST 2012
    Any suggestions !!!

  • Materialized view logs in cloned database

    Hi all!
    We have materlialized views and materlialized view logs in two separate databases which are connected with a database link. The MV logs are in DB1_PROD, which is the database being cloned. The database link goes from DB2_PROD (where the MVs are located) to DB1_PROD:
    DB2_PROD (materialized views) ----DB link---> DB1_PROD (materialized view logs)
    When cloning DB1_PROD to DB3_DEV, the MV logs still have a reference to DB2_PROD. However, there is no connection between DB3_DEV and DB2_PROD.
    In my opinion this is not harmful, but I would like to know if any of you can see any problems with this.
    In summary;
    DB1_PROD: Materialized view logs
    DB3_DEV: Materialized view logs. Clone of DB1_PROD
    DB2_PROD: Materialized views.
    DB1_PROD and DB3_DEV:
    select * from v$version;
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE     10.2.0.4.0     Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    DB2_PROD:
    select * from v$version;
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for Linux: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - ProductionPlease let me know if you need further information.

    Oracle automatically purges rows in the materialized view log when they are no longer needed. Because Oracle must wait for all dependent materialized views to refresh before purging rows from a materialized view log, unwanted situations can occur that cause a materialized view log to grow indefinitely when multiple materialized views are based on the same master table or master materialized view.
    For example, such situations can occur when more than one materialized view is based on a master table or master materialized view and one of the following conditions is true:
    Materialized view is not configured for automatic refreshes and has not been manually refreshed for a long time. OR
    Materialized view has an infrequent refresh interval, such as every year, etc
    You can also refresh the materialized views associated with the log so that Oracle can purge rows from the materialized view log.
    If a materialized view log needs to be purged manually for some reason a procedure called DBMS_MVEW.PURGE_LOG can be used.
    Edited by: user130038 on Sep 30, 2011 6:49 AM

  • DB cloning using cold backup

    Hi,
    I have a database cold backup. Need to open the database in a new server with that cold backup by applying the production archives on it. How to force fully apply the archives on it.????
    Regards,
    007

    Hi;
    Yes you can apply archivelog to your system.Please see
    Cold backup and Archived Logs
    Cold backup and Archived Logs
    Also see:
    http://www.dbasupport.com/forums/showthread.php?t=57932
    Regard
    Helios

  • Cloning A Database In Oracle 11g

    Hi All,
    I am cloning a database from one server to other server. I am using oracle 11g version:-
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Solaris: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    I am new to DBA and I need your help to perform this. I have done a installation of a database but cloning I am doing for the first time. The database size which I want to clone is of 6GB, so i won't think it will take much time to clone the database.
    While checking in google I come to know that the same thing can be performed by RMAN. Can anyone of you suggest me how to do this activity step by step.
    If you can share any links where I can see all of the steps it will be helpful.
    Thanks in advance.
    Regards,
    Arijit

    937670 wrote:
    Hi All,
    I am cloning a database from one server to other server. I am using oracle 11g version:-
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for Solaris: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    I am new to DBA Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    and I need your help to perform this. I have done a installation of a database but cloning I am doing for the first time. The database size which I want to clone is of 6GB, so i won't think it will take much time to clone the database.
    While checking in google I come to know that the same thing can be performed by RMAN. Can anyone of you suggest me how to do this activity step by step.
    If you can share any links where I can see all of the steps it will be helpful.
    In the above library, look for "Backup and Recovery User's Guide"
    Thanks in advance.
    Regards,
    Arijit

Maybe you are looking for

  • How do I get Apple to pay attention to IOS Mail Signature Issues?!!!!!

    IOS Signature..... OK, so I know this has been answered a number of times before and I have posted this at the request of senior advisors at Apple Customer Service who are also fed up with people complaining about the lack of basic functionality with

  • WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file

    <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file</b>           We are using WLS 7.0.4 - One of JMS connection factory setting in admin console we selected "Server Affinity" options.           We see this messages appear in

  • Can I see the IP addresses from where my account h...

    I know this is possible with several email providers, at least the location, if not the actual IP address. Does skype have this possibility? Any ideas?

  • Icloud session expired?

    i keep getting icloud messages saying my icoud session has expired.  Anyone else having this issue?  I also am having to change my password each time.  This is happening on all of my devices.

  • Access a method for a DB connection. HELP URGENT thnx

    Hi I am trying to create a method in another class to call another method that checks for userid in DB? What is the best way to set this up? I.e. calling method? //calling method below line private boolean setuserExist(String username) {      else re