LGWR ASYNC doest not working for redolog files, while archiving is working

Hi All,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0.
I have created a database named black. I then creaetd a standby database. now I want to syncronize the redo logs file as well.
SO I added log_archive_dest_2='SERVICE=standby LGWR ASYNC',
I have also added following standby log files on standby database.
ALTER DATABASE ADD STANDBY LOGFILE '/oracle/oradata/black/srl1.f' SIZE 52428800;
ALTER DATABASE ADD STANDBY LOGFILE '/oracle/oradata/black/srl2.f' SIZE 52428800;
ALTER DATABASE ADD STANDBY LOGFILE '/oracle/oradata/black/srl3.f' SIZE 52428800;
ALTER DATABASE ADD STANDBY LOGFILE '/oracle/oradata/black/srl4.f' SIZE 52428800;
Now I want to confirm that the redo log files are syncronizing same time on both Primary and Standby. I have checked thru alter system switch logfile; when i executed the redo log sync at both sides.
Archive logs are also applying successfully.
The Primary database is in MAXIMUM PERFORMANCE Mode;
Regards,
Hassan

Hi Khurram,
I have successfully executed the commands on Primary Database as below: (Standby database was in mount state at that time)
SQL> startup mount;
ORACLE instance started.
Total System Global Area 1258291200 bytes
Fixed Size 2083728 bytes
Variable Size 318768240 bytes
Database Buffers 922746880 bytes
Redo Buffers 14692352 bytes
Database mounted.
SQL> alter system set log_archive_dest_2='SERVICE=standby LGWR SYNC AFFIRM' scope=both;
System altered.
SQL> alter database set standby database to MAXIMIZE AVAILABILITY;
Database altered.
SQL> alter database open;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
After that I activated managed recovery process on standby database and all archive files were applied successfully;
Then I executed a script to insert 2000 records in Primary Database Scott Schema, and during the execution of this script I executed shutdown abort from anothe session on primary database.
at that time no new archive file generated only redo files was there.
I then executed below commands on standby database to apply current redo log file but that IS WAHT I WANT TO ACHIEVE IS UN-SUCCESSFULL.
SQL> alter database recover managed standby database cancel;
Database altered.
SQL> recover standby database;
ORA-00279: change 1065936 generated at 10/22/2009 17:02:43 needed for thread 1
ORA-00289: suggestion : /oradata/black/arch/1700844250_0000000043.arc
ORA-00280: change 1065936 for thread 1 is in sequence #43
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/oracle/oradata/black/stdb_redo01.log
ORA-00310: archived log contains sequence 42; sequence 43 required
ORA-00334: archived log: '/oracle/oradata/black/stdb_redo01.log'
SQL> recover standby database;
ORA-00279: change 1065936 generated at 10/22/2009 17:02:43 needed for thread 1
ORA-00289: suggestion : /oradata/black/arch/1700844250_0000000043.arc
ORA-00280: change 1065936 for thread 1 is in sequence #43
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/oracle/oradata/black/stdb_redo02.log
ORA-00283: recovery session canceled due to errors
ORA-00354: corrupt redo log block header
ORA-00353: log corruption near block 49141 change 1095254 time 10/22/2009
17:03:55
ORA-00334: archived log: '/oracle/oradata/black/stdb_redo02.log'
ORA-01112: media recovery not started
The standby redo log files are already generated on standby database. The database is in MAXIMUM AVAILABILITY MODE.
I have also go through your blog but did not find solution for my issue.
My scenario is that: SHUTDOWN ABORT (Primary Database) means that server goes down and we have to make our Standby Database as Primary Database, so we need to apply redo log file that niether switched nor applied yet.
Kindly advice.
Regards,
Hassan
Edited by: Hassan Raza Khan Lodhi on Oct 22, 2009 4:33 PM

