Log_archive_dest_2: SYNC or ASYNC

All,
I have the following setup:
Physical standby of a primary, with a delay configured of 23 hours (5 minutes in my test setup).
With a delay, should my log_archive_dest_2 parameter contain SYNC or ASYNC?
I believe it has to be ASYNC, because I want to avoid my prod being blocked if network is down.
alter system set log_archive_dest_2='SERVICE=STAN LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STAN reopen=60 delay=5' scope=both sid='*';
Regards

Specifies that network I/O is to be done synchronously (SYNC) or asynchronously (ASYNC) when archival is performed using the log writer process (LGWR).
Note:
When the primary database is in maximum protection mode or maximum availability mode, destinations archiving to standby redo log files and using the log writer process are automatically placed in SYNC mode.
had better refer the link:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_arch_dest_param.htm

Similar Messages

  • Naming sync and async operation

    Hi there,
    Does somebody know what is the rule for naming the synchronous version of an asynchronous operation (or vice verse)? Also, is the implementation pattern for the Create/Update/Delete/Sync EBO based EBS operations always supposed to be asynchronous request-response (while synchronous for Query/QueryList)?
    I know that Process() can be designed as both synchronous and asynchronous, but can the aforementioned have their synchronous version as well (asynchronous for Query/QueryList)?
    Regards,
    /Miko

    839396 wrote:
    Dear Friends,
    In 11g databgurad ,
    I planned to used 2 physical standy once in the same LAN and another in the DR site
    I need to have SYNC between primary and Standby 1 which is in same LAN
    I need to have ASYNC between primary an standy 2 which is in DR site
    Is it possible , if so how do i achieve this?
    Because i believe SYNC and ASYNC will be decided by oracle internally based on the Protection mode we choose so in that case
    we can't have mix up (SYNC and ASYNC) for standby databases?
    Regards,
    DBI think John already mentioned how to do, let me derive more .
    SQL> alter system set log_archive_dest_2='SERVICE=same_lan SYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    SQL> alter system set log_archive_dest_3='SERVICE=DR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=<db_unique_name>'
    >
         839396      
         Newbie
    Handle:      839396
    Status Level:      Newbie
    Registered:      Feb 23, 2011
    Total Posts:      14
    Total Questions:      8 (8 unresolved)
    >
    why all the questions are unanswered? Please close the threads and keep the forum clean. https://forums.oracle.com/forums/ann.jspa?annID=718

  • Sync or ASync for a Data Warehouse environment?

    We have a 7 TB DW environment that we're using High Availability on. Almost all of the data is bulk loaded nightly/ weekly. We've been running this in Sync-commit mode, but lately the Transaction Log in our Primary DB has grown to > 1/2 TB waiting on
    the bulk loads to be committed on the Secondary server. 
    Would this scenario be mitigated if we were using ASync-commit mode? Would the TLog, no longer waiting for the Secondary to synchronize, be able to shrink as it normally would (of course considering TLog backups, etc.)?
    TIA, ChrisRDBA

    We have a 7 TB DW environment that we're using High Availability on. Almost all of the data is bulk loaded nightly/ weekly. We've been running this in Sync-commit mode, but lately the Transaction Log in our Primary DB has grown to > 1/2 TB waiting on
    the bulk loads to be committed on the Secondary server. 
    Would this scenario be mitigated if we were using ASync-commit mode? Would the TLog, no longer waiting for the Secondary to synchronize, be able to shrink as it normally would (of course considering TLog backups, etc.)?
    Hi,
    Whether you use Sync or Async mirroring( I guess you are talking about mirroring) logs generated by transaction would be same. IMO problem here is logs being generated. Of course in sync mirroring transaction will wait for commit on mirror to commit
    it on principal so in sync commit would be delayed there would not be affect to transaction log.
    From what you gave I suggest you to break bulk load operation in more quantised batches. I mean to say decrease amount of data being loaded followed by (If possible) more transaction log backups and in this case Async would help to speed up commit but remember
    chances of Data loss in case of disaster will increase in Async Mirroring plus you need to have Enterprise edition to take benefit of Async mirroring.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Statistics of Sync and Async messages in PI

    Hi,
    How can we count no of Sync and Async messages that were processed(sucessful or unsucessful) in PI.
    Does the worbench has any table or Report that will give me the statistics.
    Request some pointers on the same.
    Thanks ,
    Bhanu.

    Hi,
    Yes, such a report is available in RWB under Performance Monitoring. Simply choose the required time period, and use Display Options to add the Processing Mode (that will say: sync or async). You can also use Performance Monitoring to get more details about these messages.
    Hope this helps,
    Greg

  • Proxy to JMS Scenario: switch from sync to async proxy,does it makes sense?

    Hi @all,
    i've implemented a sync proxy to JMS scenario that works well. Backend is ECC 6.0 and Middleware is PI 7.1.
    Business Case: Run a request with a number and get a response back with a corresponding entry for the number. That means, there is always a response expected.
    Now the following thing appears: the receiver system could not handle many calls at one time (200 calls are planned at each run), the calls reduces the performance. Now gys at receiver system likes to develope a buffer of 10 seconds between the requests to handle some kind of load balancing with that. That means for the request that it the response takes +10 seconds back to backend. It is also possible to handle that in SAP backend with a waiting-statement in coding, so there is no need to go from sync to async - but the customer requested us to implement this scenario in async.
    JMS is always async, I know. But the Service Interfaces for Inbound and Outbound are of mode sync - so I can call my outbound Interface class in backend with Importing Output and Exporting Input.
    My question is: makes it sense to go from sync to an async scenario?
    And how looks the coding in backend for the response? I guess that it only makes sense to switch to async when no response entry is needed (example: for write operations).
    Thanks in Advance,
    Stefan

    > But in case of switching, what is the best way?
    > Should I implement 2 senarios? Or is it ok to switch the Inbound and Outbound Service Interface from sync to async?
    I don't think you need 2 scenarios for this. Just one is enough with different RDs.
    Over all in this case you have to re-create/modify the service interfaces and also you have to create 2 interface mappings. You have to also create the new inbound and outbound proxies since service interface mode will be changed. For outbound proxy the code can be reused and for inbound proxy also logic and code can be taken from your old code.

  • Sync-to-Async process

    Hi,
    I'm trying to call an asynchronous process from a synchronous one following the Sync-to-Async instructions available in the documentation ("Building Synchronous and Asynchronous business processes").
    I can generate the Sync-to-Async WSDL file without problems but when I try to build the control from the WSDL, the callback method is never generated (the callback method is defined in the WSDL) and get this warning:
    "WARNING: processes/sync/SincronWorkerSyncContract.wsdl Line 0, Col 0: Operation 'response' was not added to the CTRL file."
    Any ideas of what I'm doing wrong?
    Thanks!!

    Raghavendra,
    You should check the syncmax wait time parameter on the server. It is this parameter that causes synchronous interfaces to time out .
    - santosh

  • Can processes be both sync and async

    Hi,
    When creating a BPEL process in JDeveloper, there are two pre-defined templates for synchronous or asynchronous processes. As such, I've been viewing a process as being either synchronous or asynchronous.
    However, after a bit of experimentation, I've come to the conclusion that a process can contain both synchronous and asynchronous operations.
    Does this sound correct? Should I not be viewing a process as being one or the other, and it is fact the operation that is sync or async?
    Cheers,
    Toby

    Some thoughts on that:
    -You can view sync as a special form of async, so each sync process is also an aysnc process. (I'm ignoring the tech diff like two ports, two partnerlinks here)
    -You can call sync and async (BPEL-) processes in one process.
    -If a process P contains only sync processes, that will make P sync.
    -If a process P contains (among others) at least one async processes, that will make P async.
    -If you have a async process, you can wrap its invocation with a timeout, making it a sync process.
    Roman

  • Differnce between sync and async webservices

    All,
    What is the difference between sync and async web services?
    Actually i am looking for a web service, which doesn't return a response. is this achievable?
    Thanks

    SRAVZ wrote:
    What is the difference between sync and async web services?from a webservice protocal perspective there is no difference. you still make a request and get a response. the difference is in what the initial response contains. in a synchronous call, the initial response will contain the final result. in an asynchronous call, the initial response will not contain the final result, but may contain some sort of "ticket" which can be used in a subsequent call to get the final result. generally, the client will need to poll the webservice until the final result is available.
    Actually i am looking for a web service, which doesn't return a response. is this achievable?it's not really possible to not return any response. http is a request/response protocol. if you don't have any data to return, then the response will be fairly minimal, but it will still exist.
    Edited by: jtahlborn on Dec 2, 2012 9:22 AM

  • SYNC or ASYNC

    Hi,
    When the network to the standby is lost with SYNC or ASYNC, where is the information queued and how is it retransmitted once the network has been re-established?

    about this ,Larry Carpenter's book "Oracle Data Guard 11g Handbook" has a best description , i post it here :
    Automatic Gap Resolution
    A log file gap occurs whenever a primary database continues to commit transactions while the LNS process has ceased transmitting redo to the standby database.This can occur whenever the network or the standby database is down,depending on how you have chosen to implement your Data Guard configuration.While in this state,the primary database LGWR process continues writing to the current ORL,fills it,and then swithes to a new ORL while an archive(ARCH) process archives the completed ORL locally.This cycle can repeat itself many times over on a busy system before the connection between the primary and standby is restored,creating a large log file gap.
    Data Guard uses an ARCH process on the primary database to continuously ping the standby database during the outage to determint its status.When communication with the standby is restored,the ARCH ping process queries the standby control file(via its RFS process) to determine the last complete log file that the standby received from the primary database.Data Guard determines which log files are required to resynchronize the standby database and immediately begins transmitting them using additional ARCH process.At the very next log switch,the LNS will attempt and succeed in making a connection to the standby database and will begin transmitting current redo while the ARCH processes resolve the gap in the background.Once the standby apply process is able to catch up to current redo records,the apply process automatically transitions out of reading from archived redo logs,and into reading from the current SRL(assuming the user has configured Data Guard real-time apply).One last side note:beginning wiht Data Guard 10g,one ARCH process at the primary database is always dedicated to local archival to ensure that remote archival during gap resolution does not impact the ability of the primary to recycle its ORLs.

  • Design question - 1 source (sync) -- 2 receivers (sync and async)

    Hi All,
    What are the options available to design following scenario:
    Message (material update) sent to XI from 3rd party system, XI will update material synchronous calling BAPI in SAP, response will be sent back to 3rd party. The same message (material update) needs to be updated in SQL DB asynchronously.
    Do we need to use BPM for the above scenario (SystemA <> XI <> SAP and same message from SystemA -->XI --> SQL DB)???
    If I need to use BPM What are the steps to be used in BPM??
    Can we do this without BPM?? What is the procedure??
    Thx
    N@v!n

    Ahmad,
    I think that for 1:n scenarios, if you have synchronous receiver interfaces, you'll need BPM for that. That happens because XI wont be able to decide on which receiver response message will be actually mapped back to sender response. However, Im not sure it wont work for 1:2 scenario, if you have 1 sync and 1 async receiver interfaces. Theoretically, it could work. You'll have to test it in order to be sure. If you get "TOO_MANY_RECEIVERS" error then it is like I said, it wont process 1:n with sync interfaces.
    Kumar,
    as for the BPM, you dont have necessarily to have transformation steps inside BPM, you can normally perform mappings at interface determination runtime (given that your interfaces are unique for each send step inside BPM). The steps you really need inside BPM are:
    1. receive step in "open sync/async bridge" mode;
    2. send step in synchronous mode (for receiver RFC);
    3. send step in asynchronous mode (for receiver JDBC);
    4. send step in "close sync/async bridge" mode.
    Regards,
    Henrique.

  • Async to sync to async across different SWCV using BPM

    I have inherited some scenarios and incomplete config...  the more i dig the more i find....
    i think I have a SAP proxy -> web (sync) -> mail adapter scenario.
    i have created the SWCV for the web, the Proxy is using SAP Standard ERECRUIT objects (aysnc) and i guess i need to use a BPM to link the async -> sync -> async.
    however, i cannot use the object from the ERECRUIT object in my BPM...  :o(  i have tried... it is not allowing me...
    the service interface is not abstract... i cannot create an abstract version of the SI in my namespace and use it...  as it can only access the DT and External Definitions within the SWCV...
    would it be best to map the SAP structure to a custom copy of the SAP Structure within my namespace then proceed with the BPM?
    what would be best practice for this???  has anyone else come across a similar scenario?  is BPM the answer???
    i have been looking at this blog and it looks the way to go...
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    i am using rules to determine where the message should be routed too in the receiver, but i get the feeling this will have be implemented for all messages once i get the first working...  the process will probably be the same, jsut the final Web destination will be different....

    for the BPM, you can only access service interface in the same SWCV as of the BPM.

  • Sync and async bpel process

    Hi,
    I was reading about the synchronous and asynchronous process in the forum, I have also some similar problem.
    some of my questions are:
    If suppose my BPEL process is going to take around 2 mins or more to finish , then I cannot chose synchronous BPEL process as the default timeout is 45sec and not recomend to increase the time.
    As the above is true, I have created a asynchronous BPEL process, now I want the reply back from asynchronous, is this is possible? even I found that when I invoke the partner link of asynchronous BPEL process it doesn't ask for the output variable. SO if any process going to take longer time and need response from that, whats the solution.
    Regards,
    Sreejit

    Hi James,
    Thanks, yes you are correct that receive is required for the response from async process.
    Do you have any idea how we can get the response back if we are calling the asyn process outside the SOA server, say from PL/SQL or Java API. PL/SQL can call the sync process and get the response back but in case of async process it returns null as the callback response of async not send the response to database. Is this possible with java api, any link or sample which illustrate this or any step suggestion. Actually I am trying to call the BPEL process from Oracle Apps R12 E-Business suite.
    Regards,
    Sreejit

  • Doubt about Sync and Async process

    hi experts i have one small doubt
    if we r having the scenario like file to rfc
    iam passing the input parameter like material number through file  adapter
    and then i want to get the material details response from rfc sap r/3 to file system
    this is the scenario.
    now here which is the synchronous processs 
    and which is the asynchronous process
    please let me know
    clear my doubt with explanation please......
    thanks
    giri

    Hi Sesha,
    For information on sync/async please refer:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm</a>
    Regards,
    Subhasha ranjan
    Message was edited by:
            Subhasha Ranjan

  • Facing problem when using SYNC and ASYNC bridge in ID

    Hi all,
    In BPM i am using SYNC/ASYNC bridge for that Outbound Interface and BPM Sync Interface has the same structure is it mapping necessary for that intercaces.
    In interface determination it is showing error duplicate interfaces in ID test configuration , when i loading the Interface mapping for the same.
    In the Receiver determination i am sending the message based on the conditions to the particular receives through different receivers Business Systems from the Sync interface showing error.
    Give me solution how should i do the Interface determination and receiver determination.
    Please help me any one .
    Thanks in advance,
    Manohar.
    Edited by: Manohar S on Feb 28, 2008 9:50 AM

    Sorry for delay.
    Tough question.
    Oracle® Database High Availability Best Practices 11g Release 2 (11.2) E10803-01 August 2011
    Under "5.1.8 Set LOG_BUFFER Initialization Parameter to a Minimum 8 MB"
    States :
    "If you are using Oracle Data Guard with asynchronous redo transport, you may need to increase the value of the
    LOG_BUFFER parameter to avoid disk I/Os to online redo logs."
    Nothing about "Synchronous".
    I agree with you on Oracle Support Note 951152.1, its vague.
    Additional links on the subject
    This also seems to imply :
    http://joordsblog.vandenoord.eu/2010/08/data-guard-optimizing-async-redo.html
    So does this ( With ASYNC, increase log buffer size if necessary )
    http://www.oracle.com/technetwork/database/features/availability/316925-175283.pdf
    This one has a very nice Synchronous and Asynchronous compare.
    http://www.datadisk.co.uk/html_docs/oracle_dg/architecture.htm
    New Zealand, Someday I may have to travel there.
    Best Regards
    mseberg

  • Idoc (async) - soap (sync) - file (async)

    Hi.
    I have a flow from idoc (async) to webservice (soap sync) and I want the response from soap to be written in file (async).
    I want to do this without BPM and I have read some posts about using modules RequestResponseBean and ResponseOnewayBean.
    Can someone help me with this step by step.
    I have in ESR a OM that is async because of the outbound Idoc. Do I need a sync OM for the soap call and another async OM for the response to the file.
    Where do I need to put the modules? In the SOAP receiver?
    I know there are some threads that cover some of this but I couldn't find any that cover the whole of my issue step by step.
    Regards,
    Hjortur

    Yes doing async to sync is possible without bpm. YOu already got the design solution.
    >Where do I need to put the modules? In the SOAP receiver?
    Sender Channel.  In your case you might not need channel for idoc but for this configuration you might need to create one. That is my guess.
    In the module section sequence as follows
    1) AF_Modules/RequestResponseBean   Type:  Local Enterprise Bean    Module key   1
    2) CallSapAdapter                Type Local Enterprise Bean    Module Key 2
    3) AF_Modules/ResponseOnewayBean     Type Local Enterprise Bean  Module Key   3
    Plus follow the link given by shabarish as reference.

