How to find standby db location

Hi all,
How can i know that database has standby database(data guard)?
without checking log_archive_dest_2 (or) remote.
is there any view to find out.
Thanks.

If you have a standby database : The v$database.SWITCHOVER_STATUS will show something like 'TO STANDBY'
If you don't have a standby database: v$database.SWITCHOVER_STATUS => 'NOT ALLOWED'
Database without a standby:
select database_role,switchover_status from v$database;
DATABASE_ROLE SWITCHOVER_STATUS
PRIMARY NOT ALLOWED
Database with a stamdby:
select database_role,switchover_status from v$database;
DATABASE_ROLE SWITCHOVER_STATUS
PRIMARY TO STANDBY
The same query on Standby:
select database_role,switchover_status from v$database;
DATABASE_ROLE SWITCHOVER_STATUS
PHYSICAL STANDBY NOT ALLOWED
Hope you got your answer.
Thanks,
Suresh C

Similar Messages

  • Where and how to find the storage locatation for the consignment stock

    where and how to find the storage locatation for the consignment stock (customer stock )  for more than one storage location .
    table :msku
    material no    -   werks - batch
    xxx                   sg11  - 200352ac
    table : mchb
    material no    -   werks  -lgort - batch
    xxx                   sg11   sg10   200352ac
    xxx                   sg11   gs11   200352ac
    note : each stock location having same batch no in different storage and my question how to find which link for msku to mchb .

    Hi,
    Try the table MARD: Storage Location Data for Material, where in the field LABST will give the stock field, against a given material/plant/Storage Loc.
    Regards,
    JLN

  • How to find database files location (from system flat files)

    Hi all,
    Is there anyone who could help me to understand the Oracle database starting mechanism. I'm looking the doc for a few days, but it lacks some details...
    I'm currently using Oracle 10g on RedHat, and my database has been created using DBCA. While the installation process, DBCA allows to use a customized location for "*all the database files*". I've chosen */data*.
    Now, when I'm looking in my /etc/oratab file, I can see: mydb:$ORACLE_HOME:N
    I guess the startup process of Oracle reads /etc/oratab (or I didn't understand its utility...) and then goes to $ORACLE_HOME to find the database infos. In this directory, I can see a directory named hostname_mydb/ and dbs/
    The dbs/ directory contains my pfile (initmydb.ora) which contains some parameters such as control files, but nothing about the parent directory of my database files, ie:
    control_files= /data/oradata/mydb/control01.ctl,....*
    but no DB_CREATE_FILE_DEST as I could expect if the db was created through OMF.
    The hostname_mydb/ contains nothing but a sysman directory.
    I wonder how Oracle process knows where are the .dbf files or the "parent directory of database files" ? Does anyone have a clue?
    I know it is possible to ask through sqlplus for .dbf location but I don't think it's the way used for the startup process (or at least, I hope there is another way)
    Thanks! (and sorry if the question seems obvious or stupid...)

    907899 wrote:
    Thank you very much CPKT for all these details. It helps me to see clearer!
    You are right, I have configure an Oracle Enterprise Manager and I didn't notice this directory was related to it...
    And as I first thought, many data are in the binary control file. I just thought Oracle was a more simple system :)
    You mention an Architecture Guide for DBA, is it the Database Concepts manual mentioned in the first reply or is it another manual (I can't find it, but obviously I have to improve my searching technique...)
    Thanks!=================================================
    Learning how to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com.
    Drill down to your product and version.
    <b><i><u>BOOKMARK THAT LOCATION</u></i></b>
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what <b><i><u>kind</u></i></b> of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what <b><i><u>kind</u></i></b> of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are <b><i><u>reference</b></i></u> manuals. Just get familiar with <b><i><u>what</b></i></u> is there to <b><i><u>be</b></i></u> referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Take a look in your alert log. One of the first things listed at startup is the initialization parms with non-default values. Read up on each one of them (listed in your alert log) in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.
    =================================

  • HT201365 How to find out last location of iPhone

    My phone has gone missing but was wondering if there is any way we can find out the last location on iCloud and how to do it

    First, this is the iPad forum. I've asked that your post be relocated to the proper area.
    If it's not currently online through either a cellular or WiFi connection, there is no way to get it. Find my iPhone retains last know location for a short time, but once gone, it's gone. Sorry.

  • How to find out the location of a point on my program on desktop?

    I am trying to build a java program then need to track where is specific point of the program at the desktop. For example, if I move my program at the top left, the x and y should be (0,0), then when move to another point on the destop, the x and y would be updated.
    I searched in internet for long time but still cannot find it. Seem like getLocation() just get me the location of something in a program and the location of that part within the program.
    Thanks!

    It's a kind of hierarchy where each component has a position relative to the container that holds it. The location of the program's top level window is relative to the screen coordinates.
    You can add a ComponentListener to the top level window to respond to it being moved or resized.

  • How to find out and locate the top 100 max elements from a 4D array

    I try to find out the 100 maximum elements in a 4D array and then I want to put the result in a 2D array, Which should show me the locations of the elements and the values of those elements
    ====================
    =Labview 7.0 & 8.0 & 8.5=
    =====================

    Hi,
    Don't know why you want a 2D array, this VI puts the results in a bundle.
    Just because it seems more practical to me (there's less room for
    mistakes)...
    The VI works as follows:
    The max value is returned, incl. it's index.
    Then it is replaced by the original minimum value, minus one.
    If the last found maximum is the (original) minimum, everything is skipped.
    If you really want a 2D array, instead of a bundle, replace the contant with
    an empty 2d array, the bundle with a build array, and the indicator with a
    2d array...
    Regards,
    Wiebe.
    "asd iyvjh" wrote in message
    news:50650000000800000017AC0000-1066448259000@exch​ange.ni.com...
    > I try to find out the 100 maximum elements in a 4D array and then I
    > want to put the result in a 2D ar
    ray, Which should show me the
    > locations of the elements and the values of those elements
    [Attachment Max 100 Values From 4D Array.vi, see below]
    Attachments:
    Max_100_Values_From_4D_Array.vi ‏45 KB

  • How to find SCCM collection location

    Hi,
    we have many collections but not able to find in SCCM console.is any one help to how to fine the specific collection by using name or collection ID.
    is there any report to find this if Yes please post the SCCM query for the same.
    Thanks,
    Ravindra Bhosale.
    Ravindra

    I used this one as a query in a Reporting Services report:
    WITH folderHierarchy (CollectionID,[Name],ParentCollectionID,[Path])
    AS
          SELECT
                CollectionID,
                [Name],
                ParentCollectionID,
                CAST('/'+[Name]+'/' AS VARCHAR(MAX)) AS [Path]
          FROM
                (SELECT
                      CollectionID,
                      [Name],
                      ParentCollectionID
                 FROM v_Collection
                      INNER JOIN v_CollectToSubCollect
                      ON v_Collection.CollectionID = v_CollectToSubCollect.SubCollectionID)
    AS V_1
          WHERE
                ParentCollectionID = 'COLLROOT'
        UNION ALL
       SELECT
          child.CollectionID,
          child.Name,
          child.ParentCollectionID,
          parent.[Path]+child.[Name]+'/' AS [Path]
       FROM
          (SELECT
                      CollectionID,
                      [Name],
                      ParentCollectionID
                 FROM v_Collection
                      INNER JOIN v_CollectToSubCollect
                      ON v_Collection.CollectionID = v_CollectToSubCollect.SubCollectionID)
    AS child
          INNER JOIN folderHierarchy AS parent
             ON parent.CollectionID = child.ParentCollectionID
    SELECT
       fldr.[Path],
       fldr.[Name],
       fldr.CollectionID
    FROM
       folderHierarchy AS fldr
    Where fldr.[Name] like @ColName

  • How To Find Attachment File Location .....?

    Hi,
    Can anyone tell me the location where the file attached using GOS is stored.
    I have created a attachment file in PURCHASE ORDER . i wanted to know that where it has saved in the system..
    location and path.... 
    Thanksin Advance,
    Anthyodaya.
    Edited by: anthyodaya Reddy Nagaram on Oct 22, 2009 1:05 PM

    ok

  • Windows 2008 Server crashed - How to find location of remote shared files that they used to access on remote web app?

    We have a client that was running windows 2008 server.  A previous IT person had setup their system, so we were walking into a situation where there were many unknowns.  Server was mainly handling emails only, and we were able to get their exchange
    database off and export PSTs to hosted exchange via microsoft.
    Everything went fine with that, however one user said that he used to access files on the server via the remote web app as he described.  He would go to the following url:
    https://mail.theirdomain.com/remote/menu.aspx#
    and he would use his login and then he would see several links to folders.  He could then click on those and see his desired files.  
    We were able to get the server booted again, however we could not find any of the files he described on it at all, leaving me to suspect that perhaps this remote link was accessing another PC.  
    We have the old server up and running, however the link above is no longer active because we have pointed the domain to the new hosted exchange server.  As I am still learning and my boss wanted me to research this on my own and figure out how to find
    out where these files are located.  Any advice would be greatly appreciated.  
    Just as a note I did try access mail.localhost.com/remote/menu.aspx# on the server but this did not work.  Is there any way in the IIS 7 management console to figure out where this was pointing to?  

    I figured it out - The server was using sharepoint to host these files.  I browsed localhost:987 and opened the sharepoint site locally on the server.  They had several documents to be exported, however when clicking on Open in Explorer it was
    giving an error that local client was not configured.  I installed Desktop Experience and after that was able to open it in Windows Explorer and copy all files off.  

  • I perviously transfered all my iTunes music to an external hard drive. But now when I connect the external hard drive and try to play a song, I get an error message saying that I need to "locate" my music. I don't how to find it on my external hard drive.

    I perviously transfered all my iTunes music to an external hard drive. But now when I connect the external hard drive and try to play a song, I get an error message saying that I need to "locate" my music. I don't how to find it on my external hard drive. Please help for I am not that computer savy and don't want to mess anything up.
    Thanks! 

    I called Apple Support and they walked me through it. They told me to basically copy and paste my music to the external hard drive. (I think.) Or maybe it was they had me transfer a folder to the EHD. I don't exactally remember it was a few years back. But I tried to plug in the EHD before starting and...nothing. Still says same thing, "locate file."

  • I just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    i just got the macbook air for christmas and i also got the dr dre headphones so i am trying to enable my soundcheck on my iTunes but i cannot figure out how to find where sound check is located can someone please help!!

    Go to the iTunes menu > Preferences > Playback.

  • TS4006 how to check my iphone location in my macbook pro via find my iphone or imac software ?

    just give me idea
    bcz i have sync my id in my 2 different iphone and also i synced my id in my macbook pro 15 inch but in my macbook
    how to chek my iphone location in my mac via find my iphone or my mac software

    Log into icloud.com and go to the Find My iPhone page to track your mac.  Your mac must be using wifi to be found (wired to a router doesn't work).

  • Anyone have any suggestions on how to find an iPod touch when it's location is off?

    Anyone have any suggestions on how to find an iPod ouch when it's location is turned off?

    Unfortunatley, with location turned off it is impossible to locate it. Also if your IPod is dead or is not connected to wifi it will not give its location.
    My best reccomondation is refering to this link: http://support.apple.com/kb/ht2526
    Good Luck!
    Sorry I can't give you anything better!

  • How to find out locations whether it is in use or not in use

    Hi All,
    I want to delete all unused locations from my FDM application. Can you please help me, how to find the locations that are not in use?
    Regards,
    PB

    You can view the tdataseg(x) table that the location is associated with and sort by period key as needed.
    Select PartitionKey,Part Name,Partsegmentkey
    from tpovpartiton
    This will return the location, location id and segment key.  The segment key is the data segment that the location is associated with.
    You can then query this table and sorty by period key to see what periods the location has data imported for.
    This should give you an idea and you can then delete your locations from within the Metadata > Locations Menu in FDM.
    Keep in mind that once the location is deleted, and data associated with the location will also be deleted (Historical Data)
    Hope that answers your question.

  • How can find the location of my iPad when location services is off?

    How can find the location of my iPad when location services is off?

    If you're wanting to know if you can locate your iPad though iCloud, without Find my device enabled and without power, you won't be able to locate it.

Maybe you are looking for

  • Objects (mostly text boxes, etc.) change slightly after uploading

    Hello! I am a novice Muse user, and love how easy it is to use - but I've noticed what I think may be a glitch with the rendering of text boxes once they're uploaded. When I am in design mode, all of my items are one size and perfectly aligned, but w

  • Report in Organisation Management

    Hi, I want to run a report based on company code and get the employee list to know there manager. Help me if there is any report in Organisation Management. Thanks, Padmaja

  • List of "about:config" commands

    I want to be able to really fine tune/customize firefox, but many of the changes I want to make are only available thru "about:config". An example of such a change -- how to force new tabs to open blank -- took quite a bit of searching and knowing wh

  • Moving of character to currency fields

    Dear all, i want to populate the numerical value of a character type field to currency type field. Pls help me to handle the decimals. For eg: data : v1(15)  type c value '123456',           v2       type netwr_ak.       move v1 to v2. How to handle

  • AutoCustomizationCriteria with results in subtab - whereClause is NULL

    I have a autoCustomizationCriteria Query region with include simple search panel set to true. my results are displayed in a subTabLayout region under which i have 5 tabs (of type simple table) to organize the data into logical groups (so 1 row's attr