need to check the name of the standby database

Hi all

How can I check my database pending primary database name?

I have no idea where my db ensures located and what is the name.

any help will be appreciated


Thank you.

Hello

To simplify the work,

SQL > show parameter log_archive_config

dg_config =(prod,*STBY*)

Here's the prod-> primary
STBY is-> waiting for database

Thank you
Rognard

Tags: Database

Similar Questions

  • The physics of the standby database Y2K problem

    Hi all

    I am the passage of primary school to the physics of the standby database. Physical standby is in "recovery management" mode using real-time applies and is in editing mode. I've run alter database commit to switch to sleep mode physical with the logoff command. Now I'm waiting for standby mrp leave after treated RAH recording, but it seems mrp was hanged.

    Here is the content of the database pending:

    Online Redo Log recovery: thread 1 mem Group 5 Seq 620 reading 0
    Mem # 0: /oracle/app/oracle/dbrac/th1-redo5a.log
    Activation reset sleep ID 749049115 (0x2ca5951b)
    Met Media Recovery end Redo indicator
    Media recovery continues
    Media, recovery waiting for thread 1 sequence 621
    Journal archived 14 extra for each thread 1 620 0x2ca5951b dest ID sequence entry 1:


    Need help to solve.

    Thank you
    Sandy.

    Hello;

    After after deliver you (successfully) a:

    alter database commit to switchover to physical standby with session shutdown
    

    You must:

    Shutdown the former primary and mount as a standby database
    

    Check out my step by step:

    http://www.Visi.com/~mseberg/data_guard/Data_Guard_switchover.html

    Read everything (all steps) before continuing.

    Best regards

    mseberg

  • Script of free space for the physics of the standby database

    I need to determine how much free space I have in my physical storage spaces of the standby database. Is there a query for this? Remember that dba_ views are not available in a mounted single standby database so I'm pretty well limited to using the views v$. Thank you

    Why do you think you have to check the free space into a storage ensures physical ?
    You cannot create all segments anyway.

    Kind regards
    Uwe Hesse

    http://uhesse.WordPress.com

  • Data file not shipped from the primary database to the standby database

    Hello

    (1) create a new user
    (2) created a new table space and add datafile on the primary database
    (3) the value tablespace default user

    But so far, this new data file is not delivered on the standby database.

    Version of database - 10.2.0.3
    OS - Windows

    Setting of primary and Standby: -.

    SQL > show parameter standby_file_management;

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    standby_file_management string AUTO

    Both have the same file system, but the difference is case sensitive.

    Primary data file location - D:\testdata

    Location of file data at rest - D:\TESTDATA

    Help, please.

    MRP process is running on the standby database?

    If it is then try to pass, log on the primary database and share your result.

  • failover and failback on the physics of the standby database.

    Hi all

    I use the EE 10.2.0.4.I oracle version have a configuration database and named prim and Everelief. I tried the method of failover. I liquidated low primary eve and convert to the new primary database.


    •Arretez repeat applies.
    Run the following SQL statement on the database waiting for target:
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    Standing by applying all the data received to redo.
    In this we give indication to the standby database primary database is no more.

    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
    Once the order of FINISH is completed, the mode of protection of the primary database is lowered to optimum performance, regardless of its original protection mode. This is done because the new primary can be activated with on a standby
    SQL > select protection_mode, protection_level from database v$
    Level of Protection for the protection Mode
    ——————– ——————–
    PERFORMANCE WITHOUT PROTECTION

    •Check that the standby database target is ready to become a primary database.

    Query column SWITCHOVER_STATUS of the view V$ DATABASE on the database waiting for target.
    •If the physical database ensures the main role.
    SQL > ALTER DATABASE COMMIT to THE MOVE to THE PRIMARY WITH the STOP of the SESSION;
    •Open the new primary database
    SQL > ALTER DATABASE OPEN;
    •At this point the level of protection is passed to Max Performance "Unprotected".
    Circuits the new primary database.



    How can I see this previous situation?

    Hello;

    I can share my test notes (Oracle 11) should work even in 10:

    http://www.Visi.com/~mseberg/Data_Guard_Failover_Test_using_SQL.PDF

    Best regards

    mseberg

  • Effects of the opening of a primary database in resetlogs on the standby database

    Hi all

    Operating system: Solaris

    DB: 11 gR 2

    Can anyone throw some light below the explanation is given in case of recovery through the OPEN RESETLOGS Statement oracle documentation

    If the database pending... Then... Perform these steps...
    Not asked to redo data beyond the new resetlogs SCN (after the start of the new branch of data recovery)Redo apply automatically takes the new branch of the roll forward.No manual intervention is required. The MRP automatically resynchronizes the database pending with the new branch of data recovery.

    Here is the link of the source:

    Manage a database of physical standby

    Kind regards

    Just to give a concrete example, I did a test on one of my VM boxes. The database currently shows:

    SQL > select sequence #, the journal of v status $;

    SEQUENCE # STATUS

    ---------- ----------------

    34 ACTIVE

    CURRENT 35

    ACTIVE 33

    While on the eve, I stopped the redo apply so the standby status is:

    SQL > select sequence #, used from v$ archived_log;

    SEQUENCE # APPLIED

    ---------- ---------

    YES 30

    31 YES

    32 YES

    33 NO.

    34 NO.

    The database ensures in a few newspapers behind the primary.

    On the primary, I moved the journal a few sequences, close, the bootable media and restored and recovered 37 sequence:

    RMAN > run

    2 > {}

    3 > restore database;

    4 > up 37 sequence;

    5 > restore database;

    6 > alter database open resetlogs;

    {7 >}

    During the open resetlogs operation, I have to tail the log of alerts on the standby database and the following output shown:

    RFS [11]: identified the type of database such as 'physical' standby: customer is ARCH pid 17192

    RFS [11]: new branch archives REDO: 844006029 current: 843649185

    RFS [11]: Journal selected 102 for thread 1 1 dbid-204899919 branch of the 844006029 sequence

    RFS [11]: new Branch (resetlogs_id) of archive REDO: before 844006029: 843649185

    RFS [11]: ID of Activation of archives: current 0xf3d44942: 0xf3cf5ac3

    RFS [11]: effect of primary database OPEN RESETLOGS

    RFS [11]: entry of Incarnation added to Branch (resetlogs_id): 844006029 (ORCL11PS)

    Fri Apr 04 14:07:39 2014

    Definition of embodiment of recovery target 2

    Fri Apr 04 14:07:39 2014

    Archived journal 21 additional for each sequence 1 1 0xf3d44942 dest ID thread entry 1:

    So as you can see, the log shows the standby detects the resetlogs on the primary operation and the new branch of the roll forward and received the next archivelog with sequence 1.

    Audit on the eve, it shows the status following the archivelogs:

    SEQUENCE # APPLIED

    ---------- ---------

    31 YES

    32 YES

    33 NO.

    34 NO.

    35 NO.

    36 NO.

    37 NO.

    38 NO.

    1 NO.

    2 NO.

    And after restart the managed recovery process, it now shows:

    SEQUENCE # APPLIED

    ---------- ---------

    31 YES

    YES 30

    YES 19

    YES 33

    34 YES

    35 YES

    YES 36

    37 NO.

    38 NO.

    1 YES

    2 YES

    Archivelogs with sequence 37 and 38 were not implemented because of the CAMILLE on the main sequence until (but not including!) 37 and then properly applied the next archivelogs of the new branch of the roll forward, with sequence 1 and 2.

  • Archived not getting applied to the standby database.

    Hello

    I turned the parameter standby_file_management to manual and since I created 3 primary data file, but they are not applied to the standby database.
    I turned on the Auto setting and started the MRP process but still not able to apply archive.
    Version Oracle 10.2.0.5


    Please suggest,
    Amit Sharma

    Hello

    Your problem is that the MRP standby automatically when a data file is added on the primary database. The reason would be that the parameter STANDBY_FILE_MANAGEMENT is set to MANUAL on the standby database.

    Please refer to this http://shivanandarao-oracle.com/2012/04/02/managed-recovery-process-mrp-terminates-on-standby-database-upon-adding-datafile-on-the-primary-database/

    It will be useful.

    Kind regards
    Shivananda

  • Backups on the physics of the standby database?

    I use dataguard and standby a physical database. How to assign backups on the physics of the standby database to reduce the load on the primary database.

    environment: windows

    Database version: 11.2.0.1.0


    What are the pro and cons on the allocation of jobs of RMAN backups for the physics of the standby database?

    Hello;

    The backup database is an identical copy of the primary database block.

    Therefore, you just save one of the two (you can choose to only save the day before, however, if you want to remove the load on the primary). But if you are uncomfortable with the primary backup, it is not necessary for the safeguarding of the day before. (Since you can recreate the primary backup before).

    The only important part, is that you use the RMAN catalog. Then only known RMAN, the two are identical and can use the same backup.

    Best regards

    mseberg

  • Switching from primary to the standby database

    Hi all

    Please can you give me some advice/comments/documents to help understand the steps that should be applied to move from a primary database to a standby database.
    I'm using Oracle 11 g 2 with Dataguard.

    What are the steps that must be applied from the primary to the standby database.

    Kind regards

    Hello again;

    My paper is a physical standby database. I have NOT tested using a logical standby database.

    The steps documented to perform the failover of the database logical Standby is located in:

    Perform the failover in a Configuration of data hold without the [ID 232240.1] Data Guard Broker

    Look under the heading "the steps to perform the logical passage with the Standby databases:

    I hope this helps.

    There is additional information here:

    http://ayyudba.blogspot.com/2007/10/performing-switchover-in-Data-Guard.html

    Best regards

    mseberg

  • Need help on Physics of the standby database

    Currently, our physical database ensures runs in manual mode and newspapers is applied by me manually within 2 days.

    And also when I add a data file in the primary database, I have to manually add the file again to sleep.

    This process becomes too painful, that now I want to automate this process,

    Now my question is
    To automate this process, I need to bounce back to the database?
    I want to have the gap of 2 days for check log to apply the process? How should I do this.

    And all the settings I need to change.

    Please advice...

    Oracle 9.2.0.7 verison
    Solaris 10 operating system

    ORA_DBA2 wrote: for the automatic management of the files that I need to enable these settings,

    For example

    standby_archive_dest = ' / disk1/oracle/oradata/payroll/standby.
    db_file_name_convert = ('/ disk1/oracle/oradata/pay /',)

    db_file_name_convert and redo_file_name_convert are parameters used for databases of relief when waiting for redo log files and data files are in different places of the primary database. If you do a conversion of the locations. If they are the same as the primary, then you don't need the parameters. What do you need to make sure of, is that you have standby_file_management = 'auto', while created for primary data files are also created for sleep.

  • Need to check the update of the BIOS Portege R830 without Intel TXT

    Hello Forum,

    I have exactly the same problem as described here 2 years ago:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=65519

    I need to update my BIOS, but I can't because the update of the BIOS told me that the Intel TXT is enabled.
    Unfortunately I can not disable it in my bios. Its just not selectable. The 'cursor' jumping just above him.
    I can only 'hide' which does not help.
    I have the same thing for the VT - x and VT - d setting in the BIOS. Is not selectable or editable as well.

    TPM is not active if...
    I installed after infineon and he tells me I need to enable the TPM in the bios to use. :-(

    I have a very old Bios Version 3.1 and I read in the changelog that there are a lot of TPM in v 3.4 and 3.5 related changes...

    In any case...
    A P007Dv360A_EC77V140.zip file has been transferred to 2shared.com who fixed it at the time, a user named Paolo30.
    Unfortunately, that this file has been deleted on 2shared.com

    can someone please provide this file (or an update of the bios later) which resolves this issue?
    Thanks in advance.

    Portégé R830 - 10 p belongs to the series of PT321 if you need the BIOS for Portege R830 PT321

    You can download older versions of pages driver Toshiba BIOS.
    For example: http://www.toshiba-asia.com/sg/support/drivers

    On this page of Toshiba Asia I could find all the BIOS for this Portege model.

  • question from control_file_record_keep_time in the standby database

    Hello

    We used to recreate a database waiting for backup to cold after a PROD failover to STANDBY mode. (on a weekly basis)

    During the synchronization of the day before with a production that we get under WARNING
    -------------------------------------------------------------------------------------------------------
    FAL [client]: you cannot request the gap sequence
    GAP - thread 1 sequence 45217-45225
    FAL [client]: all defined FAL servers have been tried.
    -------------------------------------------------------------
    Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME
    parameter is set to a value large enough
    enough to keep adequate record switch information to solve
    ARCHIVELOG gaps.
    -------------------------------------------------------------
    In my opinion why this happens because
    ----------------------------------------------------------
    During synchronization ARCH process detects that gap archive logs are present in the side watching or we can say that the archive requested connects
    [Customer] [SERVER] FAL FAL are already transferred on transferred before failover.
    So after showning this warning, it replaces the archive logs that are ever-present in the side watching.


    Please me corret I if am wrong...
    CONTROL_FILE_RECORD_KEEP_TIME = 7


    Please help me on this so that I will no more get the warning above...



    Thank you

    user9085814 wrote:
    Hello

    We used to recreate a database waiting for backup to cold after a PROD failover to STANDBY mode. (on a weekly basis)

    During the synchronization of the day before with a production that we get under WARNING
    -------------------------------------------------------------------------------------------------------
    FAL [client]: you cannot request the gap sequence
    GAP - thread 1 sequence 45217-45225
    FAL [client]: all defined FAL servers have been tried.
    -------------------------------------------------------------
    Check that the initialization of CONTROL_FILE_RECORD_KEEP_TIME
    parameter is set to a value large enough
    enough to keep adequate record switch information to solve
    ARCHIVELOG gaps.
    -------------------------------------------------------------
    In my opinion why this happens because
    ----------------------------------------------------------
    During synchronization ARCH process detects that gap archive logs are present in the side watching or we can say that the archive requested connects
    [Customer] [SERVER] FAL FAL are already transferred on transferred before failover.
    So after showning this warning, it replaces the archive logs that are ever-present in the side watching.

    Please me corret I if am wrong...
    CONTROL_FILE_RECORD_KEEP_TIME = 7

    Please help me on this so that I will no more get the warning above...

    Thank you

    If you think that the problem with "CONTROL_FILE_RECORD_KEEP_TIME", it means that wrong you ;)
    Oracle offering to check if the archives are out of detention, his don't say no not any problems with the parameter. If this parameter too low value and the archives are not applied within that time, then you need to adjust the value.

    Now coming to the point, Archives of * 45217-45225 * Miss waiting,.

    (1) check whether exist on primary or not
    (2) if it is deleted, restore these backups sauvegardΘ
    (3) if not accessible to the general public of these backup archives, you must perform the rollforward differential to recover your database pending, using the link below
    http://www.Oracle-CKPT.com/RMAN-incremental-backups-to-roll-forward-a-physical-standby-database-2/

  • GoldenGate to replicate physical of the standby database

    Friends,

    I don't have an answer instead of data guard

    Could we use oracle Portal gold to replicate a physical custody ensures data in a new logical basis?

    Or we need to replicate keeps the primary database data in a new logical basis?

    Thank you

    newdba

    Use the extract parameter TRANLOGOPTIONS with the ARCHIVEDLOGONLY option. This

    force option extracts for ALO mode against a primary or logical standby

    database, as determined by the PRIMARY or STANDBY LOGIC value in the db_role

    column in the view v$ database. The default is to read newspapers online.

    TRANLOGOPTIONS with ARCHIVEDLOGONLY is not necessary if you use the ALO mode against a

    standby database physical, as determined by the PHYSICAL INTELLIGENCE value to the

    db_role column of v database $. Extract works automatically in ALO mode if it

    detects that the database is a physical standby.

  • Destination different archivelog on the physics of the standby database

    Hello

    Can I set different archivelog destination for the physics of dual standby database? (Because of space issues) How can I do?

    For example, on the site main archivelogs reside in/u01/ORCL/archivelog and I want on phy. side Eve archive dest. under/u08/ORCL/archivelog.

    You can also give LOG_ARCHIVE_DEST_1 in file init Eve, so whenever you start sleep/auxiliary instance automatically done dest_1 refers to/u08/orcl (whereever you want).  So you can have destination archive anywhere but must have the appropriate permissions and location should be available.

    If you want to set a destination, then again you can use the "ALTERNATE" sort clause only when the primary location unavailable or unable to archive, and then, of course, he wrote in the other location you have specified a pfile.

    You can check this

    http://docs.Oracle.com/CD/B28359_01/server.111/b28294/log_arch_dest_param.htm#i91817

  • create the standby database using backup to restore

    Hello

    I'm creating a database ensuring 11g using a manual process of restoring a backup, but nothing helped. I can restore same failed backup.

    Here are the steps that I followed (courtesy of ORACLE-BASE) BASE-ORACLE Data Guard physical standby Setup in Oracle Database 11 g Release 2 -

    I'm confused about these steps:

    Copy the files from the primary to the standby server.

    Copy Standby controlfile to all locations.

    $ scp oracle@ol5-112-dga1:/tmp/db11g_stby.ctl /u01/app/oracle/oradata/DB11G/control01.ctl

    $ cp /u01/app/oracle/oradata/DB11G/control01.ctl /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl

    My question is, for the 2nd copy, I have to stop the primary db? given that control01.ctl is updated all the time?

    Then I have not used the previous day ctl (db11g_stbg.ctl) and copy it into /u01/app/oracle/fast_recovery_area/DB11G/control02.ctl instead?

    Your help is very appreciated.

    Check "ORCL" your backup files will be present in this place.

  • Selective Stopage of replication in the standby database.

    Hi all;

    OPERATING SYSTEM: AIX
    DB: 11g

    I was asked this question in an interview:
    If you create a table in your database and you do not want to replicate this table to your database. Eve > how do this?
    I answered saying that we cannot do any logging when creating the table.
    I need to know if this will result in corruption block to my database pending?

    Kind regards
    Sphinx

    Answer to your question is Yes, it could be corruption on the site of the previous day. Check the link with the example below

    http://chenguangblog.WordPress.com/2011/02/08/287/

    This is why it is always preferred to force database by logging in on the primary site to avoid these problems.