Maybe you are looking for

  • Org unit Hierarchy structure between two  Key date s

    Hello Friends, We have an issue with displaying HR Org unit hierarchy structure between two calendar months. The BI Report has a selection parameter to select Org unit hierarchy , Calendar month From and Calendar month To The BI Report is to display

  • Connecting DTT 3500 to Audigy 2

    HI there, Hope someone can help cos I'm going mad! I am trying to connect my Audigy 2 to my DTT3500 speakers. For a long time I have had them conected to my DVD player and as a result have lost the pc adaptor cable that came with the speakers. So, I

  • I just spilled Apple juice on my white keyboard (iMac)

    I just spilled Apple juice on my white keyboard that came with my Imac. I have removed all the water and excess water both on top and under some of the keys, however some of the buttons dont work like the 'a' button and the command button. My questio

  • Combine to fields

    Hi all, I would like to know how i can combine two fields into one without leaving a gap in between. for example VendId W0031 01 s0051  02 I would  like for the gap in between to disappear and show like this VendId W003101 s005102 Below is the query

  • Can we conform in memory via in memory only query?

    Can we conform in memory via in memory only query? In other words, if I do in memory query only, does the query result will represent changes done in the UOW so far? I thought that was the case, but then I saw this comment in EclipseLink 1.1.3, class