DBXML database requires recovery often

I am running a dbxml database (2.4.13, DB: 4.7.25) with transactions. There are not many calls to the database daily (<200 on average), however it keeps exiting with an exception requesting that recovery be run:
Db Error: PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
almost daily, and interfering with the full system operation since it requires the database. I am not sure why this is happening so often. Any suggestions?
Doug

There is a strict requirement that write operations are done one at a time. You can get by without it if things are kinda slow but not consistenly. You can manage it with your own coding locks. Also, I experienced lots of issues with recovery when I had my database on a san mount. When I switched it to local machine, things got lots better.
http://www.oracle.com/technology/documentation/berkeley-db/xml/gsg_xml_txn/cxx/index.html

Similar Messages

  • ORA-10458: standby database requires recovery

    hi
    kindly help me... i got error when standby open in read only mode
    SQL*Plus: Release 11.2.0.3.0 Production on Sat Jan 19 14:37:46 2013
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup mount
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    Total System Global Area 5344731136 bytes
    Fixed Size 2237776 bytes
    Variable Size 1275071152 bytes
    Database Buffers 4060086272 bytes
    Redo Buffers 7335936 bytes
    Database mounted.
    SQL> Alter Database Recover Managed Standby Database Disconnect;
    Database altered.
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Database altered.
    SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-10458: standby database requires recovery
    ORA-01152: file 22 was not restored from a sufficiently old backup
    ORA-01110: data file 22: '/archive/data/undo01.dbf'

    hi CKPT
    I executed the action plan as you recommend and got below information;
    SQL> recover standby database;
    ORA-00279: change 5983485554580 generated at 01/01/2013 19:27:17 needed for
    thread 1
    ORA-00289: suggestion : /archive/PROD_1_750568044_45027.ARC
    ORA-00280: change 5983485554580 for thread 1 is in sequence #45027
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    '/archive/PROD_1_750568044_45400.ARC'
    ORA-00310: archived log contains sequence 45400; sequence 45027 required
    ORA-00334: archived log: '/archive/PROD_1_750568044_45400.ARC'
    ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
    ORA-01152: file 22 was not restored from a sufficiently old backup
    ORA-01110: data file 22: '/archive/data/undo01.dbf'
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01666: control file is for a standby database
    SQL> alter system switch logfile;
    alter system switch logfile
    ERROR at line 1:
    ORA-01109: database not open
    ---------------------------------- and some other activity but still not found any solution-------------
    RMAN> recover database until sequence
    2> 45026;
    Starting recover at 23-JAN-13
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/23/2013 16:42:47
    RMAN-06556: datafile 1 must be restored from backup older than SCN 5983484595990
    RMAN> recover database until sequence 45027;
    Starting recover at 23-JAN-13
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/23/2013 16:42:59
    RMAN-06556: datafile 22 must be restored from backup older than SCN 5983485554580
    RMAN> recover database until sequence 45025;
    Starting recover at 23-JAN-13
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 01/23/2013 16:43:09
    RMAN-06556: datafile 1 must be restored from backup older than SCN 5983484160276
    RMAN> alter database open resetlogs;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of alter db command at 01/23/2013 16:43:25
    ORA-01666: control file is for a standby database

  • ORA-16005 : database requires recovery

    Following error occurred while trying to open oracle datababse in read only mode
    $ sqlplus /nolog
    SQL> connect /as sysdba
    connected
    SQL>
    SQL> startup nomount
    ORACLE instance started
    Total System Global Area 612368384 bytes
    Fixed Size 1281504 bytes
    Variable Size 163578400 bytes
    Database Buffers 415236096 bytes
    Redo Buffes 32272348 bytes
    SQL>
    SQL> alter database mount ;
    Database altered
    SQL> alter database open ready only ;
    alter database open ready only
    ERROR at line 1:
    ORA-16005: database requires recovery
    SQL>
    Since database is in No Archive mode why it is giving ORA-16005 error while starting a databse in ready only mode ????

    ORA-16005 database requires recovery
    Cause: The database requires recovery, and therefore cannot be opened for read-only access by this instance.
    Action: Perform the necessary recovery and re-open for read-only access.
    Oracle says as above. Please perform the recovery and then open the database in read only mode. We are unaware about what happened before.

  • Backup database required recovery

    Hello all,
    I am trying to perform hot backup and recovery, the bckup was taken and then im getting this error.
    iam using oracle 11.2.0.1.0 and on windows environment.
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database required recovery
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'C:\APP\USER\ORADATA\PROD3\SYSTEM01.DBF'

    SQL> startup
    ORACLE instance started.
    Total System Global Area 2555445248 bytes
    Fixed Size 2178456 bytes
    Variable Size 1577058920 bytes
    Database Buffers 956301312 bytes
    Redo Buffers 19906560 bytes
    Database mounted.
    ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database required recovery
    ORA-01195: online backup of file 1 needs more recovery to be consistent
    ORA-01110: data file 1: 'C:\APP\USER\ORADATA\PROD3\SYSTEM01.DBF'
    SQL> select hxfil FILENUMBER,fhsta STATUS,fhscn SCN,fhrba_Seq SEQUENCE from x$kc
    vfh;
    FILENUMBER STATUS SCN SEQUENCE
    1 8193 20030487 15
    2 1 20030487 15
    3 1 20030487 15
    4 1 20030487 15
    5 1 20030487 15
    6 4 20032393 19
    7 4 20032393 19
    7 rows selected.

  • Wait on the Database Engine recovery handle failed. Check the SQL server error log for potential causes in SQL Server 2012 Developer Edition

    I m using SQL Server 2012 Developer Edition. Even I tried 2012 express and enterprise edition but all
    gave same error. I browsed msdn blog. But nothing help me out.
    Below is the error log details--
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2013-10-21 12:58:05
      End time:                      2013-10-21 13:52:30
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for RS:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for DQ:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  CROY-TOSH
      Machine processor count:       4
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         C:\Users\CRoy\Downloads\SQL Server 2012 Developer Edition (x86 and x64) - DVD (English)\x64\setup\
      Installation edition:          Developer
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 NT Service\SQLSERVERAGENT
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Manual
      ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Backup
      ASCOLLATION:                   Latin1_General_CI_AI
      ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Config
      ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Data
      ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  NT Service\MSSQLServerOLAPService
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            CRoy-TOSH\CRoy
      ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS11.MSSQLSERVER\OLAP\Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   ROY
      CLTRESULTDIR:                  C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
      CLTSTARTUPTYPE:                Manual
      CLTSVCACCOUNT:                 NT Service\SQL Server Distributed Replay Client
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
      CTLRSTARTUPTYPE:               Manual
      CTLRSVCACCOUNT:                NT Service\SQL Server Distributed Replay Controller
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     CRoy-TOSH\CRoy
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, RS, RS_SHP, RS_SHPWFE, DQC, BIDS, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
      FILESTREAMLEVEL:               2
      FILESTREAMSHARENAME:           MSSQLSERVER
      FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  false
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT Service\MsDtsServer110
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          <empty>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              SharePointFilesOnlyMode
      RSSVCACCOUNT:                  NT Service\ReportServer
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  Latin1_General_CI_AI
      SQLSVCACCOUNT:                 NT Service\MSSQLSERVER
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           CRoy-TOSH\CRoy
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    0
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\ConfigurationFile.ini
    Detailed results:
      Feature:                       Management Tools - Complete
      Status:                        Passed
      Feature:                       Client Tools Connectivity
      Status:                        Passed
      Feature:                       Client Tools SDK
      Status:                        Passed
      Feature:                       Client Tools Backwards Compatibility
      Status:                        Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      Feature:                       SQL Server Data Tools
      Status:                        Passed
      Feature:                       Reporting Services - Native
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Data Quality Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Full-Text and Semantic Extractions for Search
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Master Data Services
      Status:                        Passed
      Feature:                       Distributed Replay Client
      Status:                        Passed
      Feature:                       Distributed Replay Controller
      Status:                        Passed
      Feature:                       Integration Services
      Status:                        Passed
      Feature:                       Data Quality Client
      Status:                        Passed
      Feature:                       Analysis Services
      Status:                        Passed
      Feature:                       Reporting Services - SharePoint
      Status:                        Passed
      Feature:                       Reporting Services Add-in for SharePoint Products
      Status:                        Passed
      Feature:                       SQL Browser
      Status:                        Passed
      Feature:                       Documentation Components
      Status:                        Passed
      Feature:                       SQL Writer
      Status:                        Passed
      Feature:                       SQL Client Connectivity
      Status:                        Passed
      Feature:                       SQL Client Connectivity SDK
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20131021_125116\SystemConfigurationCheck_Report.htm

    Hi,
    This 3rd time I followed this link. But nothing new, same error.
    Can you please tell me how to do follow, I cannt do the 1st step, how to change the local system to windows level account, vice-versa. It is shown mine as
    Server Configuration Manager(Local) 
    From here I folllowed the steps ---[I cannt insert link/image :-(]
    SQL 2008/R2 setup fails with "Wait on the database engine recovery handle failed" 
    If I right clicked on SQL Server Service, there is no option to change the account. 
    Hello,
    Thanks for your patience,did you tried stesp mentioned in below article
    http://blogs.msdn.com/b/sqljourney/archive/2012/03/16/sql-2008-r2-setup-fails-with-quot-wait-on-the-database-engine-recovery-handle-failed-quot.aspx
    To resolve it, follow these steps:-
    When the installation throws this error, click on OK and allow it to proceed. It will fail for Database Engine, but the SQL Server service should have
    been created. Check the Services console.
    If the service is present, perform the following steps:-
    1. Go to SQL Server Configuration manager, right click on the SQL Server service, and change the service account (if it is local system, give
    it a windows level account, and vice-versa). It might throw a WMI error but you will see the account getting updated anyway. If not, then use the Services console. Change the account for SQL Agent as well.
    Use this link to change sql server service account
    http://technet.microsoft.com/en-us/library/ms345578.aspx
    2. Next, try to start the service. It should come online.
    3. However, you will not be able to log in to the SQL Server
    4. Now stop the service and start it from the command prompt using -m -c -T3608 parameters.
    5. Now try logging in to the server using admin connection from sqlcmd (sqlcmd admin:<server name>\<instance name> ...)
    6. Once logged in, use the sp_addsrvrolemember '<domain\username>','sysadmin'.
    Also add the builtin/administrators to the sysadmin role
    7. Now stop the service from the command prompt and start it from SQL Server configuration manager
    You should be able to log in to the server now.
    Hope this helps someone.
    Please revert if it helps or even if it does not
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • RMAN-06067: RECOVER DATABASE required with a backup or created controlfile

    Hi,
    DB:9.2.0.8
    OS: AIX 5.3
    I am restoring DB with until time(12/06/2012) for needed tablespaces.
    I restored the 12th date controlfile ,which is backed up with archivedlogs. I also have one more controlfile which backed up with full DB..
    Restore of tablespaces are completed..
    When recovery is going , failed with following error..
    allocated channel: c7
    channel c7: sid=22 devtype=SBT_TAPE
    channel c7: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
    allocated channel: c8
    channel c8: sid=21 devtype=SBT_TAPE
    channel c8: VERITAS NetBackup for Oracle - Release 5.1 (2006040520)
    executing command: SET until clause
    Starting recover at 23-06-2012 02:00:15
    released channel: c1
    released channel: c2
    released channel: c3
    released channel: c4
    released channel: c5
    released channel: c6
    released channel: c7
    released channel: c8
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 06/23/2012 03:36:57
    RMAN-06067: RECOVER DATABASE required with a backup or created controlfile
    RMAN>
    Restore Script:
    connect target /
    connect catalog rmanc/recom@lgn_rmanc
    run {
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    allocate channel c3 type 'SBT_TAPE';
    allocate channel c4 type 'SBT_TAPE';
    allocate channel c5 type 'SBT_TAPE';
    allocate channel c6 type 'SBT_TAPE';
    allocate channel c7 type 'SBT_TAPE';
    allocate channel c8 type 'SBT_TAPE';
    allocate channel c9 type 'SBT_TAPE';
    allocate channel c10 type 'SBT_TAPE';
    allocate channel c11 type 'SBT_TAPE';
    allocate channel c12 type 'SBT_TAPE';
    set until time '12-06-2012 00:01:26';
    restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    release channel c5;
    release channel c6;
    release channel c7;
    release channel c8;
    release channel c9;
    release channel c10;
    release channel c11;
    release channel c12;
    Recover Script:
    connect catalog rmanc/recom@lgn_rmanc
    connect target /
    run {
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    allocate channel c3 type 'SBT_TAPE';
    allocate channel c4 type 'SBT_TAPE';
    allocate channel c5 type 'SBT_TAPE';
    allocate channel c6 type 'SBT_TAPE';
    allocate channel c7 type 'SBT_TAPE';
    allocate channel c8 type 'SBT_TAPE';
    set until time '12-06-2012 00:01:26';
    recover tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    release channel c1;
    release channel c2;
    release channel c3;
    release channel c4;
    release channel c5;
    release channel c6;
    release channel c7;
    release channel c8;
    Any suggestion in this is helpful to me..
    Thanks in advance,

    Hello;
    I read your post and here's the thoughts that came to mind : ( my largest concern is you might restore something that damages your current system )
    1. So you want to restore the whole DB back to 12/06/2012 to get some tablespaces from then right?
    2. Are you restoring to a different system?
    3. How did you start the database ( NOMOUNT, MOUNT )
    4. If you are restoring the whole DB back to 12/06/2012 how did you restore the control file?
    5. Your command shows :
    restore tablespace SYSTEM,UNDO_GEN01,UNDO_GEN02,TAB_80K_GENCON,TAB_25M_GENCON;
    COMMENT : Generally I use recover tablespace for point in time recovery and use an auxilary destination.
    Meaning I don't use restore at all, in fact using restore may cause an issue.
    SUMMARY : I don't see how this will work as is.
    It seems you want data from five tablespaces from about six months ago including the SYSTEM tablespace.
    This is an Incomplete Recovery. I believe I would rethink this completely.
    Give the time that has past I would consider restoring the whole database to a different server where cannot damage anything.
    Once this is done I would decide how to get the data I need.
    Or I would check for a daily export file and recover the tablespace data that way.
    So you have some good details on your question but it seems the plan is either missing something or you need to add a few more details.
    Example
    I'm recovering old tablespaces into a test system.
    Here's how I'm not damaging my current production system.
    I don't have an export from that date.
    So take a step back and either rethink or give a few more details on how this is safe.
    Best Regards
    mseberg

  • Databases in Recovery Pending state

    Dear all,
    Need your expertise to understand bit more. 
    Yesterday i came across databases in "Recovery Pending" state problem.
    Followed too many recommendations form Google but to no avail.
    e.g. http://dbamohsin.wordpress.com/2012/01/23/cannot-detach-a-suspect-or-recovery-pending-database/
    Plucked some leafs from Paul Randal's articles as well http://www.sqlskills.com/blogs/paul/post/Search-Engine-QA-4-Using-EMERGENCY-mode-to-access-a-RECOVERY-PENDING-or-SUSPECT-database.aspx
    But none of them could fixed my problem. 
    What i did:
    I installed 2008 r2 on a machine (DEV) which already had 2008; yea instance name was different.
    Had to restart the server so i did (yea, i gave all developers enough time but due to some reasons databases were in recovery pending mode).
    After restart, some databases (not all) were in recovery pending state. Above links provided enough stuff to recover them but didnt work. For instance after setting database in Emergency mode, it stayed there for ages telling something like "Database is
    being recovered, wait until recovery is finished".
    How i fixed it:
    I attached them onto the newly created 2008 r2 instance. Made them offline (on old instance) in case there is any access conflict. Didnt get any error, like files are in use or something,  while attaching them (which raised an eyebrow).
    Couple of things i noticed after new instance's installation:
    While trying to reattach database on same old instance, I wasn't able to see the .mdf and .ldf files form there respective drives. But i was able to see from the new instance.
    WHY?
    Both sql server services (old and new) were using same service account. When i gave service account enough ntfs permissions on the drive i was able to see all .mdf and .ldf files.
    Questions are:
    1) Why it wasnt the case before? Important to note here: service accounts were local admins on the server.
    (I think i am answering myself here...would love to get more insight on it).
    2) Is it normal that i just have 2008r2 tools in Start>>Program. e.g. there is just 2008 r2 management studio not 2008 one etc.
    Dont want to let this happen in production environment (i will have backups though), so is there any approach you guys are using to avoid it.
    I hope i made myself clear here, or let me know.
    Thanks in advance for any help.
    Dinkar Chalotra

    If you dont need your log file, you can:
    Detach your database
    Move the log file to other place
    Attach back the database and from the file list, remove the ldf
    SQL server will create a new log file and the database will be online again.
    Escarcha

  • Mirror Database shows Recovery state in Database mirroring in sql 2012

    Hi I am working on DBmirroring and have encountered problem of mirror database showing recovery state.
    I tried to resolve issue by removing database mirroring from principal ,removing endpoints from both the nodes and
    finally firing alter database db1 set partner off statement also.But when reconfigure dbmirroring on principal it does not allow
    start dbmirroring and mirror database db1 comes in to recovery state from restoring stage.
    srm_2010

    ok in that case why it is not allowing me to configure db mirroring when I am trying from SSMS.It gives an error.tell me????
    srm_2010
    And what is the error ? If while configuring mirroring it fails for some reason you have to make sure the mirror database which has gone in recovery state needs to be brought in restoring state.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Production database requirements

    Hi,
    Please give me some suggestions for the following requirements. This for a production database. Database - Oracle 9.2.0.1.0
    1. Harware reqiurements
    2. Database requirements
    3. OS requirements
    Regards,
    Mathew

    Windows
    http://download.oracle.com/docs/html/A95493_01/toc.htm
    Unix
    http://download.oracle.com/docs/html/A96167_01/toc.htm
    BTW - It comes with the CD or Download

  • Restore a log backup on to database whose recovery model is SIMPLE ?

    Hi All,
    Today, it was new thing I found when I was testing some log shipping?
    Question is can we restore a LOG BACKUP on a database whose recovery model is SIMPLE?
    Brief background:
    I setup log shipping in SQL Server 2012 SP1 Enterprise Edition between 2 instances. Log shipping is in Standby/readonly mode. So, everything was working very fine...
    Now I changed the recovery model of secondary database on 2nd instance from Full to SIMPLE, still the restores are happening very fine. So, is this a normal behavior? other thing is once after restore job is complete the recovery model is getting changed to
    FULL automatically on secondary db and I verify it before and after restore job using below query:
    select name,recovery_model_desc from sys.databases
    Based on my knowledge when a database is in SIMPLE recovery model, we can't perform any log backups on the database and since no log backups, we cant perform Point in Time recovery?
    Please clarify what I am seeing is normal ? Also, would like to know what is happening behind the scenes?
    Thanks and appreciate your help.
    Sam

    Hi,
    >>Question is can we restore a LOG BACKUP on a database whose recovery model is SIMPLE?
    Yes you can restore Log backup on database which is in simple recovery.
    You must understand what recovery model is for. Recovery model affects Logging and recovery of a database it does not puts restriction on what can be restore on it. Of course you cannot take log backup of database in simple recovery but you can restore.
    Reason being in simple recovery log is truncated after checkpoint (unless something is holding logs like long running transaction). Recovery model also controls the extent of logging which would be done for transaction and hence recovery which you can do
    PS: Dont play with logshipping like this which is configured on prod environment
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Registering Clone database in Recovery catalog

    Can we able to register the clone database in recovery catalog database without changing dbid?
    I don't want to use dbid utility.
    Is that any parameter?
    Regards,
    Latha

    Well you can register it without changing any parameters in oracle 10.2
    That does not mean you should do it.
    I would have answered as follows:
    It is not a good idea to register a clone database in the same recovery catalog as the original database as the recovery catalog uses the dbid to identify the database and having two databases with the same dbid essentially corrupts the recovery catalog.
    If you change the dbid then it is perfectly okay to store the cloned database in the same recovery catalog.

  • RMAN-06067: RECOVER DATABASE required with a backup or created control file

    Hi,
    Oracle version :10.2.04
    I recovered control files
    RMAN> restore controlfile to '/oracle/ora10gr4/dbs/nis.ctl';
    Starting restore at 21-AUG-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: restoring control file
    output filename=/oracle/ora10gr4/dbs/nis.ctl
    channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/data_idx1/ORAMIG/OMIGTEST/cfc-260103938-20120821-03 tag=TAG20120821T152259
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:03
    Finished restore at 21-AUG-12after this i got the below error when i tried to open DB.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1:
    '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf'So i tried the following.
    RMAN> restore datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
    Starting restore at 21-AUG-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile backupset restore
    channel ORA_DISK_1: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to /data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf
    channel ORA_DISK_1: reading from backup piece /data_idx1/ORAMIG/OMIGTEST29_1_791910787
    channel ORA_DISK_1: restored backup piece 1
    piece handle=/data_idx1/ORAMIG/OMIGTEST29_1_791910787 tag=TAG20120821T151306
    channel ORA_DISK_1: restore complete, elapsed time: 00:00:15
    Finished restore at 21-AUG-12
    RMAN> recover  datafile '/data_idx1/ORAMIG/OMIGTEST/DATA_FILES/system_1_OMIGTEST.dbf';
    Starting recover at 21-AUG-12
    using channel ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 08/21/2012 16:21:45
    RMAN-06067: RECOVER DATABASE required with a backup or created control fileCan anyone pls help me with this error?
    Thanks

    Hi,
    Try this command after restore control file.
    RMAN>  restore database;
    RMAN> recover database;
    RMAN> alter database open resetlogs;Paste here result, if you are get error.
    Regards
    Mahir M. Quluzade
    www.mahir-quluzade.com

  • What is Minimum database requirement for EBS R12

    What is Minimum database requirement for EBS R12? for example if it works only with enterprise edition or with standard edition also.
    Regards,
    Sandeep V

    Question is very interesting and very important. The link does not answer if "standard edition" can be used. Obviously, Rapid Install installs EE database. But we can move the database to another dedicated database server.
    And the question becomes "Can we move it to a Standard Edition database server"? Huge ramifications on costs. Extremely important. Nowhere I could find positive answer. I wonder if anyone had found an answer?AFAIK, it is not supported.
    My own research shows that VIS database (built at home) has partitioned tables in APPLSYS and APPS schemas. Partitioning is not supported in Standard Edition.Correct.
    I wonder if we can migrate the database and manually move several partitioned tables into non-partitioned Standard Edition. Will EBS R12 break? Will Oracle Support cancel its support?Oracle will not support this -- Please log a SR to confirm this with Oracle Support.
    Thanks,
    Hussein

  • Database required support files libraries v9.0.1.3

    Does anyone know that where can I download database required support files libraries v9.0.1.3?
    Thanks,
    Leah

    Does anyone know that where can I download database required support files libraries v9.0.1.3?
    Thanks,
    Leah

  • Database in recovery mode

    The last log for my database in sql error log is
    Recovery of database 'DBNAME' (37) is 18% complete (approximately 111 seconds remain). Phase 3 of 3. This is an informational message only. No user action is required.
    Its been more than 7hrs now & still the recovery is not completed. My database is 7gb in size. When I check sp_who2 " i see the the DBCC session is blocked by -3 spid. The session is not getting killed & i don't get any info on how i can kill session
    blocked by spid -3. Any thoughts on this 

    all sql folders/db files are exempted from antivirus scan. there is no update in sql error log on percentage completed,
    the last update was 7hrs ago (18%).
    sql version SQL 2008 R2 SP1 enterprise edition. cannot find what is running against spid -3,  dbcc inputbuffer (-3) gives invalid spid error. I referred this link http://www.sqlskills.com/BLOGS/PAUL/post/Disaster-recovery-101-dealing-with-negative-SPIDS-(-2-and-3).aspx. 
    as mentioned in link I don't get deferred transaction that has a transaction status with the 0x80000. I did not find much information on resolving spid -3
    blocks even after lot of search. As last measure we have decided to drop the database & restore from the backup.

Maybe you are looking for

  • How do I send photos in an iMessage to someone without an ipad?

    I took photos on my iPhone and I need to attach them to an email for an insurance company, but I am not having any luck.  I tried uploading them to the Cloud, but the agent couldn't retrieve them.  Any suggestions?

  • Use iPad as portable mac with Tiger?

    I need a walk around the house using an adjunct to my Mac Mini (2005 pre intel)  I now sit too long typing on the desktop keyboard and blood accumulates in the 85 year old legs and feet. Being able to take whatever file is being worked on and having

  • Customer Credi and Debit

    Hi , I need to display the Total credit and debit of customer in a Report . Is there any Transaction available to see the Total Debit and Credit of Customer ? If yes give the transaction code ? Which Table stores that Customer credit and Debit Detail

  • IAS oem web creating user accounts

    Does anyone know of a way to grant access to users so they can access oem through the web? I want to grant access to managers to view reports that have been accessed on IAS. Is there a way to create/grant access to users other than the ias_admin user

  • Full screen view command F12 not working

    How do I get my program FCP to give a full screen view. I used to be able to do this     View> external video > all frames     or command F 12. Catherine