the best way for the database pending?

Hello

I heard that DataGuard and streams are two ways to have a database waiting ready in case of failure of your normal database?

Can someone please share their experience of using one of these for that I decide that I should research on?

Thank you

Hello

As many of them into account in the light of the very valuable information for your query. Simply add a note for my part, hope that helps a small drop in the ocean.

I Opt for Data Guard - if your high level point of view check, go forward oracle specializing the two things, based on the environment and specialization. Keep data specialized in disaster recovery and HA and where as flow for replication. We are used to dealing in the requirement but vice verse - and we must go against the main base of the use of the tools and basic concepts and intended, that might create a problem / problems in the future...

-Pavan Kumar N
Oracle 9i / 10g - OCP
http://oracleinternals.blogspot.com/

Tags: Database

Similar Questions

  • What is the best way for foglight consume a webservice

    I hope that this is has not been replied that a bazillion times and if it is please send me the link I'm open to that.  What is the best way for foglight consume a Web service and respond with an alarm if the response from the Web service is not what is expexted.

    for example, calls Foglight webservice to acme.com/areuup and he responds with correct status in json format process.  If it does agree return, then foglight must send alerts to correct individuals.

    Thank you

    Kaleb

    in the end, we have used a perl script to capture the webservice and treat it and tables configuration.  Here is what has been written and created an agent custom.

    I apologize to all those who find the bulky comments, but it's my edition of journal of the script. I removed the comments once the script has been published and used.

    ===

    #! / usr/bin/perl

    #############################################################

    # Author: Kaleb J. Albee

    # Depandancies: SOA webservice

    # Engineers: Marc and Manu

    # Date: 28/02/2013 perl: (v5.14.2) built for x86_64-linux-gnu-thread-multi

    # Operating system: Linux 3.2.0 - 29-generic eam-ops-test #46 - Ubuntu SMP Wed Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

    #############################################################

    use strict;

    use warnings;

    use Try::Tiny;

    use SOAP::Lite;

    use SOAP::WSDL;

    Use Time::Local;

    My = @soaenvs ('BSE - dev', 'BSE test', 'BSE-scene', 'BSE');

    # parameters: $_ [0] receives a call of SOAP client object.

    #

    void toStr {return $_ [0] == 1?} 'up': 'down' ;}

    void getBusResults {}

    # $_ [0] will be the $client spent

    # create a different buses SOAP connection.

    my $result = $_ [0]-> (getMessagingEngineHealth)

    # arg0 is used to set the setting for what is expected on the soa web service.

    SOAP::Data-> name (arg0 => $_ [1]));

    # $_ [1] will be the bus happened in

    return (Lk ($result) "started" eq? 1: 0);

    #return $result;

    }

    # Start sampling.

    My $curTimeStamp = "";

    my $count = 0;

    Print "LdsEsbBusHealth5\nSTART_SAMPLE_PERIOD\n TABLE";

    foreach my {$soae (@soaenvs)

    my $client is SOAP::Lite-> service ("put the url of the webservice here.");.

    $count ++;

    # create an object to inspect objects. My $insp = Data new::Inspect->; Download the time stamp for this.

    my ($sec, $min, $hr, $day, $mon, $year) = localtime;

    # format the year correctly for useage.

    My $curyear = 1900 + $year;

    # the hand to the fglam agent fields at the tables.

    My $soacei = getBusResults ($client, "messaging.000 - CEI.esb.BUS");

    My $soaapp = getBusResults ($client, "messaging.000 - SCA.APPLICATION.esb.Bus");

    My $soasys = getBusResults ($client, "messaging.000 - SCA.SYSTEM.esb.Bus");

    $curTimeStamp = ' $curyear$ MON$ day$ hr$ min$ s ";

    Print "SoaEnv.String.id=$soae\n";

    Print "CeiBusNum = $soacei\n";

    Print "AppBusNum = $soaapp\n";

    Print "SysBusNum = $soasys\n";

    Print "CeiBusStr.StringObservation.obs =". toStr ($soacei). "\n";

    Print "AppBusStr.StringObservation.obs =". toStr ($soaapp). "\n";

    Print "SysBusStr.StringObservation.obs =". toStr ($soasys). "\n";

    Print "Daterun.StringObservation.obs=$curTimeStamp\n";

    If ($count<=>

    Print ("NEXT_SAMPLE\n");

    }

    } {$soae foreach (@soaenvs) #.

    Print "END_TABLE\n";

    Exit 0;

    ===

    I hope this helps someone out there!

    Bravo!

  • Which is the best way for a function called identify the class name of the appellant.

    Which is the best way for a function called identify the class name of the appellant.

    (1) sun.reflect.Reflection using the function call
                    Class caller = Reflection.getCallerClass(2);
                    System.out.println("Caller Class Name ::"+caller.getName());
    Trace of function called battery 2) analysis of current threads
                    StackTraceElement[] stElements=Thread.currentThread().getStackTrace();
                    System.out.println("Caller Class Name ::"+stElements[3].getClassName());
    Y at - it all the other ways to achieve the same. What is the best way?
    Called function does accept no argument, I don't want the arguments of function calling function called t.

    Help, please.

    With greetings
    Paul

    798185 wrote:
    Which is the best way for a function called identify the class name of the appellant.

    Y at - it all the other ways to achieve the same.

    SecurityManager

        // 0 is the anonymous SecurityManager class
        // 1 is this class (also works in static context)
        // 2 is calling class
        static Class getClass(int i) {
            return new SecurityManager() {
                protected Class[] getClassContext() {
                    return super.getClassContext();
                }
            }.getClassContext();} 
    
  • Reg: verification of users in the database pending

    I need to check the users in the database pending. In the primary database, I got the result by querying dba_users. But how to check standby db, without opening the database.
    Is it possible with any views?

    No, you can't.

    Assuming that physical standby, you can only query dynamic views of performance when it is in MOUNT.

    I like the answer of sb92075. Its a copy of the same database. We're in a mode where you can search for users, and we're in a mode where you can not.

    Make sure that your databases are synchronized and interrogate primary school.

    Best regards and thanks!

    mseberg

  • Problem with the current SNA on the database pending...

    Hello;

    A day ago I went on our main database on the eve of database, everything went well. But today when I checked current SNA for the two database, I saw that the two were different. and current SNA did not change on the standby database. What can cause this problem?

    some exits here when I tried to find the problem...

    on the primary database.

    SQL> select thread#, max(sequence#) from v$archived_log group by thread#;       
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    on the database pending;
    SQL> select thread#, max(sequence#) from v$archived_log  where applied='YES' group by thread#;
    
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    standby mode
    SQL> select LAST_CHANGE#, STATUS from V$STANDBY_LOG;
    
    LAST_CHANGE# STATUS
    ------------ ----------
         2927636 ACTIVE
               0 UNASSIGNED
               0 UNASSIGNED
               0 UNASSIGNED 
    standby mode
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2916773 
    on primary
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2927809
    Published by: Ecimen on 01:36 18.Eki.2012

    Published by: Ecimen on 01:47 18.Eki.2012

    SQL > change database recovery managed standby database disconnect from the session.

    modify the recovery of database managed standby database disconnect from the session
    *
    ERROR on line 1:
    ORA-01153: an incompatible media recovery is active
    >

    Most likely you had missed the log files from the backup site. You can check in question "select max(SEQUENCE#) from v$ loghist. Most likely old log files has not yet delivered to the main site backup site. Another simple method that you can do is stop tio watch db, and then start it as a mode of editing if you have 11 GR 2 db which should be enough. Oracle will automatically synchronized between primary and standby for you. If you can't wait, you can start the editing for db in waiting mode, then run the command "recover the database sleep until cancel;

  • Best way to manage databases 8i and 9i?

    Hello
    I'm looking for the best way to manage databases 8i, 9i, 10 g and 11 g with EM (of course, the upgrade from 8i databases is not an option). I installed SGD 12 c successfully, but the 12.1 agent does not connect to the 8i databases. What are the alternatives?
    -L'agent 10g can handle 8i, but he will be able to connect to 12.1 SGD?
    -If this does not work, I guess I need a SGC 12.1 for 9i, 10g and 11g databases and a 10g SGD for 8i databases. Is that a viable solution? Box 10g and 12.1 SGD coexists in the same environment?

    I'm looking for the best script that actually works, I understand everything that connects to 8i is not supported.

    Thank you.

    Hello.
    I'm afraid that you have understood.

    We will distinguish MONITORING that is done by the management agent (administration, maintenance, performance management etc) - which is made directly from the WHO.

    According to my experience:
    OEM 10 G is the latest version that can totally HANDLE 8i databases.
    OEM 11 G can MONITOR 8i (via an agent 10 G) databases, but cannot MANAGE them (or in other words, the 11 G SGD cannot connect to the 8i databases).
    OEM 12 c cannot CONTROL or MANAGE 8i databases.

    If you use OEM to manage your 8i databases (and intend to continue this way) I advised to retain a dedicated OEM 10G installation for the databases.
    There is no problem using 2 different installations of the WHO and several organizations choose to do for various reasons.
    The disadvantages are that you will need to duplicate your configurations OEM (patterns, rules etc.) and of course you will not be able to manage all the databases in a single console...

    If you use OEM to monitor 8i databases, you can create a set of parameters defined by the user that will run on a 9i database and connects to the 8i DB link databases.
    This solution is less than ideal, but it could eliminate the need to maintain another facility of SGD if all you need to watch the 8i databases.

    Erez.

  • What is the best way for this situation?

    Hi I have a xml file in my application. over a period of time, I have to add some nodes to the existing xml file.

    In my business logic when a particular condition is met I have to add a child node to the existing parent for an existing xml file node.

    What is the best way to do it? which api is best for this?

    Myriam wrote:
    DOM parser, we can parse the xml file but can write us in XML file?

    Sure. This is the opposite operation of analysis, and it is called "Serialization".

    The usual to serialize a DOM to a file is to create a transformer and to apply the transformation of identity for the DOM. However there are also third party XML serializers that do not take this approach.

  • What is the best way for a J2EE developer with oracle?

    Hello

    I am a J2EE developer, for the moment I'm working in a commercial bank as an enterprise application developer. Java, I learned when I was following a degree of local COMPUTER and with the help of books, work at my place of work and the internet, today I develop applications with JSP, Servlets, JSF2.0, EJB3.0 and third-party J2EE part libraries JSF etc (I also develop software using other programming languages such as Asp.net, c# .net, etc. WPF, but I prefer to be in the path of java). Other than that, I also work as the designer of the user interface of most of our applications.

    I have the skills and practice after having worked for 4 years as a developer of web/enterprise applications & UI designer, but now I have to focus on some grades of paper and so I do BCS.

    Now, I want to be a professional in the Oracle java path, and I need to know what is the best way, I choose to go with Oracle. I finished my SCJP courses, but did not take the exams, because there were rumors that Oracle will clear these reviews in the future. I am interested in Oracle university, but I'm unable to even think about it as I live in Sri Lanka and is not only a large part of the wealth to go to the USA and join.

    So I really appreciate if any professional Oracle could suggest me the best educational path based on what I mentioned about my technical and professional training. Because I have a dream to join Oracle a day as an employee and be a good contributor on the same forum, which I get help today!

    :-)

    Thank you!!!

    As you can see on our Web site, Oracle did not retire Java certifications. You can browse through the available certifications and I hope to help determine your path.
    http://education.Oracle.com/pls/web_prod-PLQ-dad/db_pages.GetPage?page_id=140

    SCJP became Oracle Certified Professional Java Programmer. You can find more information on these reviews on our site here: http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=320.

    Concerning training, virtual training live might be an option for you. You can find more information at http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233.

    Kind regards
    Brandye Barrington
    Certification Forum Moderator

  • Unable to connect to the database pending

    Hello
    I followed http://www.oracle-base.com/articles/11g/DataGuardSetup_11gR2.php.
    Primary data: dgtst
    SID: dgtst
    Computer name: hercules

    Databae standby: drtst
    SID: dgtst
    computer name: pulse

    In the machine in standby:
    DB status nomount is.

    $ echo $ORACLE_SID
    dgtst

    $ echo $ORACLE_HOME
    /U01/app/Oracle/product/11.2.0/DG11gR2TST

    Tnsping is OK standby machine to two databases:
    $ tnsping dgtst
    TNS Ping Utility for HPUX: Version 11.2.0.2.0 - Production on 24-FEB-2012 17:41:20
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = hercules)(PORT = 1528))) 
    (CONNECT_DATA = (SERVICE_NAME = dgtst)))
    OK (0 msec)
    
    
    $ tnsping drtst
    TNS Ping Utility for HPUX: Version 11.2.0.2.0 - Production on 24-FEB-2012 17:41:32
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = pulse)(PORT = 1528))) 
    (CONNECT_DATA = (SERVICE_NAME = dgtst)))
    OK (0 msec)
    Try to connect to the primary database of the machine in standby: OK
    $ sqlplus sys/UsingTheSamePassword@dgtst as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Feb 24 17:50:18 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    SQL> 
    Try to connect to the database machine on standby pending: FAILURE
    $ sqlplus sys/UsingTheSamePassword@drtst as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Feb 24 17:51:28 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Please note that I have copied the file orapwd of main machine to machine standby.
    The sys password is the same for the primary and standby

    Please advice

    You have saved the data base for the LISTENER and not LISTENER_DRTST. Join the LISTENER_DRTST statically
    That is to say, add the following lines to the listener.ora file.

    SID_LIST_LISTENER_DRTST =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = dgtst)
    (ORACLE_HOME = u01/app/oracle/product/11.2.0/DG11gR2TST)
    (SID_NAME = dgtst)
    )
    )

    Steve

    Published by: Steve Abraham on February 24, 2012 08:18

    Published by: Steve Abraham on February 24, 2012 08:19

    Published by: Steve Abraham on February 24, 2012 08:20

    Published by: Steve Abraham on February 24, 2012 08:21

  • A new question on how to enable Flashback Database on the database pending?

    Best practical side says:

    Activate the Flashback Database on the database shall minimize downtime for logical corruption.

    I would like to know where to find the document or everybody already had experience in this topic?

    Also, I would like to know what is the best practice for backup/restore of the database of physical relief?

    Thanks in advance.

    Hello;

    Just an opinion, but I like the book 'Oracle Data Guard 11g Handbook' as the document and the answers to the second question.

    Chapter 12 covers the A to Z of RMAN with Data Guard.

    This book sold me since Flashback Flashback allows a former primary database to be reinstated after a failover with ongoing restoration operation (provided that enough newspaper flashback is available)

    My own experience is I tried a test failover without it and trash my primary test.

    I did a test of simple failover a few weeks ago, here are my notes.

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

    Best regards

    mseberg

  • Error in the database pending Assembly

    Hi all

    OS: Solaris
    DB: 10 G

    I am facing the error listed below while I'm creating a database of watch on the same server.

    Here are the steps that I followed the same thing.

    1. check connectivity.
    2. has created the pfile to DB primary as mentioned below:
    *. DB_BLOCK_SIZE = 8192
    *. OPEN_CURSORS = 300
    *. CURSOR_SHARING = FORCE
    *. BACKGROUND_DUMP_DEST = "/ 11 g/oradata/admin/ettest/bdump"
    *. CORE_DUMP_DEST = ' / 11 g/oradata/admin/ettest/cdump ".
    *. User_dump_dest = ' / 11 g/oradata/admin/ettest/udump ".
    *. CONTROL_FILES =("/11g/oradata/Admin/Data/controlfiles/control01.) CTL"," / 11 g/oradata/Admin/Data/controlfiles/control02. " CTL")
    *. Db_name = ettest
    *. PROCESS = 150
    *. UNDO_MANAGEMENT = AUTO
    *. UNDO_TABLESPACE = undotbs
    * full = '10.2.0.1.0'
    *. STANDBY_FILE_MANAGEMENT = 'AUTO '.
    *. LOG_ARCHIVE_DEST_1 =' location = / 11 g/oradata/archives /'
    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
    *. DB_FILE_NAME_CONVERT ='/ 11 g/oradata/admin/data/data files / ',' / 11 g/oradata_dr/ettestdr/data files /'
    *. LOG_FILE_NAME_CONVERT ='/ 11 newspapers g/oradata/admin/data/files / ',' / 11 g/oradata_dr/ettestdr/redologs /'
    *. STANDBY_ARCHIVE_DEST = ' / 11 g/oradata_dr/ettestdr/dr_archives/ettestdr.
    *. LOG_ARCHIVE_DEST_2 = "SERVICE = ettestdr'"
    *. FAL_SERVER = "ETTESTDR."
    *. FAL_CLIENT = "ETTEST."

    3 set the pfile Dr. file:

    *. DB_UNIQUE_NAME = ettestdr
    *. DB_BLOCK_SIZE = 8192
    *. OPEN_CURSORS = 300
    *. CURSOR_SHARING = FORCE
    *. BACKGROUND_DUMP_DEST = "/ 11 g/oradata_dr/ettestdr/admin/bdump"
    *. CORE_DUMP_DEST = ' / 11 g/oradata_dr/ettestdr/admin/cdump ".
    *. User_dump_dest = ' / 11 g/oradata_dr/ettestdr/admin/udump ".
    *. CONTROL_FILES =("/11g/oradata_dr/ettestdr/controlfiles/standbycontrolfile.) CTL")
    *. Db_name = ettestdr
    *. PROCESS = 150
    *. UNDO_MANAGEMENT = AUTO
    *. UNDO_TABLESPACE = undotbs
    * full = '10.2.0.1.0'
    *. FAL_SERVER = "ETTEST."
    *. FAL_CLIENT = "ETTESTDR."
    *. STANDBY_FILE_MANAGEMENT = 'AUTO '.
    *. LOG_ARCHIVE_DEST_1 =' location = / 11 g/oradata/archives /'
    *. STANDBY_ARCHIVE_DEST = ' / 11 g/oradata_dr/ettestdr/dr_archives/ettestdr.
    *. LOG_ARCHIVE_DEST_2 = "SERVICE = ettestdr'"
    *. LOG_ARCHIVE_DEST_STATE_2 = 'REPORTER '.
    *. DB_FILE_NAME_CONVERT ='/ 11 g/oradata_dr/ettestdr/data files / ',' / 11 g/oradata/admin/data/data files /'
    *. LOG_FILE_NAME_CONVERT ='/ 11 g/oradata_dr/ettestdr/redologs / ',' / 11 newspapers g/oradata/admin/data/files /'

    4. Meanwhile I backed up the database and the same transferd on the location of DR and then I created the standbycontrolfiel using the command on the priamary with login sys server using the command:
    alter database create standby controlfile as ' / path ';
    5. my primary increased using the pfile of said file.
    6.I was also able to put my DR in phase nomount using the pfile above file
    7.i transferred the controlfile to the location appropriate server DR and when I'm putting DR db using:
    alter database base_de_donnees eve of Mount;
    I get the below mentioned error
    SQL > alter database base_de_donnees eve of Mount;
    change the basis of mountain rescue
    *
    ERROR on line 1:
    ORA-01103: the name "ETTEST" in the control of the database file is not "ETTESTDR"
    Please suggest...
    BR
    Sphinx

    Published by: $phinx19 on December 12, 2012 05:29

    Try to change standby init. file:

    DB_NAME=ETTEST
    

    Edited by: P. Forstmann on Dec 12. 2012 14:36

  • What is the best way for users to ask questions about an extension?

    Hi all!

    I developed an extension that I thought I would share it with the community and saw that adobe provides a neat platform do with almost no effort on my side

    One thing, this is where they can discuss my extension?

    I don't think that email is a good idea, because it makes you answer always the same questions, a forum is much better.

    I've seen you suggest that they do here.

    But then messages on all extensions will be mixed up.

    How can I subscribe to messages just with my extension? I don't want to be notified for all messages for all extensions!

    -Maybe I could start a specific thread for my extension and tell people to go there. Not very nice but seems simpler. Which would be ok with you?

    -Maybe there is a way to subscribe to just a tag / keywords? That could be better I think.

    -Best would be a secondary space (and maybe a bug tracking system?) Christmas is not that far )

    Thanks in advance!

    Yannick

    Mr Yannick

    I suggest starting a new thread about your product and then adding a hyperlink directly to the thread of your page Product Description on the site of modules. You can choose to follow and to bookmark the thread for quick and easy access.

    Kind regards

    Krystal - Exchange / modules team

  • Toshiba Satellite M60-154: what is the best way for a long service life of a battery?

    Hello Toshiba-users,

    I bought the "Toshiba Satellite M60-154" but I want to use most of the time on the AC adapter.

    I read the manual, but they say nothing about the battery life for people like me who will use the computer power adapter laptop most of the time.

    I would like to know if:

    (1) it is best put the battery inside when I use the laptop on the power adapter for a long time (they say this is not good for the life of the battery when it is fully charged and when he is still in charge...)

    (2) it is best to take the battery when when I use the laptop on the power adapter for a long time and check the battery every week for example to see whether or not it is still loaded (they say it's good for the life of the battery when the battery is fresh off once a week)

    Indeed, what should I do to make sure that the battery will have a long life, knowing that I always use the laptop on the power adapter instead.

    Thanks for the tips

    [Edited by: admin on 28-Sep-05 17:28]

    Hello

    your info is just. Only put the battery in the laptop, if you want to load or work without mains, to make sure that your battery has a long service life relative.

    Good bye

  • The best way for the interaction with the user?

    Hello

    Because they remove the views of the web in version 6.0.0 what would be the best and most simple way to 'capture' a user entry in a running workflow?

    • The web client of vSphere
    • The portal of vRealize automation
    • THE REST API
  • Best way for the customer to download for a box?

    I do a total makeover in an existing site and switch from GoLive to DW.  We had a need for the client to display rapidly changing information in a box on the home page, since the client isn't real "techno" I tried an easy solution.  What I have on the old site is an image I linked to Google Docs: he is editing a document on Google Docs and saving it, the link of the image I always points to a single document.

    It works fine, but I wonder if there is a better way to accomplish the task.  I have shell access to my Web host, so I peut play around the coast host if necessary.

    Thanks - John

    Try this http://www.cushycms.com/

    I think this would work well for your needs.

Maybe you are looking for