Open physical standby mode read/write to test without return of flame

I have successfully installed a physical database standby 10 gr 2 (10.2.0.3 EA). Now I have to test my application with the database pending, so I have to
Open (enable) in read/write mode (don't want to use FLASHBACK DATABASE), I know that I have to recreate the database pending scracth after completing the test.

So far, I did these steps:

1. on the PRIMARY database, I disabled the log destination archive:
ALTER system set log_archive_dest_state_2 = 'reporter ';
2. on the day before, I cancel managed recovery
ALTER database recover managed standby database cancel;


Can anyone provide the remaining steps to open the write standby database? I searched the oracle documentation and all the steps require the flashbak database.

Thanks in advance.

S.H.

Ok

You could do a failover on the eve (without doing anything at the elementary level)

So to run these on your watch.

SQL > alter database recover managed standby database cancel;
Database altered.
SQL > alter database recover managed standby database finish;
Database altered.
SQL > alter database validation at the transition to the primary with the stop of the session;
Database altered.
SQL > alter database open;
Database altered.

Then simply stop the day before (not primary) and rebuild as the standby again. Delete and re-create.

Make sure that your Data Guard alter system set log_archive_dest_state_2 = delay; Are fixed on both sides.

This can help:

http://www.Oracle.com/technetwork/database/features/availability/MAA-WP-10gR2-faststartfailoverbestp-131997.PDF

You want to split the day before with really nothing do in elementary school except reporter.

Best regards

mseberg

Edited by: mseberg May 14, 2012 14:39

Tags: Database

Similar Questions

  • Can not open Illustrator CC 2015, read/write permissions error, but the permissions are set correctly.

    I can not open Illustrator because of this error.

    "To work properly, Adobe Illustrator requires permissions of folder preferences be"read-write..." »

    Link support on the error message suggests to change permissions to a file location that does not exist. All permissions are set to read-write, and no changes have been made since the upgrade to 2015.  Uninstalling and reinstalling did not work.  Very frustrating to pay for a product that I can't use.

    I solved the problem by resetting the permissions of my entire disk (apply to items included...). I still can't explain why it was necessary after the upgrade to 2015 from 2014 CC CC.

  • 15 - af103ax: OPTICAL DRIVE READ WRITE COMPARE TEST: FAILED

    ODD my laptop HP is not able to write disks, the performance of Optical Drive Read compare Test he gave me a "failed" message with ID QBRXWM-7RV87M-XD7WMF-6HLB03 failure.

    Hello!

    Thank you for your message. I see optical drive diagnostics failed and he gave you a failure code.

    Outstanding work on these diagnostics running and properly determine the question. It is a hardware failure of the optic disc and needs to be replaced.

    If the unit is under warranty, contact HP telephone support using this link:

    http://HP.care/2bjG4nE

    If the unit is out of warranty, contact the HP part store to order the part.

    Link for HP part store:

    http://HP.care/2bAvpq6

    You can also check the status of the security of your computer by visiting this link:

    http://HP.care/2bGzo6g

    I hope this helps! Please keep me in the loop.

    Take care and have a wonderful day ahead.

  • Allow read, write, rename but WITHOUT permissions to remove on Server 2003 R2

    I need a fix for the above, what really works. I tried all the others and they do not work.

    Hello, thank you for visiting the Microsoft answers community.

    As Richard says, the question you have posted is related to Windows Server and would be better suited in the MS TechNet Windows Server Forum. Please visit this link to find a community that will provide the support you want.

    Lisa
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

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

  • Test failover with physical standby

    Hello

    I have a primary at base of 11.2.0.4 (cars) and an instance of unique physical standby (on a virtual machine).

    I need to test failover.

    I'm looking some procedure or steps.

    Can they be valid?

    On primary

    • change the built-in system again to standby_db_name;
    • alter system archive log current;
    • Stop the shipment of archive: alter system set log_archive_dest_state_2 = "DAVID";

    Standby:

    • ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
    • ALTER DATABASE RECOVER MANAGED STANDBY DATABASE FINISH;
    • stop immediately; --> the snapshot can be done at this stage or need to get after 'RECOVER MANAGED STANDBY DATABASE CANCEL'
    • Make a snapshot of the virtual machine
    • startup nomount
    • ALTER database base_de_donnees eve of Mount;
    • ALTER DATABASE ACTIVATE PHYSICAL STANDBY DATABASE.
    • ALTER DATABASE OPEN;

    Test what finish

    Standby:

    • stop the database
    • restore from snapshot
    • Put the database in recovery mode

    Elementary school:

    • Allow destination of the Journal 2

    What do you think?

    Use the snapshot before...

    https://docs.Oracle.com/CD/B28359_01/server.111/b28294/manage_ps.htm#BACIEJJI

  • Test of physical Standby DB 11 g

    Hi all

    My company is considering a DR test in a few months, and since I never did this until I was wondering what would be the best way to go on the DB pending tests. This is a database of 11G (11.2.0.3). I read the following articles:

    http://gavinsoorma.com/2009/09/11g-snapshot-standby-for-real-time-testing/

    http://www.Pythian.com/blog/testing-a-physical-standby-database-in-Oracle-10G/

    http://www.Oracle.com/technetwork/articles/SQL/11g-DataGuard-083323.html

    From what I can tell the snapshot method is the easiest. My main question is when the primary method still must send the archive logs to the waiting or can I defer only to archive log shipping? How we test normally the site of DR is completely disconnect the network connections and put everything in place for the primary will not be able to speak to the waiting and vice versa. Or is the best method to follow the other article that speaks using the flashback database?

    Thanks in advance for your help.

    From what I can tell the snapshot method is the easiest. My main question is when the primary method still must send the archive logs to the waiting or can I defer only to archive log shipping?

    Are you in 11g, yes instant is a nice feature to test your intelligence. If you enable the destination, there is no problem. Meanwhile if too many records are generated and then it takes a long time to get a site to DR.

    How we test normally the site of DR is completely disconnect the network connections and put everything in place for the primary will not be able to speak to the waiting and vice versa

    You can also completely disconnect the primary DR and tests after the conversion of the physics on the eve of the snapshot if it is your condition to do so.

    Or is the best method to follow the other article that speaks using the flashback database?

    In traditional flashback, you will need to take care just like the creation of restore point with guarantee, mode standby manually and run again then flashback to the restore point. Snapshot is really simple and easy to use. If am in your position of course I use the standby database snapshot.

  • Accidentally open a standby database: can I return to standby mode?

    Hello world

    I accidentally opened a physical database Eve (I shot to the top of the body of Eve with "START" instead of the usual "STARTUP MOUNT" command)

    Do I have a chance to return to mode standby without duplicating fully all the data files in a full reconstruction of Eve? (Bandwidth network between the main site and will mean hours of copying files between sites).


    something like:

    1 / stop immediately the mistakenally open mode standby; in fact already done ;-)

    2 / create new control on primary eve files and copy them on standby

    3 / copy the logs to check-in to the main site in standby mode

    4 / re open an instance sleep and hopefully recover the gap between the standby and primary

    We are running Oracle 10 g 2 with dataguard.

    Thanks in advance!

    Jose

    JO * 356268 * os wrote:

    Hello world

    I accidentally opened a physical database Eve (I shot to the top of the body of Eve with "START" instead of the usual "STARTUP MOUNT" command)

    Do I have a chance to return to mode standby without duplicating fully all the data files in a full reconstruction of Eve? (Bandwidth network between the main site and will mean hours of copying files between sites).

    something like:

    1 / stop immediately the mistakenally open mode standby; in fact already done ;-)

    2 / create new control on primary eve files and copy them on standby

    3 / copy the logs to check-in to the main site in standby mode

    4 / re open an instance sleep and hopefully recover the gap between the standby and primary

    We are running Oracle 10 g 2 with dataguard.

    Thanks in advance!

    Jose

    Looks like you think more complex

    If you accidentally open eve of Galzain READ ONLY instead of mount status, then you can safely stop and then again start in State.

    But the following description that you mentioned, I did not understand. Your watch was already split and it works well and that you opened before in OPEN mode? Is that your question? If yes no need to worry about follow below steps and nothing to restore controlfile or something Eve elementary school.

    (1) immediate closure

    (2) startup mount

    (3) start MRP

  • a speed of read/write DAQ card mode change will reach 200K

    HEY, man,

    I have a project needs to test two points I name them point A and point B, the first time, I should point A 5V DC input, voltage inductive test point B, sencodly, give point B 5V DC input and inductive point test output voltage, this means and two analog ports must read and write sharing mode , and the test speed must be 100 KB, if I have a 200 KB data acquisition card, can the speed of read/write mode change reach 100 KB for an analog port? or, please give your suggest for my this kind of situation, thank you.

    Hi API,.

    I see that you are trying to measure voltages using a single channel at a time on a data acquisition card.

    Unfortunately, you cannot change the inputs to the outputs or vice versa on a map of data acquisition, they are static.

    What I recommend is either using a switch like this: http://sine.ni.com/nips/cds/view/p/lang/en/nid/207130 where you will need a high chassis.

    Or, having four channels, 2 inputs and 2 outputs and try to measure it. You should have the necessary speed as well.

    If you have any other questions, I'd be happy to answer.

    Thank you very much

  • Opening for logical standby mode


    Hello

    I have a logical standby. V $database.open_mode watch READ WRITE

    Q1. I'm wrong assuming the database is writable only for tables that are not the primary level?

    Q2. The tables that are also in the primary, in effect in read-only mode on the logic of the day before? I am able to see the fashion of these tables to prove that they are read-only?

    Thank you

    Jim

    Hello;

    Change of the user at the tables on the logic of the eve has three possible settings:

    ALL THE

    STANDBY

    NONE

    You can check the mode using this query:

    SELECT GUARD_STATUS FROM V$ DATABASE;

    If you try to insert data into a table and the mode is "ALL" and you're not the SYS user, you should get an error

    ORA-16224

    If you want users to change standby not replicated tables, then you must change the default of "ALL".

    You can use DBA_LOGSTDBY_SKIP to find the tables not replicated (those with ignore rules).

    If you create new objects, consider a naming convention that allows you to easily see the status of Scripture.

    Best regards

    mseberg

  • Reader only a physical standby Clock Data Guard?

    Hi all

    We try to use TimesTen 11.2.2.4.1 as a memory cache read-only for a 11.2.3.0.7 on Linus RedHat 6.3 Oracle schema, all using Oracle Data Guard to replicate the Oracle instance through geographically remote sites. At each site, we would like to have two instances of TT, synchronization with the local instance of Oracle 11 g. It works very well against the master DB, but TT agents will be able to synchronize against physical standby instances?

    The problem, seems, is that the agent of TT uses structures dedicated in the master Oracle (related to the grid of cache), instance that will be replicated to instances of Eve. Is TT agent able to use the read-only, structures to complete replication synchronization, or is this unworkable approach? What would be your advisor as a way to do this?

    Thanks for your help,

    Chris

    No, I'm afraid that will not work and is not supported. We support the use of groups of READONLY and AWT cache in collaboration with Data Guard in the following configuration (documented in the Guide of Cache TimesTen IMDB):

    1 data Guard is configured as synchronous physical standby

    2. all the caches of TT run against Oracle DB

    3. in the event of a failover of Data Guard, TT hiding can be migrated to run against the DB who now has beed promoted active to standby

    It is the only supported configuration.

    Kind regards

    Chris

  • Open the PDF in read mode

    as always open documents pdc in read-only mode, you see is not the right pane?

    Hi Jorge,.

    Please see this doc to set the display of pdf according to your preferences: using Acrobat | Display of PDF files and preferences

    Kind regards

    Rave

  • How to check the instance datafile I/O? solve the high physical reads/writes?

    Method-1
    identify 'hot spots' or I/O contention
    Select NAME,
    "Physical reads," PHYRDS
    round ((PHYRDS/PD.)) (PHYS_READS) * 100, 2) «Read %»,
    PHYWRTS "physical Scriptures."
    Round (PHYWRTS * 100/PD.) PHYS_WRTS, 2) "% of writing."
    FS. PHYBLKRD + FS. PHYBLKWRT "Total block I / O of.
    de)
    Select sum (PHYRDS) PHYS_READS,
    Sum (PHYWRTS) PHYS_WRTS
    v $ filestat
    ) pd,.
    v$ datafile df,.
    v$ filestat fs
    where df. FILE # = fs. FILE NO.
    ranking by fs. PHYBLKRD + fs. PHYBLKWRT / / desc


    Another method-
    On Oracle10g, CWA also provides the dba_hist_filestatxs table to track the disk i/o:

    break on begin_interval_time jump 2

    column phyrds 999 999 999 format
    column begin_interval_time format a25

    Select
    begin_interval_time,
    file name,
    phyrds
    Of
    dba_hist_filestatxs
    natural join
    dba_hist_snapshot;

    It is - method that you use to check for errors in data I/O file? AND how to solve high physical reads and writes?

    Ankit Ashok Aggarwal wrote:
    AWR project stat e/s in terms of segments, query and etc.
    Here, my concern is what should be the value of ideal threashold for a DBA to act on the high physical reads/writes?
    and how he can fix this problem if it affects database performance?

    I don't think that there is any possibility to mention that the amount of an e/s is going to be good or bad for a database in general. The reason is that it is not quantifiable. For example, in a store, maybe one day that no one gets and another day, there is no place to stand (because there was a sale announced by the store). So now, how do you say that it was not necessary? Rather than search for best practice values, it is best that you keep track of the normal functioning of your db and when you see a special summit in the values of events scattered user IO as DB file read, DB file parallel read etc and when this happens, you should check back the work you are doing and see if that can be refined somehow.

    Aman...

  • Open a document in read-only mode

    Hi all

    I created a group in which we

    edit box that shows the path to the document

    Browse button to enable a user to select an indesign document

    Button 'open read-only '.

    My requirement is that after that selection of an Indesign document if user click on button 'Open read-only' then it will open the document in read-only mode.

    I will be very grateful to all members of the community if anyone can give me a tip on how to achieve this.

    Kind regards

    Alam

    Alam,

    If you change the attributes of the file before opening to only read the file will be opened read only by Indesign. And then you could put an answering machine that could clear the read-only report when the file is closed so that the permissions are restored to the original state.

    Manan Joshi

    -Effective InDesign solutions-

    MetaDesign Solutions

    http://metadesignsolutions.com/services/InDesign-development.php

  • What table shows the tablespace in read-only mode or read / write.

    Hi all

    Can someonoe help me find which table shows if a tablespace is read-write or read-only mode.

    Thank you
    Naveen

    DBA_TABLESPACES - STATUS column.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/statviews_4157.htm#i1627812

Maybe you are looking for