error in the backup database

Hello

I'll put up the previous day datbase (9i release 2), I followed all the steps, the archived logs are transported

from the primary to the mode standby.

When I run sql > alter datbase opened read-only. at the rescue site, it gives the following error

ERROR on line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: ' C:\ORACLE\BKP\PAYROLL\SYSTEM01. DBF'

data files are located at "C:\ORACLE\BKP\".

but I'm not able to understand, where he adds directory pays its way

I checked pfile/spfile and re-created control file

It doesn't give any error at the point of Mount, but - opening in read only mode datbase error


his same showing different location of data files


SQL > select FILE #, CREATION_TIME, TS #, STATUS, ENABLED, NAME from v$ datafile;

FILE # CREATION_ TS # STATUS ENABLED NAME
---------- --------- ---------- ------- ---------- ------------------------------------------------------------
1 12 MAY 02 0 SYSTEM READ/WRITE C:\ORACLE\BKP\PAYROLL\SYSTEM01. DBF
2 12 MAY 02 1 READ/WRITE C:\ORACLE\BKP\PAYROLL\UNDOTBS01 ONLINE. DBF
3 12 MAY 02 3 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\CWMLITE01. DBF
4 12 MAY 02 4 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\DRSYS01. DBF
5 12 MAY 02 5 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\EXAMPLE01. DBF
6 12 MAY 02 6 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\INDX01. DBF
7-12 MAY 02 7 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\ODM01. DBF
8-12 MAY 02 8 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\TOOLS01. DBF
9-12 MAY 02 9 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\USERS01. DBF
10-12 MAY 02 10 ONLINE READ/WRITE C:\ORACLE\BKP\PAYROLL\XDB01. DBF

but the real place is C:\ORACLE\BKP\

Published by: user7864753 on October 19, 2009 17:33

You use in your standby init.ora file parameter

 DB_FILE_NAME_CONVERT='C:\oracle\oradata\','C:\oracle\bkp\ 

It takes DB_FILE_NAME_CONVERT = 'C:\oracle\oradata\payroll\','C:\oracle\bkp\

Make that change and try again. Before attempting to open the day before in mode readonly make sure that this expectation is able to run in managed mode.
As your alert.log file shows that whenever tryes standby to run in managed mode, it is written error. So, logacially, your standby configuration isn't always
completed. So, you cannot open the database pending.

Tags: Database

