9i dataguard missing gap

Hi all

9i

RHEL5

In 9i, how a lack gap arch, to recover if it is already deleted from the primary?

Thank you very much

JC

https://Sarith.WordPress.com/tag/standby-out-of-sync/

Tags: Database

Similar Questions

  • DataGuard with gap of archive, applied backup YVERT founded, still does not

    Hello

    Our DR falling into the pit of archive. The archives were not present both disk and tape on primary and Standby. Has been also added two primary data files.

    Referred

    • We have restored the missing datafiles to the rest - how datafile ASM copy of primary data on the DSO with RMAN standby database (Doc ID 605234.1()
    • We roll forward watch - steps for roll forward a database standby using RMAN incremental backup when the data file is added to the primary (Doc ID 1531031.1()

    But always standby watch gap archive:---

    -User is valid

    Completed: change the recovery of database managed standby database disconnect from the session

    FAL [client]: you cannot request the gap sequence

    GAP - thread 1 sequence 2000-2900

    DBID - branch-

    FAL [client]: all defined FAL servers have been tried.

    -------------------------------------------------------------

    Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME

    parameter is set to a value large enough

    enough to keep adequate record switch information to solve

    ARCHIVELOG gaps.

    -------------------------------------------------------------

    I did not mention the dbid and branch here.

    Help, please.

    Thank you

    Hello;

    You can try to roll the night before together forward. My friend CKPT has a page about it here:

    http://www.Oracle-CKPT.com/RMAN-incremental-backups-to-roll-forward-a-physical-standby-database-2/

    Best regards

    mseberg

  • Archived journal missed on the eve of the database

    Hello

    OPERATING SYSTEM; Windows 2003 Server
    Oracle: 10.2.0.4

    DataGuard: Max Performance

    DataGuard missed some archivelog files and but the last log files apply. database pending is not in sync with the primary.

    SELECT LOCAL. THREAD #, LOCAL. SEQUENCE # OF (SELECT THREAD #, SEQUENCE # FROM V$ ARCHIVED_LOG WHERE DEST_ID = 1) WHERE LOCAL PREMISES. SEQUENCE # NOT IN (SEQUENCE # SELECT FROM V$ ARCHIVED_LOG WHERE DEST_ID = 2 AND THREAD # = LOCAL.) THREAD #);

    I asked you above the command and I found that some files are missed in the standby mode.

    Select the status type, database_mode, recovery_mode, protection_mode, srl, synchronization_status, synchronized v $ ARCHIVE_DEST_STATUS where dest_id = 2;
    STATUS TYPE DATABASE_MODE RECOVERY_MODE PROTECTION_MODE SRL SYNCHRONIZATION_STATUS SYN
    --------- -------------- --------------- ----------------------- -------------------- --- ---------------------- ---
    MOUNTED-TO HOLD VALID PHYSICS MANAGED CONFIGURATION CHECK MAXIMUM PERFORMANCE NOT


    Can someone tell me how to apply these logs missed archives files.

    Thanks in advacne

    see if this helps you http://oracleinstance.blogspot.com/2009/12/recovering-standby-database-from.html

    Kind regards
    Pavan
    http://pavandba.WordPress.com

  • Oracle concepts: Clarity needed on the recovery Instance

    One of my colleague was discussing the recovery instance with me.
    We've discussed on the position of the control point, the phases of recovery of body (front bearing rear bearing), and then he asked me what is the point of rolling toward the before (application of redo logs) and then roll back (undo blocks application), why not apply only committed transactions?

    I told him that this happens because:
    (1) roll forward to recreate the scenario just before what Instance has crashed
    (2) roll front/roll back is the fastest way to recover

    I don't know where I got this learning, maybe some blog or article (probably not), but is it correct?

    Kind regards
    Ankit Rouault

    NVO wrote:

    The 2nd point is completely wrong!

    Let me clarify the frame of the 2nd point, it was mentioned in the context of the application only transactions posted during recovery. As all vectors of change go in the redo log files, there is a mechanism to identify only committed transactions, it would have taken more time (its really hypothetical because there is no mechanism exists, right?) by this mechanism to identify transactions of dedicated (from newspapers of recovery) that just roll forward and back.

    There is no context at the moment, that's wrong , plain and simple!

    There is a mechanism to identify committed transactions and called commit . But when you are recovering, you don't recover only transactions posted but you re-create the scene before the crash, which means, you would be required to apply the two vectors of change / committed and dedicated work. By your logic, if Oracle would start looking for committed transactions, it would be a lot of questions. One, time needed would be higher. Two, there may be an instance validation has been issued but before that the full validation message could reach the user, the Forum got arrested while is those blocks that can be today in the data of the file and have obtained a status of active transaction and are not sure whether or not they are committed. And finally, the LGWR writes way is just to continue to push for change vectors in the flow to restore order of the CNS. So to do a restore, you must reapply all these data that have been changed in this same order of SNA.

    Instance recovery means that you do not encounter a physical file is overwritten or deleted but there is a loss of memory and some tampons were waived to be written in the data files and now, data files, control file and the log files are not synchronized.

    The second point, where you say that it is the fastest, is wrong, because even for the resumption of the proceeding, it can take a lot of time and depends on the amount of work has been left before the instance has been broken. Roll forward is the way to put data files synchronized with the redo log files and control files. So if the data files were about control number 100 and control files and redo files log recording the number like 120, the missing gap of 20 numbers would be reinstated in the data files because only then, the database would be open. Now, your friend doubt that why not only committed transaction because you never say that a transaction is made only when there is a validation. Whenever any DML is encountered, it will cause a transaction. And you don't want that plenty of work to be recreated to ensure that, if there was a commit issued before the instance has been broken, the next time, Oracle would ensure that the work is there and if not, he'd be back. And above all, in redo log files all agents of change, not only for committed transactions.

    That's fine, even to understand here.

    Bring your own thoughts now that how you understood this explanation, until I started to get into more technical terms.

    I would like to know your opinion on 1 point. Assume that something went wrong (in terms of transactions) because the instance has crashed, if he rolls forward (as it happens automatically) on the next boot, it will crash again?

    He would return for the (next) start the instance. If all you're doing are plain DML, they don't plant the instance as long as you have not met any bug in the case that, next time also the instance may crash.

    Aman...

  • Question about joining and separating some simple traces

    Hello, I have a vector image of a logo and here to recreate the 'e' appearing in the image here without the missing gap, where a picture point used to be.  I'm fairly inexperienced in Illustrator and seeks advice on the best way to associate this zone in the most simple way and smoother appearance possible.

    Further, since I will use this to get an effect of masking in Flash, I would like to know how I can separate the areas of intersection on the left side of the "e", so it appears as a worm - like single line/swoosh.

    Thanks for any advice.

    -Courtney

    Picture 1.png

    Courtney,

    Assuming that there is no question pending of the copyright, you can:

    (1) cut each of the anchors away with the scissors tool.

    (2) join each part of the path by dragging on the Anchor Points to attach with the direct Selection tool and CTRL / Cmd + J, now you straght join parts with corner at both ends Points;

    (3) ClickDrag every Coner Point with the tool convert point of anchor (the pen tool launcher) to get the right curves, it may take a few tries until you get them right.

    You can cut the tail where it joins the back of the e with the scissors tool. (you can repeat 2) and 3) If you want to join the pieces with curves.

    Always work on a copy when you destroy work.

  • Search for gaps or missing entries

    Hello, how can I find the gaps, respectively entries missing in a number column.
    CREATE TABLE TEST)
    NUMMER NUMBER
    );
    INSERT INTO TEST (NUMMER) VALUES (2);
    INSERT INTO TEST (NUMMER) VALUES (6);
    INSERT INTO TEST (NUMMER) VALUES (8);
    INSERT INTO TEST (NUMMER) VALUES (12);
    INSERT INTO TEST (NUMMER) VALUES (14);

    I need to determine 1,3,4,5,7,9,10,11,13
     select  level nummer
        from  dual
        connect by level <= (select max(nummer) from test)
    minus
     select  nummer
       from  test
    order by nummer
    /
    
        NUMMER
    ----------
             1
             3
             4
             5
             7
             9
            10
            11
            13
    
    9 rows selected.
    
    SQL> 
    

    SY.

  • Find missing Date Gap

    Hello

    I can't figure out how to solve this, any help would be greatly appreciated!

    I have a table with two columns, the name of the employee and the work Date.
    I need to search for records that have gaps in the dates by using an SQL statement.
    For example, someone who has an entry for the 2010-03-25 and the next date 27/03/2010 (03/26/2010 is missing).


    Thank you!


    create the table my_test
    (
    EMPLOYEE_NAME VARCHAR2 (100),
    DATE OF WORK_DATE
    );

    insert into my_test values ('John', trunc (sysdate)-8);
    insert into my_test values ('John', trunc (sysdate)-7);
    record missing
    insert into my_test values ('John', trunc (sysdate)-5);
    insert into my_test values ('John', trunc (sysdate)-4);
    insert into my_test values ('John', trunc (sysdate)-3);
    insert into my_test values ('John', trunc (sysdate)-2);

    Select * from my_test

    I inserted the 1st of April to test a gap of more of a day;

    SQL> select * from my_test;
    
    EMPLOYEE_NAME                                                                                        WORK_DATE
    ----------------------------------------------------------------------------------------------------
    John                                                                                                 23-MAR-10
    John                                                                                                 24-MAR-10
    John                                                                                                 26-MAR-10
    John                                                                                                 27-MAR-10
    John                                                                                                 28-MAR-10
    John                                                                                                 29-MAR-10
    John                                                                                                 01-APR-10
    
    7 rows selected.
    
    SQL>
    SQL> with t as (
      2  select work_date - nvl(lag(work_date) over (partition by employee_name order by work_date) , wo
    rk_date) as Day_Diff
      3        ,work_date
      4        ,lag(work_date) over (partition by employee_name order by work_date) as Prev_Day
      5  from my_test
      6  )
      7  select distinct t.work_date, t.work_date - level as Day_Missing
      8  from t
      9  where t.Day_Diff > 1
     10  connect by level < t.Day_Diff
     11  order by 2
     12  /
    
    WORK_DATE DAY_MISSI
    --------- ---------
    26-MAR-10 25-MAR-10
    01-APR-10 30-MAR-10
    01-APR-10 31-MAR-10
    
  • How to fix the GAP DATAGUARD

    Hello

    We have DG (physical standby, size 1.5 TB and NON-RAC) with 11.2.0.2 and in HP - UX environment.  Yesterday, I noticed that a few logs archiving failed and due to this redo apply is pending. I tried to check the archives to connect to the PRIMARY DATABASE and I could not found the same even in the backup location also archive these logs is not available. Now, what are the best options I can use to solve this problem, I can think of re-creating standby but I think that this is NOT the best option. I heard something about restore etc. RMAN backup... anyone can shed some light on this?  Thank you in advance.

    Concerning

    Vijay.

    Roll forward to your standby database using RMAN differential. The steps are in MOS score 836986.1

    HTH,

    Brian

  • DataGuard: MRP still in WAIT_FOR_GAP after incremental backup recover

    Hello

    I'm new to the dataguard configuration, and recently, I connected on a dataguard configuration to test the object.

    I have deleted stupidely some archive my primary database logs, thereby breaking the standby update (due to the fact that the database has not been started for a long time, the gap is now about 130 days ).

    I have to try to recover the situation re-synchronized the RCS of the day before using an incremental backup (and create eve of primary control files).

    After restoration, the SNA were the same, but restarting the recovery service (MRP), it is still indicating WAIT_FOR_GAP and still waiting for my missing archive logs.

    New archive logs is well shipped to the waiting however.

    No idea what I missed or what should I do?

    The database version is a 12.1.0.1.

    DGMGRL > see Configuring

    Configuration - g12dggo

    Protection mode: MaxPerformance

    Databases:

    g12dggop - primary database

    Error: ORA-16724: could not resolve the deficit for one or more databases in waiting

    g12dggos - physical of the standby database

    Fast-Start Failover: DISABLED

    The configuration status:

    ERROR

    DGMGRL > validate database g12dggop

    Database role: primary database

    Ready for the digital switchover: Yes

    Flashback Database Status:

    g12dggop: Off

    DGMGRL > validate database g12dggos

    Role of data: physical database ensures

    Primary data: g12dggop

    Ready for the digital switchover: No.

    Ready for failover: Yes (main stream)

    Flashback Database Status:

    g12dggop: Off

    g12dggos: Off

    Apply information in standby mode:

    Apply a State: running

    Apply the Lag: 143 days 14 hours 18 minutes 26 seconds

    Apply the delay: 0 minutes

    Database backup:

    SQL > select process, sequence #, status from v$ managed_standby;

    STATUS OF PROCESS SEQUENCE #.

    --------- ---------- ------------

    ARCH CONNECTED 0

    ARCH CONNECTED 0

    RFS 0 IDLE

    MRP0 1965 WAIT_FOR_GAP

    RFS 3526 IDLE

    More small sequence of table v$ archived_log is corresponding to the last recovery made.

    SQL > select sequence #, applied to the order of v$ archived_log by sequence #.

    SEQUENCE # APPLIED

    ---------- ---------

    3441 NO.

    SQL > select * from v$ archived_log where sequence #= 3441; Select * from v$ archived_log where sequence #= 3441;

    RECID STAMP

    ---------- ----------

    NAME

    ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    DEST_ID THREAD # SEQUENCE # RESETLOGS_CHANGE # RESETLOGS_TIME RESETLOGS_ID FIRST_CHANGE # FIRST_TIME NEXT_CHANGE # NEXT_TIME BLOCKS BLOCK_SIZE CREATOR

    ---------- ---------- ---------- ----------------- ------------------- ------------ ------------- ------------------- ------------ ------------------- ---------- ---------- -------

    REGISTR STA ARC APPLIED S DEL COMPLETION_TIME DIC DIC END BACKUP_COUNT ARCHIVAL_THREAD # ACTIVATION # IS_ COM FAL END_OF_RED BIN CON_ID

    ------- --- --- --------- --- - ------------------- --- --- --- ------------ ---------------- ----------- --- --- --- ---------- --- ----------

    1 880046905

    /oravar/G12DGGO/Archiv/1_3441_865786197.dbf

    2 1 1 08/12/3441 2014 16:09:57 865786197 7004011 18/05/2015 17:21:17 7005043 18/05/2015 17:29:22 509 512 ARCH

    RFS NO NO YES NO A 17:28:25 05/18/2015 NO NO NO 0 1 2523036437 NO NO NO YES 0

    Thank you in advance for your help!

    Problem solved.

    In Oracle 12 c, roll forward is more to do "by hand".

    There are a few commands to RMAN done automatically, by using the primary database service (G12DGGOP_DG for me).

    So back up mode:

    RESTORE DATABASE SERVICE G12DGGOP_DG WITH THE HELP OF NOREDO COMPRESSED BACKUPSET SECTION SIZE 100M;

    Then after restore controlfile in nomount (stop):

    RESTORE CONTROLFILE EVE OF SERVICE G12DGGOP_DG;

    The information comes from here:

    http://allthingsoracle.com/rolling-forward-a-physical-standby-database-using-the-recover-command/

    Reference on Oracle documentation:

    https://docs.Oracle.com/database/121/BRADV/rcmadvre.htm#BRADV685

    Thank you all for the answers and the help on this!

    Ray Zin

  • apply a log archived when GAP

    Hello
    Dataguarde on 10g R2 on UNIX
    the sequence 123456 does not apply in standby mode. I copied this logfile archived on the STANDBY server. Can I make a request using the:
    ALTER DATABASE RECOVER AUTOMATIC STANDBY DATABASE;
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    Here I come:
    /tmp/arc_123456_674455880.arc

    ???

    Thank you.

    user522961 wrote:
    OK, thanks Chinar and after that once again:

    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
    

    ???

    Yes after you apply the missing logs (resolve gaps) then you can run this command again.

  • Mail disappeared for a month in 2015. I tried the repair and reconstruction of the index file. Still missing but now emails have sporadic several copies.

    The Inbox file is currently 1.9 G, upward of about 0.85 G in September of this year. Probably due to a large number of parts attached. I have noticed that emails for 3/2015 for most missing although I find answers, etc., in the folder "sent" for the same period. The gap may occur after the last operation of compaction.
    I tried both the 'fix' and deletion of the msf index option and rebuild. These emails are still missing, but now I have sporadic cases of multiple copies of an e-mail, 8.

    Inbox included 2013 as part of the day and I just moved the files from 2013 to a folder to archive but have not yet run the compaction on the Inbox to eliminate those emails that I fear that I could also inadvertently delete emails 3/2015.

    Cannot open the raw file from Inbox in Notepad... get a too large file error, but it opens in wordpad even if research is extremely slow and basically unusable. Any thoughts?

    More information on the compaction. It is recommended to leave Thunderbird cela automatically by setting a threshold (e.g. 1 MB). See http://kb.mozillazine.org/Compacting_folders

    Also take a look at the archiving functionality.
    https://support.Mozilla.org/en-us/KB/archived-messages

    When your problem is solved, can mark the thread as "solved" Please?
    Thank you.

  • Help! My files sent for two whole months are missing! I have looked everywhere and looked through the forum topics, without success.

    At the beginning of a new month, Thunderbird normally creates a sent folder for the previous month, as in "Feel-Apr-2014." All my emails in the last two months are - missing files for March and April 2014. I looked through all my records, to see if they went to the wrong place. I also tried searching for individual emails by name, to see if they are elsewhere, but there is a gap of two months with no emails showing up during this time. I checked my master settings, to make sure that nothing is set to automatically delete. This is very serious. I'll have to stop using Thunderbird, I used for four years, if I can't solve this problem, because I can not afford to continue to lose huge chunks of important emails.

    Thank you. Your account appears to be IMAP, that is, all mail is handled on the server.

    Can connect you to your account via webmail and check if the mail is missing on the server?

    At the beginning of a new month, Thunderbird normally creates a sent folder for the previous month, as in "Feel-Apr-2014."

    Is it possible that this is done by the server?

    Of after troubleshooting - profile directory - Open Directory information

    Your profile folder opens in Windows Explorer. Under ImapMail, look for a folder with your domain name in the name of the folder, i.e. something like mail. [sitename] .com. What are records under?

    Maybe you can post a screenshot.

    http://support.Mozilla.org/en-us/KB/how-do-i-create-screenshot-my-problem

  • Point cloud with missing data and 3 sets of data

    Hello

    I'm doing a scatter diagram that has 3 sets of data in it (i.e. 3 plots on the same graph), except that 2 of my sets of data have a missing value while my third set has all the values. I end up getting 2 lines that are disconnected. I can't just remove the line containing the missing data for the 2 sets of data because since my category axis is time, my data points get shifted and no longer appear at the right time. This is the chart that I have.

    Thank you.

    Hi Gabrielle,.

    If there is a diagram of dispersion, the x axis is a value axis. If you have auto selected for the min and max values on this axis, the scale may change when you remove the data point, 15, 85, but the rest remains in the same position relative to the values on each axis of ordinates. What change will be , however, is the curve on which 15 85 approached a local y maximum.

    Scatterplots will always leave a gap in the line/curve of connection where there are a pair of missing data. There are two ways to close the gap.

    If the chart is an essentially linear relationship, you can use a calculated value is pair up with the lack of value x. The downside of this is that the representation of this point will be indistinguishable on the map of the other data points, measured.

    A better way would be to make two tables, one with the full data set, the other with the partial sets, but with the pair missing completely removed.

    Adjust the cards the same size and have the same scales on each axis, then just remove one of the cards except the data points, the curves connecting the data points, the x axis of ordinates and the legend showing the color and the forms used to plot each series.

    Give a graphic a transparent filling and place it in front of the other.

    Kind regards

    Barry

  • Why is there a gap with disk space?

    I have an old hard drive of an older XP machine. I connected it outside to take a glance of data for backup purposes. The hard drive is 80 GB, and Windows reports that there are 21GB free (or 69GB used). If I take the properties of all the files (including hidden and system files), it showed a value of 60 GB of data. I made a clone of the disc and that the container was also 60 GB. Why "Camembert" said 69GB? Where the 9FR? I also run Chkdsk as well.

    I'm nervous that I'm missing some data...

    You have at least three different things that may be confusing you.

    The reason most likely for a "gap" as big as 9 GB is the System Volume Information folder.  This 'super' hidden folder is mainly used for system restore points, but also may include databases indexing (when you allow the default behavior of "Allow the Indexing Service to index this disk for fast searching of files").  Even if you can see the folder System Volume Information in Windows Explorer when you uncheck the "Hide protected operating system files" option, it reports a size of 0 bytes - regardless of what is actually in the file.

    Although there is a way to access the IVR - which is strongly discouraged - folder start by opening the system restore and see how much you have restore points.  By default, Windows XP allocates 12% of the size of the partition to restore the system, so if you have a nominal 80 GB partition, you 9.6 GB allocated for SR.  Assuming you did spin for a while, this allocation is probably filled (restoration of old points are deleted on a FIFO basis as new are created).

    If you are reasonably confident in the stability of your system, run Disk Cleanup (start > run > cleanmgr.exe > OK) and select the tab 'other options '.  Then click on the "Clean up" button in the "System Restore" section to remove all but the last restore point.  If you do this, my guess is that your 9 GB gap will disappear.

    In addition to the SVI folder, there are a couple of relatively minor points:

    Not all 'gigabytes' are the same.  When a drive manufacturer says you have a 80 GB drive, it means that your player has about 80,000,000,000 bytes.  Windows reports a drive of this size as having 80,000,000,000 / 1.073.741.824 = 74.51 GB (where 1.073.741.824 is 1024 * 1024 * 1024).

    In addition, there is a difference between the number of bytes in a file (the ' size' reported by Windows when you examine the properties of a file) and the space occupied by the file on the hard drive.  Windows is reported as the size of the file 'on the disk."

    More recent operating systems Windows, including XP, the default size 'cluster' for readers to the NTFS format is 4 KB.  See http://support.microsoft.com/kb/140365.  When a file is recorded on the hard disk, it occupies a whole number of clusters.  On average, half the size of cluster is "lost" for each file stored.  For a player with a normal mixture of sizes of files and about 150 000 files, only about 300 MB of space will be wasted.

    PS: You should reduce the allocation of space SR to 1 GB.  See http://bertk.mvps.org/html/diskspace.html

  • Why can't I remove gaps between tracks when burning a disc with Media player?

    I have media player 11 but like all versions, he plays the album without gaps but when burn you it to a disc for the car he puts 3 second gaps between tracks, which ruins a live album! Am I missing something?

    Use it instead of WMP:

    http://CDBurnerXP.se/download?lang=en

    You should be able to make a CD smoothly. Otherwise his (expensive) Nero.

    See you soon,.

    Jerry

Maybe you are looking for

  • Cannot install graphic driver on the Satellite A200-1FJ (PSAE3E)

    I wanted to update my graphic drivers. I have an intel GMA965 - x 3100 family card. When I download the drivers from the Toshiba Download Center and I try to install, I get a message that the computer meets the conditions to install this software. I

  • What is wordicon.exe?

    wordicon.exe What is wordicon.exe? Internet says virus but I got nothing to suggest my computer is infected and AVG says clearly. Anyone know?

  • Cisco TOR <>VTRX R1-2401 switches

    Hello It may be OT in a PowerConnect forum but at least it's a switch... It's my first modern exhibition switches Dell; but I played a little with Cisco kit.   Then, someone whose had more time on a VRTX me has received indications linking the module

  • Tutorials for beginners

    I'm new to the development of BlackBerry applications. Have developed for Android and Windows Phone so far, but I'm helpless on BlackBerry. Tutorials that I could follow to get my started instantly? Thanks in advance!

  • Script Help: The names of layers from the Excel data

    Hello!I'm a noob script and have tried to learn, but unfortunately I just haven't the time. Projects at work keep me in the Bay. In any case, here's my scenario and I hope someone can guide me.I want a script that would look at a database (XML, CSV,