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

Tags: Database

Similar Questions

  • How to change the character of database defined on the physical standby database?

    Hello

    We hear a database to WE8ISO8859P1 character and migrated the character set using csscan/csalter scripts to WE8MSWIN1252. This database has a configuration also physical standby database, and after the migration, the database physical standby shows always defined as WE8ISO8859P1 character. How can I change the characters on the physics of the day before? I asked a Service request with Oracle, and they said that you re-create the database pending is the only way to support the development of the tank set to the standby database. Is this true?


    Thank you
    Anthony

    You have received good advice from the Support of Oracle, so I recommend doing a complete refresh of Eve, but if you want to play with fire...

    On the elementary level, you can: -.

    target connection.
    RUN {}
    ALLOCATE CHANNEL disk1 DEVICE TYPE DISK FORMAT ' / home/oracle/rman_%d_%T_%s_%p';
    BACKUP CURRENT CONTROLFILE TO SLEEP;
    }

    or

    ALTER DATABASE CREATE STANDBY CONTROLFILE AS ' / home/oracle/standby.ctl';

    Then you stop the watch, replace the with the new primary backup controlfile and make sure that file names are correct (select name from v$ datafile). If the file names are correct, start the recovery. Otherwise, rename files, or difficulty with the rman command 'catalogue start with '.

  • How Auto start the Physical Standby Database (when restarting the server)

    Dear All (s)

    I configure oracle (10.2.0) dataguard on the production database, a time server restart because of disconnectivity to power, I want restard dataguard when rebooting the server. I'm using Server 2003 32-bit. Guide me how I can run after orders when the server restarts.

    SQL > connect/as sysdba
    SQL > bootable media.
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;


    Thanks in advance

    I want to run these command each time when the server is restarted.

    Yes, I did not understand that... but what's the problem? You can't schedule a task when the server starts?

  • How to open a physical standby database "Manual" in read/write mode

    Hello

    I am running Oracle Database 10g Release 10.2.0.3.0 - 64 bit Standard Edition Production on Linux version 2.6.9 - 42.0.8.ELsmp ([email protected]) (version gcc 3.4.6 20060404 (Red Hat 3.4.6 - 3))

    I created a physical standby database, but since I am running Standard Edition, I don't use the features in DataGuard. I use the utility rsync to copy on the data pending archivelogs, and I periodically applied to the standby database.

    The standby database is started in this way:

    startup nomount pfile='/u01/oradata/orcl/initorcl.stdby';
    ALTER database base_de_donnees eve of Mount;

    Everything works perfectly, I can "open database in read-only alter" and then I can make selects in the tables to confirm that everything is up-to-date.

    The thing is, if I stop the database and then perform the boot simply:

    stop immediately;
    start-up;

    The database opens with an error message, but it is always in read-only mode...

    I read that the default behavior for a database ensure must open read-only, as I am experiencing, but I would like to know what is the right way to open it in read-write mode correctly (I understand that after this, my watch will not standby more and I need to recreate my database pending).

    Thank you

    Carpet

    Try: -.

    ALTER database activate standby database;

    This should open read-write (you will not be able to recover thereafter)

  • Problem with data hold creating a Physical Standby Database turorial

    There is a tutorial for creating a Data Guard Physical Standby Database:
    http://www.Oracle.com/technology/OBE/11gr1_db/HA/DataGuard/physstby/physstdby.htm

    I tried to install it on two servers. One for a primary database (deuxieme for the physical standby.
    I have the error on creating C. the database of watch on the #6 action network:

    «On the rescue system, set the ORACLE_SID to your < SID physical standby > environment variable (i.e. orclsby1) and start the instance in NOMOUNT mode with the text initialization parameter file.»

    When I try to connect to the instance that is idle, there is an error pops up:

    C:\ > sqlplus / as sysdba

    SQL * more: version 11.1.0.7.0 - Production Thursday, May 21, 16:28:10 2009

    Copyright (c) 1982, 2008, Oracle. All rights reserved.

    ERROR:
    ORA-12560: TNS:protocol adapter error

    I ' v checked listener, and it is managed. There is no database service because there is still no database.

    The question is did some data installed a guard configuration using this tutorial? Are there errors in there? What should I do to complete the installation?

    On Windhose for any service must have been created using the oradim command.
    Oracle tutorials are usually centered on Unix, because Windhose is an odd man out, so they do not discuss.
    "Please do the needful" and create the service before the beginning of the instance in nomount mode

    Tip: oradim is documented and has a help = clause of y.

    IIRC there is an option in control database (in the part of the interview) that automates everything.

    ----------------
    Sybrand Bakker
    Senior Oracle DBA

    Experts: those who read documentation

  • 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

  • Clearing Online redo logs on the physical standby of the target

    Hello

    Version 11202.

    Primer on computer a.
    Watch on computer b.

    Later note: 11.2 Data Guard physical standby failover best practices using SQL * Plus [1304939.1 ID].
     
    Online redo logs on the target physical standby need to be cleared before that standby database can become a primary database. 
    And later:
     
    On the target physical standby run the following query to determine if the online redo logs have not been cleared... 
    (1) I did not understand where I have to run the query. On computer A, computer B or?
    2)
     
             Online redo logs on the target physical standby need to be CLEARED 
            
    Which means that it must be DELETED? Does transaction could be lost by running the command of compensation?

    Thank you

    Hello again;

    I would NOT use a script. The reason is that you are not sure what "switchover_status" will be returned by the database of v$.

    Oracle a broker data available for a quick pass, but I'm from the old school and I want to see how thing works in SQL for awhile first.

    Best regards

    mseberg

  • 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

  • Flashback database and physical Standby databases

    Hello

    We consider the following scenario in our databases of Production on hold. We do this to avoid the database number cloning of situations.

    When we need live data to test data sets: -.

    1. switchover to the standby database.
    2. open the database read/write.
    3. apply the fix and test.
    4. rear turn signal the database before the RCS, who made the switchover.
    5. operate the day before using a new standby controlfile.

    Could you experts please comment on this idea?
    Is it possible? If so, please you would guide the steps / documents.

    Thanks in advance

    This should be possible if you create a region of Flashback of sufficient size on the site of the previous day.

    http://download-UK.Oracle.com/docs/CD/B19306_01/server.102/b14239/scenarios.htm#CIHIABDH

    I have not yet tried myself. The old and tried and true method is to create a backup of the day before its opening.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Physical Standby Database

    Hello
    Need good documentation, pdf or links to understand the concept of database paused and its application in Oracle 11.2.0.0.0

    Check out this Oracle for Concepts documentation

    http://docs.Oracle.com/CD/E14072_01/server.112/e10700/TOC.htm

    http://andrewfraserdba.com/2011/08/09/Oracle-Data-Guard-overview/

    For the implementation

    https://blogs.Oracle.com/AlejandroVargas/resource/DataGuard/how%20To%20create%20A%20physical%20standby%20database%20using%20Rman%20Duplicate%20command.PDF

  • The upgrade of physical standby database

    Hi guru,.

    We have Oracle 11 GR 2 (11.2.0.1) in a production of single instance database. This prod db has a physical database Eve sitting on another server. We would like to improve our prod & Eve at 11.2.0.3

    I remember reading a document of MOS on the upgrade of the previous day, but unfortunately not able to find.

    Grateful if you could guide me.

    Thank you

    Prem

    PL see this Doc MOS and the Docs of MOS, he made reference to

    How to level one database and secondary physical to Oracle10gR2 (10.2) [ID 407040.1]

    HTH
    Srini

  • 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.

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

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

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

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

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

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

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • How to get down the database since the failure of the upgrade in case of physical standby

    Hi people,

    Can you please tell me how to get down the has no upgrade in case of physical standby database?

    Kind regards

    Taoqir

    The generic steps to upgrade db at the dg environment

    1. stop the database pending the application of recovery logs

    2. stop the recovery of his expedition logs

    3. upgrade the primary database server executable files

    4 level database server executable files shall ensure that

    5. switch to the main database using DBUA or upgrade scripts

    6 mount the backup database

    7 reactivate shipping again Eve elementary school

    8 restart the recovery process run on the standby database again progress apply

  • Upgrade to 11.2.0.4 with the physics of the standby database

    Dear gurus,


    We have the obligation to upgrade databases 11.2.0.1 existing 11.2.0.4 and 11.2.0.2 to 11.2.0.4 running on AIX boxes. We have physical databases of Eve configured for these databases of different version.

    During the preparation of the documentation for upgrade, we observed that FORCE_LOGGING is disabled for the production databases and observed, there are objects along 350 + with journaling = No. and logging = NULL and patterns are SYS, SYSMAN, APEX_030200, OLAPSYS, XDB, SYSTEM, OIMDBUSER, MDSYS, EXFSYS, WMSYS, ORDDATA, PERFSTAT.

    My query:

    I can still proceed with the upgrade still under the document indicated for "upgrading a database with a physical Standby database in place" without you connect the data dictionary objects will be not be updated pending database.

    Can you please let me know your suggestions on this please?

    Kind regards

    Kumar

    Hello;

    Quote:

    "Keep the database in LOGGING mode FORCE as long as the backup database is necessary."

    Of

    Oracle® DataGuard of Concepts and Administration 11 g Release 2 (11.2) E10700-02

    I think I FORCE turn on CONNECTING to the primary database and rebuild the eve before doing the upgrade.

    Best regards

    mseberg

Maybe you are looking for