How to check standby is logical or physical

Hi,
can anybody let me know is there any query or any other way to get the information that the standby is an logical or physical
DB version is oracle 9.2

select database_role from v$database;

Similar Messages

  • How to check web service (logical port) accessibility

    Before call some web services, a check needs to be done to make sure the web service connection is accessible. In fact, a logical port is used; and its accessibility needs to be checked in ABAP code.
    Besides calling the web service method itself and catching the exception, is there any other general way to check whether the web service connection available?
    more details in respect of this question:
    The executing of web services will take a relative long time while sometimes only the availability checking for web services is needed. So I'm finding other ways to check that.
    In the code, the logical port will be used for accessing web services. Any way to check whether a logical port works OK in code?
    Thanks!
    Said
    Message was edited by:
            Sayid Tong

    Hi Prashant,
    Thanks for your attention.
    Do you mean give the web service url and check it? Neither do I know which method can be used in this regarding from program RSDEMO_HTML_VIEWER.
    I'd like to give more details in respect of this question:
    The executing of web services will take a relative long time while sometimes only the availability checking for web services is needed. So I'm finding other ways to check that.
    In the code, the logical port will be used for accessing web services. Any way to check whether a logical port works OK in code?
    Thanks.
    Said

  • How to check for a logic bomb in compiled java code ?

    I have couple of security requirements.
    1. How do I check for logic bomb in the compiled java code ?
    2. Is there any way to monitor memory utilized by class when running inside a constructor ?

    1. Let me see if you can define 'logic bomb', then maybe a answer can be supplied. If you simply mean malicious code, then in general you cannot. You can attempt to do the kinds of things that antivirus software does, like check for the existence of known malicious code and code patterns, but that won't work any better on Java than it does on anything else.
    2. Google java profiling. Also, for something relatively simple, read about jconsole.

  • Can I check whole DB for logical and physical consistency?

    Assume I get somehow the impression that a part of a DB is somehow corrupted.
    E.g. due to hard disc sector errors or logical reference errors/changed foreign key values.
    How can I tell Oracle DB to check itself resp. to verify all the content inside for logical and physical integrity?
    Peter

    Use DBVerify to check corruption in the datafiles.
    Asif Momen
    http://momendba.blogspot.com

  • Configuring both logical and physical standby databases.

    Hi,
    I am trying to set up one primary and two standby databases which are physical and logical. together. What I am wondering is if i tis posiible to set both log_archive_dest_n parameters in init.ora of primary db to 'LGWR ASYNC'.. I tried to do that but I noticed that while redo data goes the first remote log destination including LGWR statement properly but for the second it does not.
    So my assumption is only one remote archive dest. can be set for the LGWR process. Is ıt right?
    Regards
    ALPER ONEY
    email:[email protected]

    Hi,
    when I set remote archive dest _n parameter for logical  standby database to the value like 'LGWR AYSNC' and for the phy. standby to 'ARCH', it is ok. But if I change both parameters to 'LGWR'. I can see that only one destination receives the redo data and this destination is also the first destination configured for receiving redodata . I am just wondering that LGWR process is able to serve two or more to destinations at the same time. If it is ok, I am wrong and I better to try harder to solve the problem. I read the Dataguard document for 10GR' and the example for the case I created (two standby databases),, it uses ARCH process to send redo data and so everything is ok in that example.
    P.S I also configured standbys for real time apply.
    Waiting for your comments.
    Regards.
    ALPER ONEY

  • Logical and Physical Standby Practice

    Hello Gurus
    I am now attempting to practice Oracle Data Guard and in this direction I understand since 10g we have logical standby server as well as a physical standby server. While I am gathering information and knowledge about the data guard as is and varisous modes and types possible with oracle 10g and 11g in specific, an attempt to upgrade my self and learn these set-ups and understand them in detail.. I come to you for some guidence..
    I am referring to Oracle Documentation for these details. At the same time I also approach you to share your experiences .. may be a link apart from the documentation of oracle which you might want to refer me to use as a quick reference.. some thing that a person like me .. fairly new to this set-up understand it and then attempt to come up with one..
    This is for my practise and learning purpose.
    Sarat.

    Logical Standby was already introduced in 9i. It differs from physical standby in the way, the redo protocol, transmitted from the primary, gets used to actualize the standby. With logical standby, you have SQL APPLY - basically, we try to generate the same SQL that was done on the primary from the redo protocol that was written on behalf of that SQL on the primary. That SQL then is done on the OPEN instance at the logical standby.
    In case of a physical standby, the redo protocol from the primary is used to do RECOVERY - called REDO APPLY - to actualize the standby.
    Since 10g, the sames protection levels can be achieved with logical or physical standby.
    Drawback of logical standby: Not all kinds of SQL and all datatypes are supported
    Drawback of physical standby: It is mounted (versions before 11g) while being recoverd - or in 11g, REDO APPLY in READ ONLY status is possible but comes with an extra charge (ACTIVE DATA GUARD feature).
    If you look on my Blog, I have some examples about creating physical & logical standby DBs
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Logical and Physical Standby on same Node

    Is it possible to have a logical and physical standby database for a primary database on the same node (i.e. primary on NodeA, logical and physical database of primary on NodeB)?
    Will there be any conflicts with data guard broker with this configuration or any problems I may encounter?

    From a technical point of view this is possible. Your standby node should be powerful enough to handle 2 instances. For even higher availability 3 dedicated nodes would be better. When Node B is down, both physical and logical standby are also down.
    Werner

  • Logical or physical standby

    Hi,
    on 10g R2
    any way to know if we are in logical or physical standby for DATAGUARD ?
    Thank you.

    ok, thank you.
    But connected to a instance , I receive the following :
    SQL> select instance_role from v$instance;
    INSTANCE_ROLE
    PRIMARY_INSTANCE
    SQL> select database_role from v$database;
    DATABASE_ROLE
    PHYSICAL STANDBYAm'I connected to PRIMARY or to STANDBY ?
    In documentation :
    INSTANCE_ROLE VARCHAR2(18) Describes whether the instance is an active instance (PRIMARY_INSTANCE) or an inactive secondary instance (SECONDARY_INSTANCE), or UNKNOWN if the instance has been started but not mounted

  • Convert physical standby to logical

    Hi everybody!!
    This is my first message on this forum, altought i have been reading few time before (around 4 months)
    I have a "problem" in my database environment. I must change a physical standby to a logical standby. This cahnge is possible with dataguard technology or i must recreate the standby as logical???
    thanks for your replys!!!
    PD: sorry, but my english is painful (i belive) :-)

    You have not really stated the Oracle version you are using, but to create a logical standby, you first create a physical one, so all you really need to do is read chapter 4 of the dataguard concepts and administration manual:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ls.htm#g105412
    is the correct procedure for 10gR2

  • Downtime for logical or physical standby database

    Hi ,
    Are there any downtime required to refresh the data from the primary database to logical standby or physical standby database. What are the pros and cons of
    using logical and physical standby database approach. which one is advisable to use in production environment.
    Regards,
    Richard

    Hi Richard,
    I'd suggest you read the documentation as a starting point, to answer your questions on here would be quite lengthy,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/toc.htm
    In a nutshell you dont need downtime to maintain a standby, you can create them from a hot backup of your primary and get them recovering whilst it is open, in terms of which type of standby to use (physical or logical) that depends on your requirements for the use of the standby ... as I said read the doco (chapter 2 has a section on the benefits of each type).
    HTH
    Paul

  • Physical standby and logical standby

    Hi,
    Why we mention standby_archive_dest and log_archive_Dest in standby init.ora.
    bcz there is no activity at physical standby.so why we set two parameters?
    what is difference between physical stand by and logical standby?

    Hi,
    A logical standby database contains the same logical information as the production database, although the physical organization and structure of the data can be different. The SQL apply technology keeps the logical standby database synchronized with the primary database by transforming redo data received from the primary database into SQL statements and then executing the SQL statements on the standby database. This makes it possible for the logical standby database to be open read-write and accessed for queries and reporting purposes at the same time the SQL is being applied to it.
    Logical vs Physical Standby database
    http://www.orafaq.com/node/957
    Regards,
    Tom
    Edited by: Soli on 19.8.2009 13:48

  • How to check Data Source extraction Logic

    Hi Experts
    Please explain me in details steps how/where can i check the logic of data sources
    We have data sources based on
    1) Custom data source based on Function Module  (Where can i check the code/logic....)
    2) Standard Business Content Data source (Where can i check Logic)
    3) Standard Business Content Data source which is enhanced to inculde ZZ fields (Where can i check Logic)

    1) Custom data source based on Function Module (Where can i check the code/logic....)
    Go to tcode RSO2, enter the generic DataSource name and click Display. In the next screen, it will show you the Function Module that that's used for the extraction of data. Copy that FM name, go to tcode SE37, past the FM name that you previously copied and then click on Display. This is where you can view the extraction logic for the generic DataSource based on a Function Module.
    2) Standard Business Content Data source (Where can i check Logic)
    Follow the same for display of generic DataSource source. On the initial screen, if you get an I-type message after clicking on Display, that message displays the name of the Function Module being used, otherwise hit Enter to get to the next screen.
    3) Standard Business Content Data source which is enhanced to inculde ZZ fields (Where can i check Logic)
    Transaction CMOD is used for the creation/maintenance of User Exits. In CMOD, use the dropdown to select the custom Project that's been defined on your source SAP application for BW extraction User Exits, and select the Components radio button. Click on Display. A list of INCLUDE programs will be shown. These INCLUDE programs each represent the four types of DataSources.
    EXIT_SAPLRSAP_001 - Transaction Data DataSources User Exit
    EXIT_SAPLRSAP_002 - Master Data Attribute DataSources User Exit
    EXIT_SAPLRSAP_003 - Master Data Text DataSources User Exit
    EXIT_SAPLRSAP_004 - Master Data Hierarchy DataSources User Exit
    You will have to know the type of data (e.g. Transaction, Master Data Attribute, etc) to know which INCLUDE to go into. Once you know which one to go into, double-click on it and this will bring into display mode on that INCLUDE. Another INCLUDE will be present that begins wth Z*. Double-click on that, and you should then be in the area where the logic is for determining where to go if the DataSource has a certain value and you should be able to get to the code to read through it from there.
    You can also get to these EXIT_SAPLRSAP_NNN programs via tcode SE38.

  • Physical Standby from Logical Standby

    Is it possible this scenario?
    Create a physical standby from logical standby and the physical receive archive from logical.
    I mean,
    Primary (10g production) -> Logical (11gr2 new server 1) -> (Physical 11gr2 new server 2)
    The goal of this scenario is a migration with a short downtime.
    O.S. aix 6.1
    11.2.0.2

    Is it possible this scenario?YES

  • Finding of the Logical and Physical filename,Logical and Physical Path

    Hello All
    Where and how can I find the below details in an SAP server
    Logical filename:
    Physical filename:
    Logical path:
    Physical path:
    Regards
    Kalyani

    hi
    Physical file is what you see from the OS level.
    Logical file is what ABAP code can call certain functions to read/write.
    Transaction FILE would link them together. Typically the logical path ends with "<FILENAME>", and the logical file refers to the logical path.
    To extract the physical path from the logical path name
    DATA: lf_mandt TYPE sy-mandt,
    lf_opsys TYPE sy-opsys.
    lf_mandt = sy-mandt.
    lf_opsys = sy-opsys.
    To extract the physical path from the logical path name
    CALL FUNCTION 'FILE_GET_NAME'
    EXPORTING
    client = lf_mandt
    logical_filename = p_unix
    operating_system = lf_opsys
    IMPORTING
    file_name = gwa_input
    EXCEPTIONS
    file_not_found = 1
    OTHERS = 2.
    IF sy-subrc EQ 0.
    Concatenating the physical path and the input unix file name
    CONCATENATE gwa_input p_file INTO gf_file .
    ENDIF.
    You need to tak ehelp of ABAPer for this
    Check the link
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3deb358411d1829f0000e829fbfe/frameset.htm
    Regards

  • Diff between logical and physical block corruption

    What is the difference between Physical and Logical block corruption.
    Dbverify utility, analyze command is used to check the logical block corruption not the physical one am i correct??
    When i get
    ORA-01578: ORACLE data block corrupted (file # 9, block # 13)
    ORA-01110: data file 9: '/oracle/dbs/tbs_91.f'
    ORA-01578: ORACLE data block corrupted (file # 2, block # 19)
    ORA-01110: data file 2: '/oracle/dbs/tbs_21.f'
    How to conform that this a logical or physical block corruption???
    please through some light regarding this....
    kumaresh

    the following link may help u
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmconc1012.htm

Maybe you are looking for

  • How do I open a frame in a new window or tab?

    I want to be able to open frames into their own tabs or window... So how do you do this, or is Firefox NOT CAPABLE of this... i.e. it's LAME and should be shot? (=:] How do I open a frame in a new window or tab? ======================== Basically...

  • Error message when we try to save a journal template / table

    Could anybody help us? Attached you find the error message , when we tried to save a journal template: We're using BPC Microsoft Version 7.5.104 #ERROR#AdminJournal##EPM-BPC-MS##2fe9a7f1-484d-429f-9a1b-7f155d5ea8a8###clsExcelHandler::SetExcelHeader#C

  • IChat Webcam

    I just bought a Mac Pro and I am using a LCD TV as the monitor. I plan on using iChat frequently and I'm unsure of what type of camera is the best option. I'm pretty clueless about the whole situation so any advice and opinions about types/brands/com

  • Osr calls from bpel are getting called twice in case of error

    Hi, I have a child process that does simple cancatenation of input and a string and reply back. I have deployed it and published its wsdl in OSR. I created another bpel process parent that will call the child process through OSR. When there is error

  • FM or BAPI to get Policy Details based on BP

    Hi All, Do any one know a Function Module or Bapi that I can use to find out the Policy Details Like Policy number, Brand, Status, Coverage, Inception date. Based on Business Partner. Thanks in advance Divya.