Data Guard in oracle 11G

Hi Friends,
I am new in orcle & my boss told me to configur a dataguard in oracle 11g.we have two server with same configuration. First server is primary server & second server is standby. I have created two database name as PIDB & PIHIST for RTGS system. I have gave a database name to primary server is PIHIST,PIDB & for standby PIDBSTDBY,PIHISTSTDBY, Is it right ? is it right then how i configure a dataguard?
Thanks,
XYZ

Hi ,
Check Below Links
http://www.oracle.com/global/uk/education/downloads/uwe_data_guard.pdf (Pdf File)
http://wiki.oracle.com/page/DataGuard+%3A+Step-by-Step+Instructions+for+Creating+a+Physical+Standby+Database
You can go to Oracle Library and also get the pdf file which explains you Step-By-Step Process to creating Physical Or Logical Standby Database.
And also explain need and configuration of each and every parameter of Standby or Primary database.
Thanks & Regards
Rahul Sharma

Similar Messages

  • Looking for Active Data Guard in Oracle 11g Release 2 References

    I want to reach out to customers who have implemented Active Data Guard in production (preferably 11.2), so that we can develop some
    customer references that in turn will benefit other customers. The customers who get selected for such references may further be selected to publish their case study directly in oracle.com and/or invited as a customer co-speaker in the upcoming Oracle OpenWorld at San Francisco (Sep 19-23, 2010). Being a customer co-speaker at OOW means they get a free pass to the full conference (regular price for that is $1795-$2495).
    Please send any follow-ups to [email protected]
    Thank you.
    Larry M. Carpenter
    Oracle Data Guard & MAA Product Manager

    Hi Larry,
    This is Bhavik Desai Oracle -DBA@Amazon. I do have couple of Active Standby running on 11gR2 On RHEL 5 64-Bit platform.
    Most of the databases are reporting on (DSS Having 2-4 TB in size) having FSFO configured.
    It would be a pleasure if i can provide any benchmarking to you on this.
    Regards,
    Bhavik Desai

  • Data Guard with Oracle 9i and 10g -- have you done it?

    We have an ERP system (JDEdwards, db size approx 600 GB) and we'd like to copy the data in this system to a database on another computer. We'd use the remote database for reporting, so we need it to be available. We are looking at using Data Guard running in Logical Standby mode.
    The ERP database is Oracle 9i, and we are considering having the Logical Standby database be 10g. Have you done this and if so, what was your experience?
    Here's why we want to do this. There are many tables in the ERP database that contain descending indexes. We can't change this, and it is not supported with Data Guard under Oracle 9.2. Tables with descending indexes do not copy to the logical standby database.
    We were told that this is corrected in a newer release of Oracle, and we were wondering if a 10g database would properly copy tables with descending indexes.
    Thanks in advance for any experiences you can share.
    Best Regards,
    Mike

    What you are trying to do might not be possible. Because when you create logical standby you have to create a physical standby first and convert it. Primary and standby have to be same version.
    In furture it might be possible because 10G will support rolling upgrade of logical standby.
    However even it's possible you have to go through a lot of pain to setup and maintain it because Oracle don't support the setup.
    What you could try are Stream and Replication, I will say Stream is very interesting one. Because Oracle say : "Oracle Streams and Oracle Data Guard (including Data Guard SQL Apply) are independent features based on some common underlying infrastructure and technology. "
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardStreams.html

  • Data Guard on Oracle 9i

    Good day,
    I'm trying to configure standby database using Data Guard on Oracle 9i, primary database on windows xp and stand by database on W2K server, and I'm on step three of the Create Configuration Wizard. I'm trying to create a new physical standby database and when I click next then it waits a few moments then get a window that pops up and says "Data Guard remote process startup failed"
    I suspect it is something to do with "Preffered Credential" settings.
    Can some one guide me how to go for this, or any suggestion about the above mentioned error message.
    Thanx in advance
    Regards Anshuman

    Thanx ADB for ur comment,
    I think U have not read the questions properly, I have mentioned the version it is Oracle 9i, I know no one is paid for this forum, but i also know this forum is made to help each other incase we know about the problem other one is facing.
    I will be greatfull if any one can give the solution for my problem
    Thanx

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Data guard vs. oracle stream

    Our db is 10g 2 nodes RAC db and the db server is window 2003 server. Our standby db was using data guard for feeding data from primary to standby. Since our standby db was not up to date now we are planning to rebuild our standby db. We are debating if we should use data guard or oracle stream to feed data to this new standby db. Can any body give us some insights on which one is better on this purpose?
    Thanks a lot in advance!!
    Shirley

    One has
    1 physical standby
    2 logical standby
    3 streams
    Only 1 is a zero-loss, high-availability solution.
    2 and 3 do not support all data types, and will automatically suppress not-supported datatypes.
    3 apart from that is also asynchronous, where 1 and 2 can be set up to be synchronous.
    3 will be also much more difficult to troubleshoot. Basically: when you are out-of-sync you have to rebuild. You can't re-ship redolog files.
    1+2 ship redolog files to the standby server, 1 uses them to recover the database, 2 uses them to mine them and to re-execute the transaction.
    3 mines redolog files at the source, and sends statements to re-execute them.
    Only 1 is a true HA solution.
    You can not use Streams to build a standby database.
    The purpose of Streams is replication, not standby.
    Sybrand Bakker
    Senior Oracle DBA
    It is just what you want

  • Data guard setup using 11g R2.

    Hi,
    It is possible to setup data guard between Amazon ec2 (primary db) and standby will be on local data center- (Non Amazon) using 11g R2.

    Hi,
    When I tried to create data guard between amazon ec2 instance and local server using 11g R2 64 bit on linux server I am getting the below mention error.I Need some pointers on this issue.
    Thanks in advance
    Starting backup at 08-JUN-12
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting datafile copy
    input datafile file number=00005 name=/oracle/app/oradata/abs/abs.dbf
    ORACLE error from target database:
    ORA-03114: not connected to ORACLE
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-03114: not connected to ORACLE
    RMAN-03002: failure of Duplicate Db command at 06/08/2012 19:01:22
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 06/08/2012 19:01:22
    RMAN-10038: database session for channel ORA_DISK_1 terminated unexpectedly

  • Date problem in oracle 11g

    iam New to oracle 11g but familiar with SQL 2005
    i have a table Patient which has a column Date_Of_Birth has datatype Date
    and iam writing a query in which if Date_Of_Birth column has a value
    *01/01/1900* then i should be replaced by *' ' or balnk*
    otherwise show date value for that i have made use of
    case
    query
    select case(Date_Of_Birth)-------------this is my column
    when '01/01/1900'
    then ''
    ELSE TO_CHAR( Patient.Date_Of_Birth, 'DD/MM/YYYY')
    END Date_Of_Birth
    from Patient -------------my table
    but error is comming
    Error starting at line 1 in command:
    select case(Date_Of_Birth)
    when '01/01/1900'
    then ''
    ELSE TO_CHAR( Patient.Date_Of_Birth, 'DD/MM/YYYY')
    END Date_Of_Birth
    from Patient
    Error at Command Line:2 Column:5
    Error report:
    SQL Error: ORA-00932: inconsistent datatypes: expected DATE got CHAR
    00932. 00000 - "inconsistent datatypes: expected %s got %s"
    *Cause:   
    *Action:
    Edited by: user13066438 on Jan 24, 2011 9:38 PM

    Hi there
    you have date data type in Date_Of_Birth you have to use to_date function
    try this
    select case((Date_Of_Birth)when to_date('01/01/1900', 'DD/MM/YYYY')
    then ''
    ELSE TO_CHAR(Patient.Date_Of_Birth, 'DD/MM/YYYY')
    END Date_Of_Birth
    from table_name;regards
    Hitesh

  • How to generate TPC-E schema/data sets in Oracle 11g

    Hi,
    I want to use TPC-E schema in my Oracle 11g database (Standard) and also want to use DATA SETS from this benchmark for some kind of testing.
    I've download EGen v1.8.0 from this TPC website:
    http://www.tpc.org/tpce/default.asp
    but don't know who to implement this benchmark database into my computer's database. I'll appreciate if someone please suggest me how to do this...
    Thanks alot.
    Best Regards,
    Kamran

    kamran safdar malik wrote:
    I want to find Optimal size of a data block size as this is the one parameter which can increase the performance of a database or decrease it.If there is a single optimal size, that would surely be the default Oracle block size - as Oracle should know perhaps better than any of us, just what block size differences do as it is their code that uses it?
    Can I ask why you said that you would not have chosen this topic as a thesis?My leaning has always been to expert systems and A.I. Even designed and written my own expert system language years ago. One thing that is critical in such systems is how you structure data - and that has a nice database angle to it. One that I believe can still be exploited for research purposes.
    Don't you think that it'll benefit DBA's or database developer after I reach a successful conclusion?To be honest, in the real world of database systems, the least of my concerns are data block sizes. For example, we're busy putting together a storage array that should have a maximum I/O pipe size of 40Gb. In comparison, we currently use dual 2Gb fibre channels on most of our servers for our I/O.
    Technology moves fast. And perhaps there is an ideal block size for the standard storage array and Oracle instance today - but that could invalidated by new technology next year. Would I want to spend time and effort studying and analysing and researching a very specific technical subject, that perhaps is not considered as of that critical importance by DBAs and perhaps can be outdated with new technology and techniques?
    I honestly do not want to put you off studying db block sizes. Perhaps there's still some critical issues to uncover in that respect. But personally.. there are many other subject areas in database technology that peak my interest a lot more. But then you have your personal preferences and likes and dislikes - and data blocks could be your muse. :-)

  • Failed to get Column's data type in Oracle 11g

    Hi,
    I made an ADO connection(Oracle provider) to Oracle 11g, and use ADO API: OpenSchema(adSchemaColumns) to fetch the columns' info. But I found I couldn't get the column's data type if it's type is timestamp or timestampwithtimezone in database. What I got is 'adIUnknown' whose number is 13.
    I test with another column whose data type is 'date', and everything is ok. I get the data type 'adDBTimeStamp'.
    This issue occurs on Oracle 10g, too.
    Can anyone offer some help? Thanks a lot!

    See
    http://www.oracle.com/technology/tech/windows/odpnet/index.html
    http://download.oracle.com/docs/cd/B28359_01/win.111/b28431/using.htm#CHDJJDAJ

  • Problem with Export User's data from database oracle 11g

    i want export all user data and Its tables from oracle 11g database, I am using the comand exp, pero export only the tables with data, i Have Some tables and Not Without export data These tables,
    can someone help me!

    problem with zero extent table
    exp is de-supported in 11g. Use expdp instead to export tables without any rows.
    Srini

  • Enforce date datatype in oracle 11g

    Can I restrict database so that application can not enter date data in certain format.
    E.g. If I want that date enter should be registered in [year to minute] 'MM-DD-YYYY' hh:mm' only format and not in [year to second format]'MM-DD-YYYY' hh:mm:ss' then how I can do it in Oracle 11g.
    Currently I am using oracle sql developer to create data model and then I want to generate DDL from that to generate database. Is there is any facility in Oracle SQL developer to enforce format specification.
    thanks!

    This is not really related to SQLDeveloper, so you may find better answers in another forum but I'll try to give you an idea anyway.
    Actually the DATE datatype has no format, you use a format when you convert it to a string or vice versa, but the DATE itself is just a DATE.
    You could probably create a trigger to truncate your data as you see fit, but IMHO your best option would be to remove the seconds from your output queries using something like
    TO_CHAR(YOUR_DATE_FIELD,'MM-DD-YYYY HH24:MI')you can also set this output format for SQLDeveloper in
    Tools -> Preferences -> Database -> NLSbut this will work only for SQLDeveloper, it's up to you to determine the best way of setting the output/input date format in your specific application.

  • Anyone inserted data directly from Oracle 11g to MySQL?

    Hi There,
    We work mainly on Oracle 11g. However, there is a requirement to now connect to an external MySQL database from our company's Oracle Database. Would be trying to do this for the first time. The process would be to download the data using PL/SQL from the ORacle 11g DB and then insert the data into the MySQL DB table. Had a few questions,
    1. Are there any known issues with connections between ORacle as source and MySQL as target. Anything that needs to be kept in mind?
    2. How do we send the data to MySQL, I mean in PL/SQL we can have the procedure create the insert statements. But can we directly fire the insert on MySQL ? If yes, any suggestions on what the commands would be?
    3.Any way to figure out if the insert was successful?
    4. We might also have to do other operations like update/delete etc.
    5. Any possible reference or sample code on this would also help.
    Thanks

    Well, the simplest and most direct approach would be to create a java function in the database to perform the operation and call it from pl/sql. I've done it before and there are examples out there and its a pretty straight-forward process.
    A quick example from [this website|http://w2.syronex.com/jmr/edu/db/oracle-and-java]
    import java.io.*;
    import java.sql.*;
    public class OraThin {
      public static void main(String[] args) {
        try {
          Connection con=null;
          Class.forName("oracle.jdbc.driver.OracleDriver");
          con=DriverManager.getConnection(
            "jdbc:oracle:thin:@machine_name:1521:database_name",
            "scott",
            "tiger");
          Statement s=con.createStatement();
          s.execute("
            INSERT INTO BOOKS VALUES
            'A Tale of Two Cities',
            'William Shakespeare',
            4567891231,
            '5-JAN-1962'
          s.close();
          con.close();
       } catch(Exception e){e.printStackTrace();}
    }Check out Oracle's Java tutorial at http://docs.oracle.com/javase/tutorial/jdbc/basics/storedprocedures.html for more in-depth information.
    If you're going to be doing this for more than a handful of tables under very controlled circumstances keeping it synchronized is going to be a mess, however.
    Edited by: Bill Haverberg on Jun 20, 2012 8:05 AM

  • License Type Requirements To Use Data Guard For Oracle EE

    Hi,
    I haven't been able to get a straight answer on this, so hopefully someone can help me.
    We currently have two physical servers, both licensed to run Oracle Database 11gR2 EE, however one is running a cpu-based license (primary server/production) and the other is running a named-user based license (secondary server/soon-to-be-standby server).
    I had no hand in selecting the license model, so this is what I have to work with. So the question is this: With this type of license model differences, can I use Oracle Data Guard?
    Our Oracle software vendor says no because of the differences in the license models.
    Any feedback would be invaluable. Thanks.

    That is so because there is not much to say about it: You create your standby as described in the Data Guard doc (RMAN DUPLICATE)
    Then you ship the Archivelogs to the standby and do recover database there. Technically easy. No higher protection mode possible, though.
    I am no License Specialist, but I think that you will always need some kind of license for the standby database - even if you maintain it this way.
    My recommendation would be to clarify with your company first what your Recovery Point Objective is - can you live with the probably high amount of data loss in case of Disaster on the Primary?
    If not - purchase the correct license and continue with Data Guard Best Practices instead of doing a home grown solution.
    Security is not cheap.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Question related to CLOB data type in Oracle 11g

    Hi,
    I'm trying to assign a string value to a CLOB variable but it is giving me an error as described below. Can someone please let me know what am I missing here? As far as I know, in 11g a CLOB variable can store upto 4GB of data and all i'm trying to use is only 7K of data.
    DECLARE
    v_sql1 CLOB;
    v_sql2 CLOB;
    BEGIN
    DBMS_OUTPUT.ENABLE(1000000);
    v_sql1 := 'BLAH-BLAH-BLAH.........'; --> this string is actually more than 4000 characters.
    v_sql2 := TO_CLOB('BLAH-BLAH-BLAH.........'); --> this string is actually more than 4000 characters.
    dbms_output.put_line(v_sql1);
    dbms_output.put_line(v_sql2);
    END;
    When I try to execute the above script, I get the error message: ORA-06502: PL/SQL: numeric or value error:character string buffer too small.
    I even tried to use TO_CLOB function as shown above but it is failing as well.
    NOTE: The string to assign is not coming from any table but mainly a SQL statement used for sys_refcursor.
    Thanks.

    John Spencer wrote:
    Unless I missed something in the 11g new features, the maximum line length in DBMS_OUTPUT.Put_Line is still 255 characters.
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 32-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> set serveroutput on
    SQL> exec dbms_output.put_line(lpad('X',512,'X'));
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    PL/SQL procedure successfully completed.
    SQL> SY.

Maybe you are looking for

  • Having a problem converting a PDF document to Word, or RTF

    My Document appears to be images of scanned pages of a book. Document Properties say it was produced using PDF version 1.5; however, Tagged PDF attribute says NO! I have a feeling that images of pages cannot be converted. Would this be true?

  • Choosing the correct domain name

    Hi I just need a bit of advice about domain names. I have a commercial mail order company and couldn't get the .co.uk version of my company name so chose the .info equivalent - http://www.thelittlethings.info - I am constantly anxious about it, belie

  • W_gl_balance_f has 2 balance rows, causing doubling in dashboard rpts

    Hi all, Thanks for taking the time to review my post. Environment Oracle BI Applications 7.9.6 Financial Analytics Oracle E-Business Suite 12 Query select ledger_id, gl.code_combination_id, period_name, period_num, segment3 account, segment1, segment

  • Where has the just added function gone?

    Where has the "just added" function gone in the store

  • Download doesn't in full speed if not using Firefox window.

    In FireFox Version 4.0, the download is not in full speed if I am not activating a FireFox window. Did I miss-setting some option on FireFox or Window 7? I need to keep working, or at least moving my cursor, on a FireFox window in order to have full