Similar Questions

  • Error recovery in the backup database

    I got the following error to the standby database. No idea what this means and how can I get it without a full clone.


    Kills Aug 14 17:23:32 2012
    Recovery Media Log /spdata07/SPDB/fra/FINSP_GDRSD_LISTENER_NL/archivelog/2012_08_10/o1_mf_1_11131_82bmbgvs_.arc
    Kills Aug 14 17:23:32 2012
    Errors in the /spdata07/ora_11202/product/dbhome/rdbms/log/spdb_pr00_24915.trc file:
    [ORA-00600: internal error code, arguments: [2619], [11131], [], [], [], [], [], [], [], [], []]
    Completed: alter the managed standby database recovery database using the current log file disconnect from the session
    Use ADRCI or Support established for the packaging of the incident.
    See Note 411,1 to My Oracle Support to error and packaging details.
    Errors with /spdata07/SPDB/fra/FINSP_GDRSD_LISTENER_NL/archivelog/2012_08_10/o1_mf_1_11131_82bmbgvs_.arc newspaper
    MRP0: Background Media Recovery terminated with error 600
    Kills Aug 14 17:23:34 2012
    Errors in the /spdata07/ora_11202/product/dbhome/rdbms/log/spdb_pr00_24915.trc file:
    [ORA-00600: internal error code, arguments: [2619], [11131], [], [], [], [], [], [], [], [], []]
    Managed Standby recovery not using real time applies
    Recovery interrupted!


    spdb_pr00_24915.TRC trace file:




    Has started the recovery of parallel media
    krsh.c 17:23:31.503 4265 2012-08-14
    Managed Standby recovery to apply in real time
    Dumping table incarnation of database:
    RESETLOGS 0 Yvert and time: 22/05/2012 0x0000.00000001 20:55:23
    Incarnation of recovery targets = 1, activation ID =-328156793
    The flow buffer limit = 55611 min (50% x 111222, 100000)

    2012-08-14 17:23:32.106
    Start the recovery to the thread 1 ckpt SNA 26430758 logseq 11131 block 2
    Initial size of the buffers: read 1024K, K 820 overflow, change 805K

    2012-08-14 17:23:32.132
    Add a Media Recovery redo thread 1

    2012-08-14 17:23:32.249
    Recovery Media Log /spdata07/SPDB/fra/FINSP_GDRSD_LISTENER_NL/archivelog/2012_08_10/o1_mf_1_11131_82bmbgvs_.arc
    = Critical error (any incident) dump (ORA 600 [2619]) =.

    2012-08-14 17:23:32.315
    dbkedDefDump(): from the default crash dumps (flags = 0 x 0, level = 3, mask = 0 x 0)
    -Error stack dump-
    [ORA-00600: internal error code, arguments: [2619], [11131], [], [], [], [], [], [], [], [], []]
    -SQL statement (none).
    Run SQL information not available - no cursor.
    -Call trace stack memory-

    ORA-00600 = open an SR to MyOracleSupport.

  • Still some errors in the backup, but this time less.

    Still some errors in the backup, but this time less.

    RMAN > backup database;

    From backup 13 / SEP / 17

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 26 type of device = DISK

    channel ORA_DISK_1: starting full datafile from backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/09/2013 20:18:25

    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode

    continue other job steps, not a not working will not re-run

    channel ORA_DISK_1: starting full datafile from backup set

    channel ORA_DISK_1: specifying datafile (s) in the backup set

    including the current control in the backup set file

    including current SPFILE in the backup set

    channel ORA_DISK_1: starting piece 1 13 / SEP / 17

    channel ORA_DISK_1: finished piece 1 13 / SEP / 17

    piece handle=/u01/app/oracle/flash_recovery_area/DB11GR2/backupset/2013_09_17/o1_mf_ncsnf_TAG20130917T201824_93kwblqh_.bkp tag = TAG20130917T201824 comment = NONE

    channel ORA_DISK_1: complete set of backups, time: 00:00:01

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/09/2013 20:18:25

    ORA-19602: no backup or copy of current file in NOARCHIVELOG mode

    RMAN >

    Please can someone tell why I have errors?

    Thank you. Dan.

    Why you send messages again the same question?

    https://forums.Oracle.com/thread/2582524

    Thank you!!

  • Backup failed with error 18: the backup drive is not found

    Hello

    My guard time capsule saying "Backup failed" for a few days and I cannot access the old backup files either (when I enter my time machine it shows 'today', which is kind of scary, although I know that my old files is still there). I tried many ways to trouble shoot this problem, but none of this has worked. In my opinion, it's more a network problem and I made sure I connect Wi - Fi even my time capsule created.

    So far I have tried:

    -Delete the files from my internet (com.apple.airport.preferences.plist; preferences.plist and NetworkInterfaces.plist, etc.) and restart my mac

    -Remove TimeMachine.plist and restart my mac

    -Hard reset of my time capsule. Went through all configurations with success but then still backup missed (I hear the running time capsule when it is by train).

    I share this time capsule with my wife and she has no problem with that.

    I can only think of a possible alternation I did which could cause this problem.

    Because of unstable WiFi problem, I had deleted

    com Apple.Airport.Preferences.plist

    com.Apple.Network.identification.plist

    NetworkInterfaces.plist

    Preferences.plist

    or other files and reboot my mac * before * I had this problem with time capsule.

    However, this is not the first time I do it, and it wasn't a problem before...

    This could be the reason? If so, how to restore the network settings?

    Please help me with this problem. Really appreciate!

    Ted

    Here is a copy of the Console:

    24/02/16 2:44:19.308 AM com.apple.backupd [857]: from manual backup

    24/02/16 2:44:19.309 AM com.apple.backupd [857]: Destination Time machine could not be found (url: destinationID (null): AB78050D-4852-489D-9CBF-88727FBC8047)

    24/02/16 2:44:19.313 AM com.apple.backupd [857]: backup failed with error 18: the backup drive is not found.

    24/02/16 2:44:35.326 AM com.apple.backupd [857]: NAConnectToServerSync failed with the error: 64 (host is out of service) for url: afp://Ted%20Ling; AUTH=SRP@Flymi's%20AirPort%20Time%20Capsule._afpovertcp._tcp.l ALCO. / data

    24/02/16 2:45:29.976 AM com.apple.backupd [857]: attempt to mount the destination network URL: afp://Ted%20Ling; AUTH=SRP@Flymi's%20AirPort%20Time%20Capsule._afpovertcp._tcp.l ALCO. / data

    24/02/16 2:45:29.976 AM com.apple.backupd [857]: error - 35 during the resolution of the backup destination alias

    24/02/16 2:45:29.976 AM com.apple.backupd [857]: attempt to mount the destination network URL: afp://Ted%20Ling@TJ's%20AirPort%20Time%20Capsule._afpovertcp._tcp.local./Data

    24/02/16 2:45:30.668 AM com.apple.backupd [857]: destination network mounted at the mounting point: / Volumes/data using URL: afp://Ted%20Ling@TJ's%20AirPort%20Time%20Capsule._afpovertcp._tcp.local./Data

    24/02/16 2:45:50.428 AM com.apple.backupd [857]: impossible to eject the volume/Volumes/Data (FSVolumeRefNum:-111; status:-47; dissident pid: 0)

    24/02/16 2:45:50.428 AM com.apple.backupd [857]: wait 60 seconds and try again.

    24/02/16 2:45:59.981 AM com.apple.backupd [857]: NAConnectToServerSync failed with the error: 64 (host is out of service) for url: afp://Ted%20Ling; AUTH=SRP@Flymi's%20AirPort%20Time%20Capsule._afpovertcp._tcp.l ALCO. / data

    24/02/16 2:46:42.807 AM com.apple.backupd [857]: Timed out while solving Hello destination: afp://Ted%20Ling; AUTH=SRP@Flymi's%20AirPort%20Time%20Capsule._afpovertcp._tcp.l ALCO. / data

    24/02/16 2:46:42.812 AM com.apple.backupd [857]: from manual backup

    24/02/16 2:46:42.814 AM com.apple.backupd [857]: the airport of Destination Flymi Time Capsule could not be found (url: afp://Ted%20Ling;) AUTH=SRP@Flymi's%20AirPort%20Time%20Capsule._afpovertcp._tcp.l ALCO. (/ data destinationID: B2187361-58BC-4D33-A7AC-1DDC429ABF3B)

    24/02/16 2:46:42.825 AM com.apple.backupd [857]: backup failed with error 18: the backup drive is not found.

    24/02/16 2:46:42.833 AM com.apple.backupd [857]: from manual backup

    24/02/16 2:46:50.544 AM com.apple.backupd [857]: network destination already mounted to: / Volumes/data

    24/02/16 2:46:50.604 AM com.apple.backupd [857]: network destination already mounted to: / Volumes/data

    24/02/16 2:47:16.683 AM com.apple.backupd [857]: impossible to eject the volume/Volumes/Data (FSVolumeRefNum:-111; status:-47; dissident pid: 0)

    24/02/16 2:47:16.683 AM com.apple.backupd [857]: wait 60 seconds and try again.

    24/02/16 2:48:20.566 AM com.apple.backupd [857]: network destination already mounted to: / Volumes/data

    24/02/16 2:48:44.360 AM com.apple.backupd [857]: impossible to eject the volume/Volumes/Data (FSVolumeRefNum:-111; status:-47; dissident pid: 0)

    24/02/16 2:48:44.360 AM com.apple.backupd [857]: wait 60 seconds and try again.

    24/02/16 2:49:48.014 AM com.apple.backupd [857]: network destination already mounted to: / Volumes/data

    24/02/16 2:50:11.885 AM com.apple.backupd [857]: impossible to eject the volume/Volumes/Data (FSVolumeRefNum:-111; status:-47; dissident pid: 0)

    24/02/16 2:50:11.885 AM com.apple.backupd [857]: give up after 3 attempts.

    24/02/16 2:50:11.903 AM com.apple.backupd [857]: backup failed with error 21:21

    24/02/16 2:50:27.245 AM com.apple.backupd [857]: impossible to eject the volume/Volumes/Data (FSVolumeRefNum:-111; status:-47; dissident pid: 0)

    24/02/16 2:50:27.250 AM com.apple.backupd [857]: from manual backup

    24/02/16 2:50:27.250 AM com.apple.backupd [857]: Destination Time machine could not be found (url: destinationID (null): AB78050D-4852-489D-9CBF-88727FBC8047)

    24/02/16 2:50:27.257 AM com.apple.backupd [857]: backup failed with error 18: the backup drive is not found.

    24/02/16 2:52:28.390 AM SystemUIServer [265]: try using XPC with a MachService which has the value HideUntilCheckIn. This will result in unpredictable behavior: com.apple.backupd.status.xpc

    24/02/16 2:52:28.390 AM com.apple.prefs.backup.remoteservice [866]: try using XPC with a MachService which has the value HideUntilCheckIn. This will result in unpredictable behavior: com.apple.backupd.status.xpc

    What model is the TC?

    Try to force the connection to 2.4 ghz using different names for the various bands... or even better to use ethernet.

    (You may need to buy love at first sight for adapter Ethernet... is an investment worth considering how unreliable wireless).

    Also give me some screenshots of the TC installing airport utility.

    Can you get it in the Finder?

  • modify the INSTANCENAME parameter after the backup database

    Hello

    our primary database is configured as follows:

    SQL > show parameter db_name;
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_name string prod01


    SQL > show the INSTANCENAME parameter
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    instance_name string prod01

    the corresponding backup database is configured as:

    SQL > show parameter db_name;
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    db_name string prod01


    SQL > show the INSTANCENAME parameter
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    instance_name string stbyprod01

    Now, the standby database must be enabled. Later, I want to change the stbyprod01 to prod01 INSTANCENAME parameter.

    The question now is: what does take to change the INSTANCENAME parameter? In fact the database pending will be

    already be activated and be considered and treated as a stand-alone database. The former primary database will be used no more.

    I would like to do the following:

    SQL > create pfile = 'initprod01.ora' of spfile;

    SQL > shutdown immediate;

    Oracle # > change the pfile file and change the stbyprod01 to prod01 INSTANCENAME parameter

    SQL > startup;

    SQL > create spfile = 'spfileprod01.ora' of pfile;

    SQL > shutdown immediate;

    SQL > startup;

    That should be all - from my point of view (I know that LISTENER.) ORA and TNSNAMES. ORA should be modified, too).

    If someone has already experiences with the INSTANCENAME parameter change but sees some additional configurations: Please let me know!

    Rgds

    Jan

    1. you can use "alter system set instance_name" to change the value of the instance name.

    2. you must do the following to activate the standby database (NOTE:-this is only for the activation of the backup database and not the passage to digital database)

    1 startup nomount

    2. change the base of Mount Eve.

    3. change the database activate the database pending.

    4. change the database open.

  • Error in the target database duplicate for standby

    Hi all
    I had a problem trying to rebuild the database pending. This is my environment: Oracle 10g RAC with 2 node on window 2003 Server R2, 32-bit. Main database and backup are 2 RAC node that is located on a different server with the location of this material/ASM configuration and directory structures.
    Here is my scenario:
    After custody of data works, I deleted the eve of database, say sbdb, using dbca. so I recreated the Oracle service using oradim on standby node, Setup the correct file pfile and spfile from the primaries. Create the primary db backup using the following command on primary and copy the files to the backup servers:
    DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\DB_%U' DATABASE MORE ARCHIVELOG;
    BACKUP DEVICE TYPE DISK FORMAT 'E:\DATA_GUARD\CTL_%U' CURRENT CONTROLFILE TO SLEEP;

    After that I ran the command DUPLICATE TARGET DATABASE in standby mode STANDBY, he gave me the following errors:
    From duplicate Db 2 October 08
    using the ORA_AUX_DISK_1 channel

    content of Script memory:
    {
    Restore controlfile Eve clone;
    SQL clone 'alter database sleep mounting database';
    }
    execution of Script memory

    From restoration to 2 October 08

    channel ORA_AUX_DISK_1: from datafile backupset restoration
    channel ORA_AUX_DISK_1: restore the control file
    channel ORA_AUX_DISK_1: reading from the backup E:\DATA_GUARD\CTL_10JS4L22_1_1 piece
    channel ORA_AUX_DISK_1: restored the backup part 1
    piece handle = V:\BACKUP\DATA_GUARD\CTL_10JS4L22_1_1 tag = TAG20081002T104938
    channel ORA_AUX_DISK_1: restoration complete, duration: 00:00:09
    output filename=+DATA/sbdb/controlfile/current.269.667045957
    output filename=+RECOVERY/sbdb/controlfile/current.403.667045957
    Finished restore to 2 October 08

    SQL statement: alter database mount rescue
    output channel: ORA_AUX_DISK_1
    WARNING: DB_FILE_NAME_CONVERT gave rise to incorrect ASM names; names have been changed to diskgroup only.

    content of Script memory:
    {
    the value of newname for tempfile 1 to
    '+ data ';
    clone tempfile switch all;
    the value of newname for datafile 1 to
    '+ data ';
    the value of newname for datafile 2 to
    '+ data ';
    the value of newname for datafile 3 to
    '+ data ';
    the value of newname for datafile 4 to
    '+ data ';
    the value of newname for datafile 5 to
    '+ data ';
    restoration
    see readonly
    clone database
    ;
    }
    execution of Script memory

    executing command: SET NEWNAME

    Rename the temporary file 1 + data in the control file

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    executing command: SET NEWNAME

    From restoration to 2 October 08
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid = instance 176 = sbdb2 devtype = DISK

    creation of data fno = 1 name = file & DATA
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2008-10-02 11:02:04
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06136: the auxiliary database ORACLE error: ORA-01180: cannot create the data file 1
    ORA-01110: data file 1: '+ DATA/sbdb/datafile/system.347.666704609 '.

    I used the same procedure to create database pending several times before. They were all successful. This time, the only difference is that I also recreated primary db in the past and this time I do not rebuild primary db. I think that it is bound to the control file. But the message, it seems to pick the right command file for sleep. Any suggestion?

    Thank you very much in advance.

    Error stack

    ' RMAN-06136: ORACLE auxiliary database error: ORA-01180: cannot create the data file 1.
    "ORA-01110: data file 1:"+ DATA/sbdb/datafile/system.347.666704609 '"

    occurs, if RMAN "think" there is no backup data file. In such a case, RMAN attempts to recreate the data files and subsequently applies all necessary for these new files archivelogs created. Which is never possible for datafile 1, which still belongs to the space of SYSTEM tables. Basically, I think you're right, that there is something wrong with the controlfile used during the duplication process. Check if the controlfile maintains valid backups for the current incarnation (incarnation of list + list of backup). The next note of metalink can give more advice:

    THERE ARE AVAILABLE BUT BACKUP RESTORE FAILS WITH RMAN - 03002:ORA - 01180: CANNOT CREATE THE DATA 1 FILE
    NOTE: 727655.1

    Werner

  • I get this error message, the backup disk image "/ Volumes/data-1/jackmatz of Air.sparsebundle of MacBook ' could not be found (error (null)).

    Hey get this error message

    The backup disk image "/ Volumes/data-1/jackmatz of Air.sparsebundle of MacBook ' could not be found (error (null)).

    In the context of what?

  • Getting the 80070005 error during the backup with windows vista home premium then closes backup

    When I use backup in windows I get errors then backup closes. the errors were 0x800700AA and now 0x80070005. I'm not familiar with what they mean but have tried Fixit without success.

    Hi Brian,.

    This error code means that the file or folder you want to backup does not have the necessary permissions.

    Method 1:

    If you need to make a backup of any file or folder, please ensure that give you all the permissions for that particular file or folder.

    To set the permissions of files, see the procedure below:

    a. right click on the file or folder and then click Properties.

    b. click the Security tab.

    c. under group or user names, click your name to see the permissions you have.

    d. If they don't get permission, click on change and give the full control.

    e. then check if you are able to backup.

    What are the permissions?

    Method 2: Check if you are able to backup by following these steps:

    Try to temporarily disable your anti-virus and malware during execution of the backup. If the backup works fine, then you have to search for updates and firewall settings in the security software.

    Note: Make sure that you enable the antivirus software, other security and firewall after the test programs.

    Method 3:

    Disable UAC during backup control.

    Enable or disable the User Account Control

    Note: Make sure that you enable user account control and the back of the antivirus on the computer after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

  • Error importing the second database data dictionary

    SDDM 4.0.0.833 on Windows 7 SP1.

    I try to import in the same relational model, a production and a development Oracle database in two different physical models.  I select only users, roles and Tablespaces, no other database items.  When I click on finish, I get an error with a big red x box and nothing else.  These are the only entered in the journal (datamodeler.log) for today.  What I am doing wrong?

    2014-02-10 06:45:35, 076 [main] INFO ApplicationView - Data Modeler Oracle SQL Developer 4.0.0.833

    2014-02-10 09:29:39, 473 [AWT-EventQueue-0] ERROR DBMExtractionWizard - java.lang.NullPointerException

    2014-02-10 09:31:53, 576 [AWT-EventQueue-0] ERROR DBMExtractionWizard - java.lang.NullPointerException

    Well, it was weird.  I closed SDDM and re-opened and always less error.  Was supposed to work in another design, so I closed the test design and got a lot of mistakes in the journal about starting by ' 2014-02-10 09:48:27, 228 [Thread-60] ERROR DesignLevelSettings - cannot save the settings of level Design: "I opened my other design, made some changes, saved and closed SDDM again."  No additional errors in the log.  Now import works fine.

    Any idea what's going on?

  • Using RMAN/Flashback to restore or passage / failover to the backup database

    Hello

    I'm new on the protection of the data.  I read the documentation and have implemented the Data Guard for my database of test called PPRD.  So I PPRD for the primary database and PPRD_DR0 for sleep.

    I've implemented the custody of data with the default, maximum Performance. I'm testing. (That's 11 GR 2.  I also use SQL/RMAN to set everything up.  I can implement Grid Control to administer it.

    What I was asking is - as the case may be, are there times where I'm better NOT do a failover to the standby?  Given that the PPRD is in archivelog mode (of course) and we have full and incremental backups archivelogs all being written to the disc, AND my expectation is mode maximum performance... is there times where there was NO data loss by restoring the database and he recovering from RMAN? Indeed, recovery logs are intact, not if the first line of conduct?

    Now, obviously if there is some sort of disaster and the primary is destroyed we would failover to our expectation. But for most typical failures, wouldn't we want to use RMAN and the backups/archivelogs as a first course, because there MAY be loss of data with the maximum performance mode? Also, I know there are views, that we can use to see how in sync is the day before, but I'm a little unclear on this.  At the time of a database problem, if we do not have an automatic failover enabled and configured, exactly how can we check how to synchronize the standby is with the primary?  (I know that this response is common and there, I don't want to ask the obvious question.)

    Since I was in archivelog and flashback as well on mode the primary... If the primary is still intact (but has a problem) I use RMAN, flashback, etc. before making failover/switching in high school?

    Thank you for any response.

    Hello;

    Yes. For me, a failover is a last resort. Ask yourself a few questions:

    My company requires an availability of 100%?

    How long the principal will be not not available?

    How long and how to recover from failover?

    I can make a move to the place?

    Each year we turn off the room of servers for a weekend. What I do, it is a failover, then a switch after the old primary appears as the day before and catch up.

    Here are my notes of failover test:

    http://www.Visi.com/~mseberg/data_guard/Data_Guard_Failover_Test_using_SQL.PDF

    This may help too:

    Roll a standby forward using an RMAN backup to trouble The Nologging changes incremental (Doc ID 958181.1)

    Best regards

    mseberg

  • How to activate the Guard Data after test on the backup database

    Hi all

    I have a plan for the test of standby database and this is my plan

    1. check the gap newspaper archive and transfer the logs to check if necessary

    2. stop the replication Data Guard

    3 stop Standby Database

    4 back-up Standby Database before the test

    5. starting Standby Database to test (and main database fixed by using the user and performs operations during testing)

    After trials and Active Data Guard

    1 restore a database to the standby since before the backup set

    2. start Standby Database in the mode standby

    3. check Data Guard

    I have a question. Can I use log archiving of primary to apply pending before activate Data Guard? or must reconfigure DataGuard to activate Data Guard after having tested?

    Thank you

    Hiko

    Yes you can do it.

    following the procedure below.

    1 apply the logs to archive left on the previous day.

    2. the database pending judgment.

    3. take backup controlfile and data files.

    4. start the database in the editing phase.

    5. turn on the standby database. 'alter database activate standby database'

    6. then do what ever you want to test.

    7. once it is filled the database ensures activated.

    8. restoration of the database from the backup.

    9. then start appplying archive of the last archive applied before the database was arrested.

  • The total size of the backup database and Total database size.

    Hi Experts,

    How can I find the size of the size of the database and the size of the backup with only the RMAN catalog help.
    I use Oracle 10.2.0.5. and Tivoli TSM

    I have

    Hello

    See this doc...
    http://download.Oracle.com/docs/CD/B28359_01/backup.111/b28270/rcmreprt.htm#CHDBIGHG

    Connect to SQL * for the database you intend to question the backup history.

    Ask the view V$ RMAN_BACKUP_JOB_DETAILS for more information on the backup type, status, and the start and end time.

    The following query shows the history of the backup jobs sorted by the session key, which is the primary key for the RMAN session:

    COL STATUS FORMAT a9
    COL hrs    FORMAT 999.99
    SELECT SESSION_KEY, INPUT_TYPE, STATUS,
           TO_CHAR(START_TIME,'mm/dd/yy hh24:mi') start_time,
           TO_CHAR(END_TIME,'mm/dd/yy hh24:mi')   end_time,
           ELAPSED_SECONDS/3600                   hrs
    FROM V$RMAN_BACKUP_JOB_DETAILS
    ORDER BY SESSION_KEY;
    

    Ask the view RMAN_BACKUP_JOB_DETAILS V$ at the rate of tasks of backup in an RMAN session.

    The following query shows the speed of backup job sorted by the session key, the primary key of the RMAN session. The in_sec and out_sec columns columns display the input data and output per second.

    COL in_sec FORMAT a10
    COL out_sec FORMAT a10
    COL TIME_TAKEN_DISPLAY FORMAT a10
    SELECT SESSION_KEY,
           OPTIMIZED,
           COMPRESSION_RATIO,
           INPUT_BYTES_PER_SEC_DISPLAY in_sec,
           OUTPUT_BYTES_PER_SEC_DISPLAY out_sec,
           TIME_TAKEN_DISPLAY
    FROM   V$RMAN_BACKUP_JOB_DETAILS
    ORDER BY SESSION_KEY;
    

    Ask the view RMAN_BACKUP_JOB_DETAILS V$ for the size of the backups in an RMAN session.

    If you run the DATABASE BACKUP, then V$ RMAN_BACKUP_JOB_DETAILS. OUTPUT_BYTES indicates the total size of backup games written by the backup task for the database that you are backing up. To view the backup set sizes for all registered databases, ask RC_RMAN_BACKUP_JOB_DETAILS.

    The following query shows the speed of backup job sorted by the session key, the primary key of the RMAN session. The in_sec and out_sec columns columns display the input data and output per second.

    COL in_size  FORMAT a10
    COL out_size FORMAT a10
    SELECT SESSION_KEY,
           INPUT_TYPE,
           COMPRESSION_RATIO,
           INPUT_BYTES_DISPLAY in_size,
           OUTPUT_BYTES_DISPLAY out_size
    FROM   V$RMAN_BACKUP_JOB_DETAILS
    ORDER BY SESSION_KEY;
    

    The following sample output shows the speed of the backup jobs:

    I hope this will help...

    Kind regards
    Levi Pereira

  • Activate the backup database

    Hi gurus,

    Had a small request for you guys, I have a production and a configuration of standby on Windows 2003 (10.2.0.4) database, my day has been recovered up to archive log 883, because of some problems with my production, I activated my database pending. Because the standby mode is enabled, the database gets open resetlogs. My archives to start generating sequences 1,2,3...

    But now when I query v$ archived_log to verify that the sequence max # generated it still shows as 883... as opposed to 6 which is my creation of journal number of archive.

    According to my understanding, when activate us a backup database, the wait flag of database in the control file is reset so that the control file behaves like that of the production database (I know that I am using profane taps here)... so, what makes the view v$ archived_log show the old value of sequence # before activation rather than the new value after activation?

    Help or direction in this on your side you would know...

    Thank you
    Aurélie

    Interesting...

    I think why you faced with this is, the v$ archived_log retrieves the information from the control file and the control file keeps the information up to it's minimum (default 7 days) retention period. Now even if you did resetlog on the database, the old are always stored in the controlfile according to its retention period, controlled by the parameter "control_file_record_keep_time". Please refer to 'archive log list' for the correct sequence number.

    C:\Documents and Settings\sakumar>set oracle_sid=santu
    
    C:\Documents and Settings\sakumar>sqlplus /nolog
    
    SQL*Plus: Release 11.1.0.6.0 - Production on Sat Feb 6 07:17:16 2010
    
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    
    SQL> conn /as sysdba
    Connected.
    SQL> shu immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount
    ORACLE instance started.
    
    Total System Global Area  535662592 bytes
    Fixed Size                  1334380 bytes
    Variable Size             176161684 bytes
    Database Buffers          352321536 bytes
    Redo Buffers                5844992 bytes
    Database mounted.
    
    SQL> recover database until cancel;
    Media recovery complete.
    SQL> alter database open resetlogs;
    
    Database altered.
    
    SQL> select max(sequence#) from v$archived_log;
    
    MAX(SEQUENCE#)
    --------------
                16
    
    SQL> archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     1
    Next log sequence to archive   1
    Current log sequence           1
    SQL>
    

    I hope that's what you wanted to ask. Now once again, it would be interesting to see what the result of the query on v$ archived_log after the retention period.

    Kind regards
    S.K.

  • the backup database must be restored after failover and flashback 11

    I tried a failover with 11g r2 and RAC. Failover worked. I have flashed then return of the database (old primary) according to this http://docs.oracle.com/cd/E11882_01/server.112/e17022/scenarios.htm#i1049997, and now is the archiveurs application again.

    The problem is in the broker, it says this

    DGMGRL> show configuration;
    
    Configuration - DG_Config
    
      Protection Mode: MaxPerformance
      Databases:
        DB11G_STBY - Primary database
        DB11G      - Physical standby database (disabled)
          ORA-16661: the standby database needs to be reinstated
    
    Fast-Start Failover: DISABLED
    
    Configuration Status:
    SUCCESS
    I tried deactivating and reactivating the configuration, but still the same. Any other ideas?

    Here's a link [url http://nikolayivankin.wordpress.com/2012/02/14/dgmgrl-reinstating-ex-primary-to-standby-by-flashback-database-feature/] a demo, your theme

  • Controlfile already - exist error in the clone database

    Hi all
    I use Oracle 10 g R2 (10.2.0.1.0) release, Red Hat Enterprise Edition 5 operating system.

    I tried to clone the Pb of production to the development server server using cold backup last month.
    SQL > startup pfile='/soft/app/oracle/admin/tstsharp/pfile/inittstsharp.ora' nomount
    ORACLE instance started.

    Total System Global Area 1258291200 bytes
    Bytes of size 1219160 fixed
    318768552 variable size bytes
    922746880 of database buffers bytes
    Redo buffers 15556608 bytes
    SQL > @ /soft/app/oracle/oradata/control/control.sql
    CREATE CONTROLFILE SET DATABASE 'TSTSHARP' RESETLOGS NOARCHIVELOG LOGGING FORCE
    *
    ERROR on line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-00200: control file could not be created
    ORA-00202: control file: ' / soft/app /'
    ORA-27038: created file already exists
    Additional information: 1

    I tried to create controlfile */soft/app/control.sql* (pfiile road), then also I got the above error. while I tried to run the scrip of different path.
    Now, I also have the error.
    I have attached some of the contents of pfile ,
    ###########################################
    # Configuration file
    ###########################################
    control_files = ("/ app/app /")
    db_recovery_file_dest = / soft/app/oracle/flash_recovery_area
    db_recovery_file_dest_size = 2147483648
    ###########################################

    Pls guide me. Thanks in advance...

    ORA-00202: control file: ' / soft/app /'
    ORA-27038: created file already exists

    Before recreating the controlfile cleaning potential already existing controlfile in * / soft/app * and then retry creating controlfile.

    Publish

    $ls - ltr/soft/app /.

    and

    control_files = ("/ app/app /")

    Here you mentioned just mount point and name directory, there is no such name for controlfile, it should be as

    control_files = ("/ soft/app/control01.ctl")

    Published by: CKPT May 31, 2011 17:24

Maybe you are looking for