Standby database is down and redo logs is not transmitted

Hi all

I have a question about the primary recovery database logs transmition for the standby database.
What happens if the transmition of redo logs was arrested for a period of time (1 month), if I want to re - build the database ensures what measures must be applied?
The papers of recovery will be put on hold? and once the database pending is redo these logs will be sent again? or I have to rebuild my database Eve from scratch?

Kind regards

Hello;

When I rebooted the month so I would change the parameter 'log_archive_dest_state_n' on the primary to postpone next it would stay like that.

I would like to delete the database in waiting, and if the folder structure was not the same I correct it.

When the month has increased I would use RMAN to duplicate a new sleep mode:

http://www.Visi.com/~mseberg/duprman2.html

And then I put "log_archive_dest_state_n" to Activate.

Best regards

mseberg

Tags: Database

Similar Questions

  • datafiles and redo logs on the same drive

    Hi guys,.

    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo002.htm#i1306224

    >

    Data files should also be placed on different disks of redo log files to reduce contention in writing of the data blocks and redo records.
    >

    I really think if he actually any challenge when the first of all oracle can only writes files 1 redo log at a time.
    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo001.htm
    >
    Database only Oracle uses redo log files at the same time to store redo records written since the restore log buffer by progression. Log roll forward LGWR is preparing actively to is called the log during recovery.
    >

    If the process flow, I got after reading the chapters is

    When LGWR fills a log file of redo (roll forward records) then there will be a log switch + control points where writing for data blocks occur. There seems to be a flow series rather than a simultaneous sort of flow. So I don't really understand it when he speaks of contention will take place when records of data and files written redo which is the redo log file are on the same disks.

    Just to confirm with you guys, whenever there is a switch of newspaper one point of control occurs too right.
    http://docs.Oracle.com/CD/E11882_01/server.112/e25494/onlineredo002.htm? You can search checkpoint to access the section she made mention of this documentation.

    Think about this:

    Restore means to keep the information around in case you need to re-do (recovery or standby mode, i.e. the continuous collection). Updates as you do in a broad sense will be so potentially being twice, once for the data files and once to do it again. I'm sure you understand that the data is written in memory, and then later to the data by the writer of the db files, while there could be many more group of writing data, or they may even be long delayed. In addition, the data files are read at random, so you can't really think again in series compared to the data. Do it again is series, archiving is set, but the data is random, and random how depends on how your system is used.

    So that means all the type of reads and writes per redo and archive is fundamentally different from data and cancel. In the first case, you want to be able to breath out as I/O that you can, for the latter, you want to be able to randomly reading or writing at different times, with Oracle being smart enough to do a bit of it in memory and optimistic enough to make assumptions on when to do things and quite lazy for not doing everything right. Roll forward is critical.

    A while ago, someone pointed out that the e/s modern buffered in memory, do not really worry about this, because all the work required to set up and maintain it after spending records, fees are not much better than striping and mirroring everything (you can google SAMI). This is true to a point, and we can debate endlessly about RAID types and their effects on performance and how their buffering makes [url http://www.baarf.com/] useless BAARF. But the real debate is, where is the point that you should use separate to redo and data devices? In the real world, we often receive a standard hardware configuration, which works very well until it's not. A disk or controller will puff in a RAID-5 can happen "is not" real quick.

    You should probably take two thoughts:

    The docs are pretty General, and some old tips do not apply, may have transformed into myth or perhaps too general to be meaningful.

    There is always something in the db, and the more things underway, less you can make generalizations about the serialization.

  • ORA-38754: FLASHBACK DATABASE not started; required redo log is not available

    Hello

    I am getting below error when executing the activities of flashback. Currently we have backups, so when I tried the command flashback in RMAN my question solved.

    But if I want to do the same thing using SQLPLUS what steps should I take?

    ERROR:

    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available

    ORA-38762: redo logs needed for SNA to SNA 20062842936 20062842926

    ORA-38761: redo log sequence 4 in thread 2, 65 incarnation cannot

    consulted

    DATABASE:11.2.0.3.0 (UAT)

    RMAN will automatically restore logs archived redo required for the operation of blowback when they are not present on the drive, while (as meyssoun said) when using sqlplus required archived redo logs must be available on the disc.

    Concerning

    AJ

  • Controlfile and Redo Log on a disk group

    Hello!

    Controlfile and Redo Log on a disk group - it's good or bad?

    You have the best practices or Doc ID on Metalink?

    918027 wrote:
    You must have two control files on two separate disks and at least 2 members of each group redolog, each on a separate drive.

    http://docs.Oracle.com/CD/B10500_01/server.920/a96521/control.htm#4578

    No, you do not have "must have".

    You have not yet 'must have' more than a control queue.
    You do not have 'must have' more than 2 redo log groups, and these groups don't 'must have', but one file each.

    This is the "must have".

    Now, it's something else.

    You "should" have a minimum of 2 files of control, and that they "should" (not "needs") be on separate disks.
    You "should" have at least 2 files of members in each group of redo log, and that they "should" (not "needs") be on separate disks.

    And FWIW, I see no reason to keep necessarily completely separate redo file control file. They key is to have versions multiplexed of a particular type, separated from their 'twin '.

  • Security event log getting the message "local computer maybe not the files of the necessary registry information or message DLL to display messages from a remote computer" for all entries. System and application logs do not receive messages

    PC is Windows XP.  The server is Windows 2000.  I have administrative rights on both machines.

    On getting PC security event log do message "local computer, maybe not the files of the necessary registry information or message DLL to display messages from a remote computer" for all entries.  System and application logs do not receive messages

    Hi carmol,.

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited to the audience on TechNet forum.

    Please post your question in the Sub forum. Link: http://social.technet.microsoft.com/Forums/en-us/winserverManagement/threads

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I reciently reinstalled windows and now the fence, restore down and minimize buttons are not mixed together.

    I reciently reinstalled windows and now the fence, restore down and minimize buttons are not mixed together. they are indervidual buttons. Have all the updates and service pack installed.

    I saw the screen shot, I think that Aero is disabled, or the Desktop Window Manager Session Manager service is disabled or stopped. Try to run the troubleshooter 'display the Aero effects. " And when firstly, you had the drivers that do NOT support Aero and then updates, Windows does NOT automatically update the settings. You must recaulculate the computer for Aero Performance Index is enabled.

    Or you can see more help on this page, which contains explanations of the Aero and a link to a Web page for downlading an application which solves the problems.

    Hope that helps!

    Marko Calasan.

  • Get the former locations of the data files and Redo logs

    Version: 11.2
    Platform: Solaris 10

    When we manage hundreds of DBs, we do not know the locations of all DB files these allows DBs. say a DB goes down and you have all the required RMAN backups.

    When you restore the DB in a new location in the path of the new server, you must run the commands for the data files and ORLs below. But how do we know

    The former location of the data files.

    B. the old location of redo online stores that I can run

    run
    alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs' ;  --- Without this command , the restored control file will still reflect the old control file location
    run {
    set newname for datafile 1 to '/u04/oradata/lmnprod/lmnprod_system01.dbf' ;
    set newname for datafile 2 to '/u04/oradata/lmnprod/lmnprod_sysaux01.dbf' ;
    set newname for datafile 3 to '/u04/oradata/lmnprod/lmnprod_undotbs101.dbf' ;
    set newname for datafile 4 to '/u04/oradata/lmnprod/lmnprod_audit_ts01.dbf' ;
    set newname for datafile 5 to '/u04/oradata/lmnprod/lmnprod_quest_ts01.dbf' ;
    set newname for datafile 6 to '/u04/oradata/lmnprod/lmnprod_yelxr_ts01.dbf' ;
    .
    .
    .
    .
    .
    }

    Hello

    With the help of Oracle 11.2, you can use feature 'set newname for database' using OMF.

    SET NEWNAME FOR DATABASE TO '/oradata/%U';
    RESTORE DATABASE;
    SWITCH DATAFILE ALL;
    SWITCH TEMPFILE ALL;
    RECOVER DATABASE;
    

    After the restore and recover databases (i.e. before resetlog open) you can do to rename redolog. Just a query column member from v$ logfile and deliver ' alter database rename file 'oldPath_of_OnlineRedoLogs' to 'newPath_of_OnlineRedoLogs ';

    When we use the DSO is much easier to use OMF because Oracle automatically creates the directory structure.
    But when we use the file system that the OMF does not serve due DBA dislikes system generated on file system names.

    If you don't like OMF file system, you can use the script on thread below to help restore you using readable for datafile names, tempfile, and redo.

    {message: id = 9866752}

    Kind regards
    Levi Pereira

  • Is there a simple example, I can see how to connect to a database using actionscript and Flash 8? (not with components)

    I've looked everywhere for a simple example "hello world", on how to connect to a database, pass a parameter and returns a dataset object. I'd like one that uses no components. (Actionscript only). Who uses ColdFusion 7.x and Flash 8. Can someone point me to one?

    Thanks Craig, I noticed the example, but it was meant for Flash MX, and Flash 8 documentation, the NetServices is now obsolete. Anyway, I posted my question on another site and some provided me with a simple example. Here is the url if anyone is interested... sample

  • Failure of Hotmail - compromised account and cannot reset the password. The server is down, and the moderators are not admit it?

    DEAR MODERATOR, PLEASE READ THIS EMAIL CAREFULLY, IN ORDER TO AVOID THAT SUGGESTS A SOLUTION, I HAVE TRIED SEVERAL TIMES.

    I tried for five days to access my hotmail without success. Wednesday, December 14 I accessed my account the morning normally. However, in the afternoon, I found that my account has been blocked, apparently due to receive a large amount of spam. I followed the link in the window that asked me to provide a mobile number, so a code can be sent to me, and I would then be able to unlock the account. I provide my number, but received no codes for this date.

    I then entered the hotmail Help Center and asked a question asking for my account to be unblocked. I got a response the next day, saying the account was then unblocked and I could use it normally. However, I was unpleasantly surprised to discover that I couldn't open my hotmail, my password was not recognized. I tried to reset my password, but if you follow a link sent to an alternative email, every time since Thursday, the result was a page saying:

    There is a temporary problem

    There is a temporary problem with the service. Please try again. If you continue to receive this message, try again later.

    I tried to reset my password more than 10 times in the last four days and nothing. I tried different browsers, tried to optimize the browsers, tried five different computers - AND NOTHING.

    I reported this problem on several occasions in the Help Center, but I got repetitive suggestions or 'solutions' that didn't work. Whenever I post an entry in my open question, I get the same suggestions over and over again. I realized that I'm only receive automated messages, and that no one really looking to my problem to offer assistance of effetive.

    Can anyone help me please with a decent and effective action?

    S ' Please don't ask if I tried different browsers, if I optimized browsers or if I tried other computers. I tried all of these options.

    S ' Please don't tell me reset the password. Your system says "there is a temporary problem" every time it has been 4 days, so it is not temporary, of course.

    -I would like someone to reset my password for me and send me a link to open my email. I have to open my email! I used it for over 14 years now, and this has never happened before!

    Please do not ignore this. Read it carefully and help me!

    Moreover, the account in question is the * address email is removed from the privacy *.

    Hi annao,.

    I don't know if you've already been on this link, but just in case, please see below:

    http://explore.live.com/Windows-Live-Hotmail-hacked-account-FAQ

    Also, as Windows Live has it's own Forum I'd followed with your other thread you posted in for assistance.

    Thank you!

  • I'm really hearing in 2008. Now I updraded to windows 10 it did not work, but it worked fine on windows 7 pro, he is asking to activate your server is down and the telefon * is not available. What should do?

    AAudition does not work on windows 10 ask you an activation code. No work is available. I have not been informed that the server should be stopped or that the telservice was not available. Now, I returned to windows 7 pro, but he asks still activationcode I get the err 24:24

    HI Robertg77843012,

    As you know, the activation for Audition 3 or earlier server is no longer available. Adobe has made a special version of CS2 provision affected customers, and he is hearing. The special version can be downloaded and activated by following the instructions contained in this help document: error: "Activation Server unavailable". CS2, Acrobat 7, pass a hearing 3. Please note that you must use the special version with the serial number supplied during installation. Your existing serial number will not work. There is also no guarantee, as the Bani, the old software will work in newer operating systems. However, it is worth a try.

    Let us know how it goes or if you have any other questions.

    Best,

    Del

  • Clearing Online redo logs on the physical standby of the target

    Hello

    Version 11202.

    Primer on computer a.
    Watch on computer b.

    Later note: 11.2 Data Guard physical standby failover best practices using SQL * Plus [1304939.1 ID].
     
    Online redo logs on the target physical standby need to be cleared before that standby database can become a primary database. 
    And later:
     
    On the target physical standby run the following query to determine if the online redo logs have not been cleared... 
    (1) I did not understand where I have to run the query. On computer A, computer B or?
    2)
     
             Online redo logs on the target physical standby need to be CLEARED 
            
    Which means that it must be DELETED? Does transaction could be lost by running the command of compensation?

    Thank you

    Hello again;

    I would NOT use a script. The reason is that you are not sure what "switchover_status" will be returned by the database of v$.

    Oracle a broker data available for a quick pass, but I'm from the old school and I want to see how thing works in SQL for awhile first.

    Best regards

    mseberg

  • Invalid state online redo log on backup database

    Hi all

    I'm new here with a little problem with Oracle Dataguard.
    After the double, redo log files and log files online pending
    are equal in major databases and relief.
    But now, in the database of relief, some redologs online are missing.
    So, I created files of online journals on the standby database.
    But the State is not valid:
        GROUP# STATUS  TYPE    MEMBER                                                                           IS_
    ---------- ------- ------- -------------------------------------------------------------------------------- ---
             1 INVALID ONLINE  +DATA/PROJ_STD/onlinelog/group_1.392.123263579                                  NO
             1         ONLINE  +FRA/PROJ_STD/onlinelog/group_1.948.123234493                                   YES
             2         ONLINE  +FRA/PROJ_STD/onlinelog/group_2.852.123234495                                   YES
             2 INVALID ONLINE  +DATA/PROJ_STD/onlinelog/group_2.393.123263607                                  NO
             3         ONLINE  +FRA/PROJ_STD/onlinelog/group_3.946.123234495                                   YES
             3 INVALID ONLINE  +DATA/PROJ_STD/onlinelog/group_3.394.123263613                                  NO
             4 INVALID ONLINE  +DATA/PROJ_STD/onlinelog/group_4.395.123263615                                  NO
             4         ONLINE  +FRA/PROJ_STD/onlinelog/group_4.933.123234497                                   YES
             5         STANDBY +FRA/PROJ_STD/onlinelog/group_5.989.123262059                                   NO
             5         STANDBY +DATA/PROJ_STD/onlinelog/group_5.387.123262055                                  NO
             6         STANDBY +FRA/PROJ_STD/onlinelog/group_6.990.123262075                                   NO
             6         STANDBY +DATA/PROJ_STD/onlinelog/group_6.388.123262073                                  NO
             7         STANDBY +DATA/PROJ_STD/onlinelog/group_7.389.123262081                                  NO
             7         STANDBY +FRA/PROJ_STD/onlinelog/group_7.991.123262085                                   NO
             8         STANDBY +DATA/PROJ_STD/onlinelog/group_8.390.123262091                                  NO
             8         STANDBY +FRA/PROJ_STD/onlinelog/group_8.992.123262093                                   NO
             9         STANDBY +DATA/PROJ_STD/onlinelog/group_9.391.123262103                                  NO
             9         STANDBY +FRA/PROJ_STD/onlinelog/group_9.993.123262105                                   NO
    the newspaper of the alerts:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00313: open failed for members of log group 2 of thread 1
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00313: open failed for members of log group 4 of thread 1
    Is this correct? What's wrong? What I can do to solve this problem and all newspapers in restoration online in the two databases are equal?

    Thank you very much!!!

    Hello;

    Check out this note first:

    ORA-00313, ORA-00312, ORA-27037 Standby Database [601835.1 ID]

    OR

    On implementing standby

    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;

    And then, for each group of newspaper

    change the database group claire logfile 1;

    After this verification, the v$ log view to confirm the size and status.

    Also check v$ standby_log and make sure that you have the day before newspapers too.

    Finally, check the alerts log and make sure that no more errors have occurred after that you have disabled the logfile group.

    Best regards

    mseberg

    Published by: mseberg on November 3, 2011 18:41

  • Redo Log and Supplemental Logging doubts related

    Hi friends,

    I am a student extra import logging in detail. Reading a lot of articles and the oracle documentation to this topic and redo logs. But couldnot find answers some doubts...
    Please help me to delete.

    Scenario: we have a table with primary key. And we execute a query update on the table that does not use the primary key column in a clause...
    Question: in this case, the roll forward records entry generated for changes made by put request to update contain primary column values... ?

    Question: If we have a table with primary key, we need to enable additional logging on primary column of this table? If so, in what circumstances, do we need to?

    Question: If we set up replication streams on this (having the primary key) table, why do we really need to enable saving of its complementary (I read documentation saying that flow requires some then more information., but in reality what information does it. Once again this question is closely related to the first question.)

    Please suggest also any good article/site that provide inside details of the redo log and additional logging, if you know.

    Kind regards
    Lifexisxnotxsoxbeautiful...

    (1) assuming that you do not update the primary key column and additional logging is not enabled, Oracle doesn't have to log in the primary key column in the log to roll forward, just the ROWID.

    (2) is rather difficult to answer without being tautological. You need to enable additional logging if and only if you have some use downstream for additional columns in the redo logs. Rivers and streams, these technologies built above are the most common reason to enable additional logging.

    (3) If you run an update as

    UPDATE some_table
      SET some_column = new_value
     WHERE primary_key = some_key_value
       AND <>
    

    and look at an update statement that LogMiner relies on newspapers in recovery in the absence of additional record, basically it would be something like

    UPDATE some_table
      SET some_column = new_value
     WHERE rowid = rowid_of_the_row_you_updated
    

    Oracle has no need to replay the exact SQL statement you issued, (and so he doesn't have to write the SQL statement in the redo log, he doesn't have to worry if the UPDATE takes a long time to run (otherwise, it would take so much time to apply an archived log as it did to generate the log) ((, which would be disastrous in a recovery situation) etc.). He just needs to rebuild the SQL statement of the information contained in the restoration by progression, which is just the ROWID and the columns that have changed.

    If you try to execute this statement on a different database (via the stream, for example) may the ROWID on totally different destination database (since a ROWID is just a physical address of a line on disc). So adding additional record tells Oracle to connect to the primary again key column and allows LogMiner / flow / etc. to rebuild the statement using the values of the primary key for the changed lines, which would be the same on the source database and destination.

    Justin

  • Redo Log apply after reboot pending

    Hi all

    To start learning about Data Guard, I followed successfully the manual steps to create a database of physical intelligence. What I have noticed is when I restart the database pending, received redo log are not automatically applied until I issued the following command:
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    Is this normal? If so, is there a way to redo the remains of automatic application after restarting the database pending?

    Thanks in advance.

    When you configure the DataGuard in a SQL environment, you must manually start it again the process after the installation of the database of the previous day. You can start the script database and understand that when ' select database_role from v$ database "is physical Standby then 'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE DISCONNECT";

    OR

    Yo can configure the DataGuard under the broker control that will start at the redo apply process automatically at the start of the backup server.

    Sudhir.

  • bottleneck during the passage of the redo log files.

    Hi all

    I'm using Oracle 11.2.0.3.

    The enforcement team has indicated that they are facing slow at some point.

    I followed the database and I found that at some passage of redo log files (not always), I am facing a slow at the application level.

    I have 2 son since my database is CARS, each thread has 3 groups of multiplexed redo logs the FIU, with size of 300 MB each.

    Is it possible to optimize the switch of the redo log files? knowing that my database is running in ARCHIVELOG mode.

    Kind regards

    Hello

    Yes, Oracle recommends 1 validation by 30 calls from users or less. Of course, every database is different, so this rule cannot be taken too literally, but in your case, this rule seems to apply. In any case State, 900 undertakes seconds it looks like a very large number and the need for a high number of transactions should be questioned. You should talk to your analysts/application management/enterprise architect if warranted - that is to say if the application does in fact almost 2 000 business transactions per second.

    What about DB CPU: here is a link to a blog that I wrote on this subject, it should help to better understand this number:

    http://Savvinov.com/2012/04/06/AWR-reports-interpreting-CPU-usage/

    But briefly: DB processor isn't a real event, it is simply an indication that the sessions are on CPU (or waiting for CPU) rather than wait on i/o requests or events in the database. It is not necessarily a bad thing, because the database must perform tasks and he cannot do without loading the CPU. It may indicate a problem in two cases: when the CPU usage is close to the limit of the host (OS stats section indicates that you are very far from there) or when the CPU is a % of DB time - in the latter case, this could mean that you are making too many logical reads due to inefficient plans or analysis too. In any case, this does not apply to you, because 20 percent is not very high a number.

    Other items in the list of the top 5 deserve attention, too - gc buffer busy acquire, gc current block busy, enq: TX - line lock conflict.

    To summarize, your database under a lot of stress - whether it is the legitimate workload, and if this is the case, you may need to upgrade your hardware later. There is chance that it isn't - for example a high number of runs may indicate that rather than to bulk operations database code using PL/SQL loops, which is a big performance killer. Check "Top SQL by executions" about whether or not this is the case.

    Good luck!

    Best regards
    Nikolai

Maybe you are looking for

  • How know the latest model from the previous?

    Time capsule. ME182LL/A or ME182CI/A

  • double configuration map

    Hi guys, I have a Mac Pro 2008 8 core 2.8ghz 32 gb of ram running a 1 to RAID 0 El Captian a 2600XT (APPLE) and a HD5870 (not APPLE).  My question is how do these cards function? I want a double configuration monitor, but I also want the start screen

  • envy touchsmart 15 graphics

    Hello I'm looking forward to buy Touchsmart from HP ENVY 15 t-j100 with 2048 MB gt740 Mr. dedicated graphics card I wanted to know if it is possible to replace gt740m with something better. Besides I would like to know what material in this laptop is

  • replacement of keys off

    Laptop HP G71, I removed a digital touch to take off, but I am unable to get the key back in place.  Just instructions say to "put it back", but it is not 'snap '.  Nothing seems broken & it came out easily.  Help?

  • How to restore all the default permissions in windows 7 (64-bit)

    Hello Think I have corrupted some of my programs and rights of security/authorization file eg windows start menu, shortcuts, program (x 86) etc. Another example, I continue to set the permissions of windows install to allow the administrator and they