Logical standby database

Hello

How to check what mode I m in the logic of the standby database? that is to say waiting or none

Concerning

Dear user13364785,

What is the result of the following query?

SQL> select guard_status from v$database;

Kind regards.

Ogan

Tags: Database

Similar Questions

  • Enterprise Manager on the logical standby database

    Hello

    I just put in place a system of logical standby database.

    Is it possible to install the Manager of the business on the logical database?
    Since it works in "read only mode", I'm not sure about this

    Concerning

    Christian

    Enterprise Manager can be used to monitor and manage backup of database, logical and physical targets.

    See you soon,.
    Brian

  • How to remove the configuration of logical standby database cleanly

    Hello

    We are on the BSG with 11.2.0.3 version of DB. For unknown reasons, we would like to recreate the logic of the standby database and for this I want to cleanly remove/uninstall/remove LOGIC of DATABASE of the EVE of the DATA GUARD configuration that we have.

    Setup of the DG has already 1 PHYSICAL STANDBY DATABASE that works very well. PRIM, PHYSICAL and LOGIC are all on different HOSTS. Could you please guide or we suggest exact MOS Doc id in this regard? I found an MOS Doc id which is close enough, but its steps include dg configuration completely deleting what I don't want. Only the logical Standby database must be delete itself so that it can be installed again properly.

    We use the CONTROL GRID and DATA GUARD BROKER.

    Bundle of thanks in advance.

    Best regards

    Hello

    Thank you very much.

    What I have is:

    -DROP DATABASE (from logical database in standby)

    -asmcmd > and removed the rest of the orphaned files related to the logical database.

    -DGMGRL > remove the database logicladb; one

    -Grid control > removed from here

    -deleted the database logical PRIMARY related to logic, for example, log_archive_config.

    Other steps > ID note (Doc ID 733794.1) about the LOGIC of STANDBY DATABASE (I think that MINING regarding)

    She's.

    Best regards

  • Sdo_georaster support logical Standby database type of dose?

    Hi all
    Sdo_georaster support logical Standby database type of dose?

    Ylin wrote:
    Hi all
    Sdo_georaster support logical Standby database type of dose?

    in 10g no - http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/data_support.htm#CHDDCCIG

  • ORA-01403: no data found on the LOGICAL standby database

    Hello

    Logical question of Eve:
    Enterprise Edition Oracle 10.2.0.2.

    M work waiting LOGIC for 1 year but still i have not had this...
    I m not be countinuously no data foud errror on the logic of the standby database.

    I found the table causing the problem (db_logstdby_events) and jumped this table and table instantiated using the package bwlow:

    exec dbms_logstdby.instantiate_table (...)

    but when I start to apply the logical waiting process it gives again some were found for the new data table:

    I even tried to instantiate the table to EXPORT/IMPORT assistance over time, but the same problem same deal with.

    As much as I knew abt the error that is:
    Table1:
    ID
    10
    20
    30


    Now if sql apply processes on standby logic tent performs the operation of (for example) updated as below

    Update table1 set id = 100 where id = 50;

    above request will not be completed cos he'll never find 50 values which is not in the table. That is why this error coming...


    Now my concern is... no user didn't dare change/make of such changes on the logic ensures. So if there is no change in the tables, then apply it sqll should get all the values to be needded for an update...

    watingggg guyssss...

    Hello;

    How do you know that the database pending is compatible with the primary?

    Are there opportunities has one or several tables have been created on the eve before they were created on the primary? (If Yes check in DBMS_LOGSTDBY. INSTANTIATE_TABLE)

    Or jump and re-instantiate the table.

    Example of

    EXEC DBMS_LOGSTDBY.SKIP('DML','EMPLOYEES','%');
    
    EXECUTE DBMS_LOGSTDBY.INSTANTIATE_TABLE  ('YOUR_USER', 'EMPLOYEES', 'YOUR_DBLINK');
    

    Best regards

    mseberg

  • create the table on the logical standby database

    Dear administrators,

    Here is my situation;
    1. my primary database (where the owner of the table is "ICC" having a DBA) is used for insert/update operations.
    2. the logic stdby DB (dataguard structure with MAX availability) is used to generate reports, after update tables belonged to the same "BCC" user Note that these tables is excluded from replication.
    3. developers may need to create this kind of tables to generate a different kind of reports.

    The problem is that when the application of standby is enabled or disabled, the ICC user is not able to create a new table, it gives ORA-01031: insufficient privileges. Note that it is not practical to ask the ADMINISTRATOR to disable "APPLY" to any table creation.

    You have an idea on how to solve.

    My database is path.10.2.0.4.0 10 gr 2 on Windows 2003

    Thanks in advance

    Here's your solution provided.

    Kind regards.

  • Logical standby error

    Dear all,

    I have configured the logical standby database 10 g 2, on Windows Server 2003.

    Newspapers are shipped and applied on standby, with no problems.

    I can connect on the logic of database using the sys account, but if I use a different user account I get this error message:

    SQL > connect user/pass
    ERROR:
    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-06550: line 11, column 52:
    PL/SQL: ORA-16224: custody of the database is enabled
    ORA-01017: name of user and password invalid. connection refused
    ORA-06550: line 11, column 4:
    PL/SQL: SQL statement ignored
    ORA-06550: line 17 column 28:
    PL/SQL: ORA-16224: custody of the database is enabled
    ORA-01017: name of user and password invalid. connection refused
    ORA-06550: line 14, column 8:
    PL/SQL: SQL statement ignored
    ORA-06550: line 20, column 12:
    PLS-00513: called from SQL PL/SQL function should return legal value type SQL
    ORA-06550: line 12, column 4:
    PL/SQL: Statement ignored
    ORA-01017: name of user and password invalid. connection refused

    I copied the file password live in standby mode.

    Kindly help

    Hello

    Did you know that connects to the password and user database pending?

    Do you get error at the following link?

    ERROR:

    ORA-00604: an error has occurred at the SQL level 1 recursive

    ORA-06550: line 11, column 52:

    PL/SQL: ORA-16224: custody of the database is enabled

    ORA-01017: name of user and password invalid. connection refused

    ORA-06550: line 11, column 4:

    PL/SQL: SQL statement ignored

    ORA-06550: line 17 column 28:

    PL/SQL: ORA-16224: custody of the database is enabled

    ORA-01017: name of user and password invalid. connection refused

    ORA-06550: line 14, column 8:

    PL/SQL: SQL statement ignored

    ORA-06550: line 20, column 12:

    PLS-00513: called from SQL PL/SQL function should return legal value type SQL

    ORA-06550: line 12, column 4:

    PL/SQL: Statement ignored

    ORA-01017: name of user and password invalid. connection refused

    Paste here your entire script.

    In addition, please check: http://docs.oracle.com/cd/E11882_01/server.112/e25608/manage_ls.htm#SBYDB4811

    10.2 control user access to Tables in a logical database ensures

    Concerning

    Mr. Mahir Quluzade

  • STANDBY database 11g

    Oracle 11.2. I'm building waiting for database as a database.

    Physical standby database cannot open read-only State? My understanding is Yes, but I like to confirm.

    If I want my standby database to be read/write, only the logical standby database can it do?

    Thanks for the help

    S.

    Hello again;

    Do you think logical standby read-write feature can create a temp table on the fly?
    

    Yes. It should work.

    Another option (can depend on the size of your database) is materialized views.

    On some of the smaller databases, it works well, and all options are available for writing. A logical Standby should work, but you might think about maintenance, it takes before decide you on a solution.

    Research on the Data Guard forum for questions of logic can help you decide too.

    Kind of old, but

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:898037600346141261

    Worth the trip

    http://uhesse.com/2009/06/12/logical-standby-in-NOARCHIVELOG-mode/

    http://aprilcsims.WordPress.com/logical-standby-10gR2-open-issues/

    Thank you!

    Best regards

    mseberg

    Published by: mseberg on July 24, 2012 15:29

  • Single-instance RAC logical standby creation

    Hello

    It seems silly, but I am not able to find any document that shows the steps to create a UNIQUE INSTANCE LOGICAL STANDBY database for a database of ORACLE RAC of NŒUD 2. I found documents for physical single-instance RAC database from the previous day. But not for the logic of sleep.

    Details:
    OS: Redhat 5
    DB: a 10.2.0.4(shared, n'utilisez ne pas ASM/veille également système de fichier) file system
    Status: Database physical standby single instance is created, it must convert logical pending.

    Can anyone help?

    Hello again;

    Rename the password should work (required in Oracle 11).

    Main password is:

    /U01/app/Oracle/product/11.2.0.2/orapwORCL

    SCP to the remote host
    SCP /u01/app/oracle/product/11.2.0.2/dbs/orapwORCL [email protected]:/u01/app/oracle/product/11.2.0.2/dbs/

    Then rename the file to:
    /U01/app/Oracle/product/11.2.0.2/DBS/orapwSORCL

    Best regards

    mseberg

  • Identify gaps in logical Standby

    DB version: 11.2

    To identify gaps for physical standby DB, I use the requests mentioned in the post below
    StandbyDB is not synchronized with the primary

    To check if a logic on standby and primary is in sync, can I use the same query? Do I have to consider other factors for logical standby when checking for gaps?

    Hello;

    What part of this huge post! I think not, because this is not a logic of Eve.

    On a logical standby database, ask DBA_LOGSTDBY_LOG view on the logical standby database:

    COLUMN FILE_NAME FORMAT a55
    
    SELECT
      THREAD#, SEQUENCE#, FILE_NAME
    FROM
      DBA_LOGSTDBY_LOG L
    WHERE
      NEXT_CHANGE# NOT IN
        (SELECT FIRST_CHANGE# FROM DBA_LOGSTDBY_LOG WHERE L.THREAD# = THREAD#)  ORDER BY THREAD#, SEQUENCE#;
    

    The document data protection Concepts and Administration Oracle should have a 'Restore the Services of Transport' section on that.

    Another, also run on the logic of the previous day:

    SELECT
      SUBSTR(FILE_NAME,1,100) FILE_NAME, SUBSTR(SEQUENCE#,1,10) "SEQ#",
      FIRST_CHANGE#, NEXT_CHANGE#, TO_CHAR(TIMESTAMP, 'HH:MI:SS') TIMESTAMP,
      DICT_BEGIN BEG, DICT_END END, SUBSTR(THREAD#,1,4) "THR#"
    FROM
      DBA_LOGSTDBY_LOG
    ORDER BY
      SEQUENCE#;
    
      
    

    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

  • rat logical standby

    can we run RAT to capture DB on a logical standby database, it will also capture the workload due to the change applier processes?

    Yes, you can capture the SQL in an STS. With the help of a separate system of SPA you can connect remotely to the waiting

  • Keep physical & logical Standby of same primary?

    Hi, I would like to know if it is possible to create physical and logical standby db db watch from a same primary database?

    Scenario:

    Primary A-> DB physical standby

    A-> DB primary logical standby

    Note: same source of Primary A, physical and logical to the different host.

    Yes, you create two physical standby and then convert the second physical standby of a logical standby.

    Hemant K Collette

  • Block corruption on the physical Standby database

    Hi all

    Operating system: HP Unix

    DB: 10.2.0.4

    We are facing corruption block on our database of physical intelligence. The same has been detected using commands below and several blocks were found to be corrupt.

    RMAN > backup validate check the logic of database;

    SQL > select * from v$ database_block_corruption

    As it is a basic data watch no backup is present, pulling the command below did not help

    RMAN > list of corruption block restoration;

    I think taking the incremental backup of the PR and the same application on DR, y at - it another way to eliminate corruption said?

    Kind regards

    Sphinx

    You can check below link if corruption block results nologging, there is a thread already with the question.

    Block corruption on the standby database

    10.5.2 steps of recovery for databases physical standby

    Data protection scenarios

  • Detect gaps in log logical standby

    Hi all

    I'm sitting on 11 GR 2 and work on future possibilities with the script, that helps me identify gaps of newspaper on the stand of the database logic. I'm new to this standby database and would seek to your expert advice, like how to on this subject.

    Concerning

    > Basically I'm looking something, can be launched at regular intervals and able to shoot emails

    Here is the script I use:

    report_apply_lag.sh

    #! / bin/bash

    #

    # report_apply_lag.sh

    # by Brian Peasland

    October 17, 2012

    #

    export ORACLE_HOME=/u01/app/oracle/product/11.2.0.3

    export PATH = $ORACLE_HOME/bin: / usr/kerberos/bin: / usr/local/bin: / bin: / usr/bin

    Export SCRIPT_HOME = / home/oracle/scripts

    export [email protected]

    RM $SCRIPT_HOME/report_lag.out

    SID in standby1

    do

    export ORACLE_SID = $SID

    $ORACLE_HOME/bin/sqlplus "/ as sysdba" @$ SCRIPT_HOME/report_apply_lag.sql

    Cat $SCRIPT_HOME/lag.out > $SCRIPT_HOME/report_lag.out

    fact

    Cat $SCRIPT_HOME/report_lag.out | / bin/mailx-s "late report apply" $DBA_EMAIL

    RM $SCRIPT_HOME/lag.out

    To do this, the following SQL script:

    report_apply_lag. SQL

    column apply_lag format a20

    coil /home/oracle/scripts/lag.out

    Select i.instance_name, d.value as apply_lag,

    TO_CHAR (sysdate, "YYYY-MM-DD HH24:MI:SS) as curr_time

    v $ instance i, v$ dataguard_stats d

    where d.name = 'apply lag';

    spool off

    output

    I have a multi-instance RAC running on the node so the scripts to deal with each of them. If your wait is single-instance and there is that one on the server, scripts can be cleaned. But they should work as-is.

    I plan appears in my inbox at the moment I enter the work and the right before I left for the day.

    HTH,

    Brian

Maybe you are looking for

  • Cast spontaneously iPhone 6 Plus

    my iPhone only more 6 purchased October 2014, preserved at all times in a case of bag padded and never deleted, spontaneously started to melt yesterday. I called AppleCare, but they are not able to receive pictures that describe clearly what the prob

  • How can I change the location of the bookmarks toolbar?

    In the new version of Firefox, the bookmarks bar is located in the upper part of the Web pages and covers buttons and links on the pages. It always gets in the way and I have to hide it for log in or out of the sites. It's annoying because I constant

  • Application remote control Apple and Apple TV 4

    I can't get the apple remote app to connect to my apple tv. They are both connected in the House sharing on the same network with no wall of fire. The app will recognize my mac, but never "see" my apple tv?

  • How to fix error:-1967362038, IAK_SHARED: (Hex 0x8ABC700A) could not be found.

    Hello I have Labview 8.5 with DSC 8.5 installed on my computer. When I deploy the library that contains the shared variables of the project or by using "Déployer Library.vi" Explorer window, I get the deployment failed error including snapshot is att

  • Windows Updat 646 error code

    Two updates retiurn with error code 646 for KB9762321 security for Microsoft Office System 2007 update; and KB981726 update for MIcrosoft Office Outlook 2007 Junk Email Filter. Is there a way to manually download those two? and what are the links?  T