Similar Messages

  • I bought macbook air in feb 2013. if it is fully charged it only works for 3 hours while it should work for 7 hours. i have selected allow application from anywhere. does it affects ?

    i bought macbook air in feb 2013. if it is fully charged it only works for 3 hours while it should work for 7 hours. i have selected allow application from anywhere. does it affects ?

    vishalss180 wrote:
    should i change the battry ??
    No need to change the battery.
    vishalss180 wrote:
    i have selected allow application from anywhere. does it affects ?
    No.
    Maximize Runtime / Tips for maximizing your battery charge
    http://support.apple.com/kb/HT1446
    http://support.apple.com/kb/TS1473
    A new Mac comes with 90 days of free tech support from AppleCare.
    AppleCare: 1-800-275-2273

  • Firefox works for a little while then it 'stops working' and closes

    firefox works for a little while then stops working. I get a message to either close the program or try to find a solution. when I click to find a solution, firefox closes. Of course, if I click 'close' it closes. There was a time it worked great.

    All Powerbook G4s 867 Mhz and up require 65W adapters to properly charge their batteries.
    PowerPC-Based Mac notebooks: Identifying the right power adapter and power cord--US

  • Encode Video Files not working for avi files

    Hi,
    I've been trying to convert some .avi files to apple format using Lion's native 'Encode video files' function however keep getting a 'avconvert: source file not found for source file://fileparthhere avconvert: failed to create an export session. Check setup
    I can't work out why as this has worked before in Lion and works fine for other video formats. The only thing I've done is remove Final Cut Express HD and can't add it again as I don't own it anymore
    Suggestions? Is there a encoder to make this work or should it work anyway?
    Thanks

    If you click Yes the project file will be updated when you save it. That has nothing to do with the media.
    Are the Lesson and Media folders still in the Book Files folder (or whatever it's called)?
    Select one of the clips in the browser and use Edit>Item Properties. One of the first lines is Source. That gives you the file path for where your media is supposed to be located. What does it say? If nothing is there, use the File>Reconnect function and point the application to where the media is located.

  • Oracle text search not working for  WSDL files

    I have a table (resources) with blob data type column (xml_data) and I've created context type index on that column. I've XSD and WSDL files stored in that blob column.
    I can search XSD and XML files with a query with contains operator. But any search on the words from wsdl file returns zero results.I am not able to perform search on wsdl file.
    Please advise me whether oracle text can work for WSDL files also ?
    Query details
    ===========
    create index myIndex on resources (xml_data) indextype is ctxsys.context;
    select * from resources where contains(xml_data, 'searchword') > 0
    Thanks a lot,
    Santhi

    Even though it isn't listed specifically, I can't see why it wouldn't work. The WSDL file should be a simple XML file, so in theory it shouldn't be any different to Oracle Text than the XML file that you loaded and searched successfully. Did you get any errors during indexing, and what do your tokens look like in the DR$MYINDEX$I.TOKEN_TEXT column?
    Do you have a mini test case that didn't work for you? Perhaps we could play with it a bit.
    Long term you might want to consider using section groups so that you can search "within" tags.
    -Ron

  • How do i set a default group (not staff) for new files?

    by default, new files created from within applications appear to be assigned group "staff", regardless of the folder in which they are being created.
    i want new files to inherit the group of the folder in which they are being created. if i create a new file from the terminal command-line, this works. note that it also works when creating new folders from the finder and "save as" dialogue boxes.
    how do i get this to work for new files saved from all applications?
    thanks.

    I usually use the .NET method myself, but if I were forced to poll I would do something like this.  I use a variant to hold the list of filenames.  I would only poll the folder info, when it has been modified then do the Folder List.  Any new files are spotted when the variant attribute does not exist (Replace = FALSE), and this is added to the array.

  • When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    When trying to print, adobe reader 11.0.07 keeps "Not responding" for 2 - 5 minutes before finally working? I have tried uninstalling and re-installing but same problem. What is going on? I have windows 7

    First of all, why did you say yes to Nero Back up before researching what it does with files already on the HDD? When I install Nero, the Back Up is the first thing I disable, it is a nagging pain, there are much better backup programs available. There are several file recovery programs out there to recover deleted files, that is, if that is what happened. Also, if you haven't overwritten the files, so you should be able to find them.

  • Preview not available for this file on import

    I just transferred all my stuff from a vista computer to a new Windows 7. Lightroom 3.3 is now running as a 64 bit. I am importing tiff scans which were done on the Vista computer. At first everything was going fine, but now when I select files for import, all I can see are greyed out boxes which say "preview not available for this file". If I import the file, all is well, but I would like to see them in preview as well. Also, the program has crashed twice in the middle of an import.
    Thanks for any help!

    Yes, the larger preview is viewable. I'm using Vuescan to scan the files. Nothing has changed with the scanning from the previous scans which worked fine...same settings, same computer (not the new one).

  • Can any one find a solution to this problem [ID CC 2014 has stopped working] for this file{link included}

    Hi all,
    Can any one find a solution to this problem [ID CC 2014 has stopped working] for this file{Dropbox - Questions CH-5 .indd}
    Note: I could open it, but suddenly I have faced this issue with just this file no any other of my files.
    Thanks for your help.

    try the blind export to .idml script at Adobe Community: InDesign 6 is crashing when attempting to open a particular document. All others are opening OK.

  • TS1717 when trying to import cd the following message appears "the current encoder settings for bit rate and sample rate are not valid for this file"?

    Trying to import cd when this message appears "the current encoder settings for bit rate and sample rate are not valid for this file".  Any suggestions?

    Thanks so very much.  I chose MP3 and Download and it is working beautifully.  Have a wonderful day and it is so nice of you to get right back to me.  I'm trying to cut a DVD for my grandson's grad party and I got most of the photos and didn't have any music since I lost everything in a clean install.  Could hug you!

  • "Preview not available for this file" error message.

    I'm using LR 4.4 but it hasn't worked correctly since I got my new camera (Canon 70D). When trying to import I keep getting the "Preview not available for this file" error message. I had some better luck connecting the camera with a usb cable, that let me see the jpg images, but it would not let me see the raw (.cr2) images. Would I solve this problem by upgrading to LR5?
    I'm running LR 4.4 on a Windows 7 PC.
    Thanks for any help that can be provided.
    Robert

    Support for the Canon 70D was introduced with LR version 5.2. see the link below.
    Camera Raw plug-in | Supported cameras

  • How IE works for  flat file

    Hi all:
         As we all know that, when IE gets a idoc's service name from SLD, then use it with idoc's message type and Idoc type to do receiver determniation, what about flat file ? how can we know its Service name and interface name  if there is only a flat file on FTP?  how IE works for Flat file ?
         Couldn't thank you more

    Hi,
    For any idoc scenarious, you would use business systems rather than business service which is stored in SLD. So the IE would fetch it from SLD at runtime.
    For file based scenarious also, you can create business system as type third party and use the same.
    Is that answer your question?
    Regards
    Krish

  • In the product/app Adobe Acrobat reader mobile.it would be good to have layer support working for pdf files.

    In the product/app Adobe Acrobat reader mobile.it would be good to have layer support working for pdf files.

    http://winsupersite.com/article/windows8/windows-8-tip-change-file-associations-144102

  • 8dot3 filenames not created for Program Files and Program Files (x86)

    Interesting issue we are realizing on Servers deployed from SCCM 2012. 8dot3names are not created for Program Files and Program Files (x86). they are created for other files/folders at the root of C and below Program Files and Program Files (x86). This is
    causing issues when programs are installed and the path is then created with 8dot3 filenames for program files and program files (x86)

    Arg. we just got bitten by this "feature", and it's affecting our security software stack (name starts with M and ends with ee), and some ancient crud too.
    And found this, which suggests a logical reason for 8dot3name to not be present on servers, but, on clients, I think it's a rather gross assumption...
    http://blogs.technet.com/b/josebda/archive/2012/11/13/windows-server-2012-file-server-tip-disable-8-3-naming-and-strip-those-short-names-too.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive it nothing happens.

    I can't lock screen on Ipad mini. My lock screen button is working for shutdowning Ipad, but don't working for lock screen. Also I tried to lock screen from Assistive Touch and it's not working. When I click lock screen on assistive touch it nothing happens.

    Thank you for that update.
    I would next backup your device to iTunes with this article:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    And restore it first as a new device, and verify that it works properly, then restore from your backup with the same article below to ensure that it is still working.
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    If it does not work correctly when you set up the phone as a new device, I would next seek service for your iPad:
    http://www.apple.com/support/ipad/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

Maybe you are looking for

  • Print of all the document no In MB90 by collective slip

    Hi All, we want to print of all the document no. we  put in MB90 from and to. collective slip already mark in MIGO output.please guide what has to be done in configuration. Or there is another Tcode where we solve this issue. Thanks in advance. Kunwa

  • How do I put an af:InputText and af:CommandButton on the same line?

    How do I put an af:InputText and af:CommandButton horizontally level with each other in my JSPX page? atm they sit on top of each other which is no good. Must I contain each item inside a form or something??

  • How do I record sound?

    I have very little experience recording sound onto my computer. I know how to use garage band, sound studio, etc. But I am interested in recording live chamber music. I was wonderng what additional programs and/or tools I will need. A microphone mayb

  • Help centering image on jlabel

    hi, is there any way to center an image on a jlabel, aside from doing it in the constructor. i want to allow the user at anytime to set text or an image on a jlabel, allowing them to change it anytime. i'm able to get the text set and then remove it

  • In illustrator, is there a way to reduce anchors points in a segment path without altering the path?

    In illustrator, is there a way to reduce anchors points in a segment path without altering the path? Is there a better and more efficient way to reduce anchors points than using the pen-minus tool? Thanks.