Maybe you are looking for

  • Bigger photo folder after iCloud photo library

    Hello I have just transferred all photos and albums to the library to iCloud and that you have selected the option optimize storage Mac (I did the same thing on the iPhone). It took a few days to transfer all the photos and they are now synchronized

  • Snapchat destroys my microphone of iPhone background, several times.

    OK, I have this very frustrating problem. I use a lot snapchat. also with music in the background (via spotify and/or music Apple). When I snapchat, I'm in places very different noise. I'm going to the festival with artists a lot, so there is a lot o

  • Display of the smooth curves in SIGHT

    It it is possible to display smooth curves in SIGHT using the line rather than stepped curved staircase function? I'm looking and looking model Excel, but the data I pass by makes much less desirable Excel. I am looking to have a good connection of t

  • HP envy x 2 wifi after sleep

    Hello I have a HP Envy X 2 g001-el Atom convertible netbook with detachable keyboard. upgrade to win8.1 Home wifi network, it must 'autoconnect' to this network. The fact is that when I turn the laptop, plug in and working properly. Whenever I take t

  • W500 - Bluetooth is missing / was not more. Help, please.

    Hello. I have a cto of 4058 w500 Windows 7 Professional. With windows update running automatically and I run the system update often. My bluetooth stopped appearing in Device Manager, networked, in the start bar, and when I try it in the start menu,