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)

Tags: Database

Similar Questions

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

  • 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

  • How to open an .exe file in windows 8 with compatibility mode to windows 7

    How to open an .exe file in windows 8 with compatibility mode to windows 7

    Normally, you can double-click on the Setup file and install the application. If the program requires the compatibility mode, you can do the following:

    http://techingiteasy.WordPress.com/2013/07/08/using-compatibility-mode-in-Windows-8-1/

  • Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical users to end dry change

    Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical end users EASILY change the sections of the web site.  Can this work?  Thank you.

    I would like some ideas.

    A CMS is the standard solution in the industry today. The most common environment is LAMP (LINUX, Apache, MySQL, PHP).

    Some of us to write custom CMS systems for a living. I concentrate on CMS for retirement centers. There are all kinds of solutions CMS available ranging from generalist, off-the-shelf CMS like WordPress, completely custom, with a lot of opportunities in the meantime.

  • 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

  • How to check if physical Standby is in phase with the primary

    Hi all

    I'm new in Data Guard. In our current production, my boss asked me to write a shell scripts for monitoring physical standby and archive primary's sync (gap of archive)

    I refer metalink [861595.1 ID], but when I ran the first query to the primary node, the screen lock.

    On primary
    ========

    SQL > SELECT THREAD # "Thread", SEQUENCE # 'last generated sequence.
    V $ ARCHIVED_LOG
    WHERE (THREAD #, FIRST_TIME) IN (SELECT THREAD #, MAX (FIRST_TIME) FROM V$ ARCHIVED_LOG GROUP BY THREAD #)
    ORDER BY 1;

    I tried to turn on 10046 trace SQL, SQL consume a lot of CPU and it full table scan in X table KCCAL $.

    Eye of TKPROF result as below:
    call     count       cpu    elapsed       disk      query    current        rows
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     88.29     115.59          0          0          0           0
    ------- ------  -------- ---------- ---------- ---------- ----------  ----------
    total        3     88.30     115.60          0          0          0           0
    
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1 Optimizer mode: ALL_ROWS Parsing user id: 80  
    
    Rows     Row Source Operation
    -------  ---------------------------------------------------
          0  SORT ORDER BY (cr=0 pr=0 pw=0 time=21 us)
          0   FILTER  (cr=0 pr=0 pw=0 time=19 us)
       1124    FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=40537 us)
          0    FILTER  (cr=0 pr=0 pw=0 time=115538625 us)
       1122     HASH GROUP BY (cr=0 pr=0 pw=0 time=115530193 us)
    7465972      FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=94648975 us)
    
    Elapsed times include waiting on following events:
      Event waited on                        Times   Max. Wait  Total Waited
      -----------------------------------   Waited  ----------  ------------
      SQL*Net message to client               1        0.00          0.00
      control file sequential read        16841        0.05         30.88
      SQL*Net break/reset to client           1        0.00          0.00
    Because of this is the production environment, so I had put an end to the session, anyone can teach me or share with me the physical monitor in standby mode scripts is sync with primary or not? Or you encounter the above problem when you run the SQL code?

    My version of db is Oracle 11.2.0.1.0


    Thanks in advance.

    Kind regards
    Klnghau

    Just be aware that these queries are queries controlfile and if they run too long can get in the road of the database as they hold controlfile locks. You'd better watch the view v$ dataguard_stats the day before and look at the GAL apply and transport.

    We are also a few scripts in our book - http://www.amazon.com/Oracle-Guard-Handbook-Osborne-ORACLE/dp/0071621113

    Larry

  • 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

  • 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

  • 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

  • How to open the files .dll automatically with Adobe Reader via Firefox?

    Hello

    When I print labels eBay via Firefox, a .dll file is downloaded. This used to automatically open in Adobe Reader, but now it opens as a text document in TextEdit, so I have to manually open Adobe Reader, change the options to display "all files", then find the .dll file and open it.

    When I try to change the default application in the preferences of Firefox, I can't find anything with the content type "dll".

    Is there a way to have Firefox automatically opens files .dll with Adobe Reader?

    Any help would be appreciated, thanks!

    Steve

    Sorry for the delay, but yes, just stop Firefox so that the mimeTypes.rdf file is released.

  • How to open files using the Scan Disk card reader

    original title: scan disc card reader

    I copied pictures from my phone using this method, scan disc card reader.  This is a new laptop, but this should not be so difficult!  The laptop does not recognize the card reader, but I do not remember how I can't simply click, icon, & my pictures should appear as if by magic.  "Why don ' t they?

    Sincerely,
    Sandra Ammerman

    I copied pictures from my phone using this method, scan disc card reader.  This is a new laptop, but this should not be so difficult!  The laptop does not recognize the card reader, but I do not remember how I can't simply click, icon, & my pictures should appear as if by magic.  "Why don ' t they?

    Sincerely,
    Sandra Ammerman

    ===================================================
    Something to try...

    OK... you have an external or internal USB media player?

    Insert the memory card into the correct location on the media player...
    If open windows... Close them.

    When the card is inserted... If you go to... Start / computer... is
    player card on one or several removable disks?
    (You could say, "devices with... of removable storage")

    Removable (e :)) drive
    Removable disk (e :))
    Removable drive (g)

    If_Yes_you can download photos from there. Left click
    the drive letter that corresponds to the memory card must
    display the directory of the card and you can copy and paste or
    Drag and drop the photos of your choice in a folder on your hard drive
    drive.

    Just a select group of photos do a right-click and choose... Copy...
    then navigate to the folder that you want, and then right-click the
    folder and choose Paste.

    Also, adjust your AutoPlay settings may be worth a try:

    Windows 7 - change settings for importing pictures and videos
    http://Windows.Microsoft.com/en-us/Windows7/change-settings-for-importing-pictures-and-videos

    Windows 7: AutoPlay: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/AutoPlay-frequently-asked-questions

    Windows 7: Troubleshoot AutoPlay
    http://Windows.Microsoft.com/en-us/Windows7/Troubleshoot-AutoPlay-problems

  • Database SQL Server (read-only mode) in Oracle SQL Developer

    Hello

    I have connected the database server SQL with Oracle SQL Developer 3.2.10.09, everything looks good except that I can only browse the data, I can not change the data in the tables may not add new or delete lines. Query is also disabled (I got the message: Query Builder is not supported for this connection type.) I used a third of JDBC drivers - jtds - 1.2.6.jar as my connection to SQL server. Is there a way to change the data in the tables?

    Thank you.

    As much as I KNOW edition data in table in the grid are possible with an Oracle database. On MS SQL, you can use update instructions on the worksheet.

    Hope that helps,
    dhalek

  • How to display a messageTextInput as a link in read-only mode

    Hi all

    I want to give a link to a particular advanced tabletop and on, click this field the page will redirect to another page but there are in the home page unique selection is there and click it will be editable. so, how can I manipulate two things on the same domain.

    Thank you

    Edited by: user9087395 may 4, 2010 08:45

    Hello

    You have two fields in the same column of the table ahead, one is of type link/text style and other is the entry type field.

    You can set the properties made of these two fields of SPEL using only indicator reading. You can shoot if the current access level is edit or read-only.

    Thank you
    Ritesh

Maybe you are looking for