Oracle 10g Data gaurd

Hi all,
I cloned my prod by using RMAN.
my Q is ..is there any diff between cloned db , Duplicate Database.
if any diff please let me know..
if i have cloned one by using that how to create standby instance.

Hi,
I mean that to create a standby you have a procedure and that rman copy is part of it and duplicate.
1) make a rman backup
run {
allocate channel C1 type disk;
backup database;
backup archivelog all ;
2) Create a Control File for the Standby Database on the primary:
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/oracle/local/data/backup/crunchs_controlfile.bkp2';
3) Standby redo log is optionnal... (but adviced to do)
Exemple:
ALTER DATABASE ADD STANDBY LOGFILE GROUP 11 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 12 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 13 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
ALTER DATABASE ADD STANDBY LOGFILE GROUP 14 ('+DATPRTEST1', '+FLAPRTEST1' ) size 50M ;
SELECT GROUP#,THREAD#,SEQUENCE#,ARCHIVED,STATUS FROM V$STANDBY_LOG;
4) modify the aprameter file in primary and standby
Exemple:
On the primary:
alter system set db_name='crunch' scope=both sid='*';
alter system set db_unique_name='crunch' scope=both sid='*';
alter system set fal_client=crunch scope=both sid='*';
alter system set fal_server=crunchs scope=both sid='*';
alter system set db_create_file_dest='?????????????' scope=both sid='*';
alter system set db_recovery_file_dest='?????????????????????' scope=both sid='*';
alter system set log_archive_config='DG_CONFIG=(crunchs,crunch)' scope=both sid='*';
alter system set log_archive_dest_1 LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=crunch scope=both sid='*';
alter system set log_archive_dest_2 SERVICE=crunchs.RVPONP.FGOV.BE VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL DB_UNIQUE_NAME=crunchs scope=both sid='*';
alter system set log_archive_dest_state_2 defer scope=both sid='*';
alter system set standby_archive_dest LOCATION=USE_DB_RECOVERY_FILE_DEST scope=both sid='*';
On the standby:
alter system set db_name='crunch' scope=both sid='*';
alter system set db_unique_name='crunchs' scope=both sid='*';
alter system set fal_client=crunchs scope=both sid='*';
alter system set fal_server=crunch scope=both sid='*';
alter system set db_create_file_dest='????????????' scope=both sid='*';
alter system set db_recovery_file_dest='????????????' scope=both sid='*';
alter system set log_archive_config='DG_CONFIG=(crunch,crunchs)' scope=both sid='*';
alter system set log_archive_dest_1 LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=crunchs scope=both sid='*';
alter system set log_archive_dest_2 SERVICE=crunchs.RVPONP.FGOV.BE VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) OPTIONAL DB_UNIQUE_NAME=crunch scope=both sid='*';
alter system set log_archive_dest_state_2 defer scope=both sid='*';
alter system set standby_archive_dest LOCATION=USE_DB_RECOVERY_FILE_DEST scope=both sid='*';
5) We copy the password file of the primary and rename it for the standby:
/oracle/product/10.2.0/db/dbs
Start standby database unmounted
sqlplus sys as sysdba
startup nomount pfile='oracle/product/10.0.2/db/dbs/initcrunchs.ora' ;
(ou startup nomount; si le spfile existe déja d'avant)...
Recover standby database from RMAN backup
. oraenv
crunchs
rman nocatalog
connect target sys/????@crunch
connect auxiliary sys/????
duplicate target database for standby;
Create a server parameter file for the standby database
sqlplus sys as sysdba
create spfile from pfile;
shutdown immediate;
startup mount;
On standby:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
On primary:
alter system set log_archive_dest_state_2='enable';
Up and running...
Now you can after doing your copy and if the parameter files are both good, try to :
On standby:
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
On primary:
alter system set log_archive_dest_state_2='enable';

Similar Messages

  • What is the role of Lns process in oracle 10g data guard

    Hi ,
    plz help me out to find out the actual working of lns process in oracle 10g data guard
    when i use SYNC redo transport
    the output of v$managed_stanbdy is like that ..
    PROCESS PID STATUS CLIENT_PROCESS GR# SEQ#
    ARCH 9258 CLOSING ARCH 2 498
    ARCH 9260 CLOSING ARCH 1 499
    ARCH 9262 CLOSING ARCH 2 496
    ARCH 9264 CLOSING ARCH 1 497
    LGWR 9206 CLOSING LGWR 2 482
    its not display any info about lns,thats means lns is not working in SYNC redo transport mode ?
    but if i changed it to ASYNC then the out put of v$managed_stanbdy is like this ..
    PS PID STS CPS GR# SEQ#
    ARCH 9258 CLOSING ARCH 1 509
    ARCH 9260 CLOSING ARCH 2 510
    ARCH 9262 CLOSING ARCH 1 505
    ARCH 9264 CLOSING ARCH 2 508
    LGWR 9206 CLOSING LGWR 1 503
    LNS 10528 CLOSING LNS 2 510
    Now it display all the info about lns process...
    i read in oracle documentation that lns process send redo data from primary,( through network service ) to RFS on standby side.
    but first output means that lns is not working,if not then which process send redo from primary to RFS on standby ?
    i also read in some blog that lgwr use some extra buffer size from primary db SGA ,to write redo in that buffer ,ans lns read redo from that buffer and send it to RFS on stanby side,
    i m totally confused ..can u plz help me with correct logic behind this .
    thanx in advance.

    Hello,
    On the primary database when you run the v$managed_standby, it shows up the LNS process as this process sends redo info to the standby database and on the standby database the RFS process receives the redo information.
    So on the primary database when you query the v$managed_standby, it shows up LNS and on the standby database when you query the v$managed_standby it shows up RFS. Please let us know where you are running the query.
    Refer this http://datadisk.co.uk/html_docs/oracle_dg/architecture.htm
    969752     
    Handle:     969752
    Status Level:     Newbie
    Registered:     Nov 6, 2012
    Total Posts:     9
    Total Questions:     2 (2 unresolved)
    Name     Hemendra Singh
    Location     NoidaPlease consider closing your questions by providing appropriate points and marking it as answered. Please keep the forum clean !

  • Error while connecting to oracle 10g data base

    Following is the code we used to connect to oracle 10g data base using symbian 7.1 series 80 SDK
    int CTest_S80AppUi::SetupODBC(void)
    RETCODE rc;
    char *DataSource = OD_DATA_SOURCE;
    char UserId = "system", Password = "manager";
    rc=SQLAllocEnv(&Henv);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocEnv", FALSE) < 0) return(-1);
    rc=SQLAllocConnect(Henv, &Hdbc);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocConnect", FALSE) < 0)
         //return(-1);
    rc = SQLConnect(Hdbc, (unsigned char *)DataSource, SQL_NTS,
              (unsigned char *)UserId, SQL_NTS,
              (unsigned char *)Password, SQL_NTS);
    bConnected = TRUE;
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLConnect", FALSE) < 0) return(-1);
    SQLAllocStmt(Hdbc, &Hstmt);
    //if (TEST_CHECK_ERR(SQL_NULL_HSTMT, rc, "SQLAllocStmt", FALSE) < 0) return(-1);
    return (1);
    } /* SetupODBC */
    iam getting the return code for SQLConnect as -1.
    Thanks in advance.

    Thanks for the reply.
    //syntax means comments.
    chk the following code.
    int SetupODBC(void)
    char *DataSource = "polite";
    char UserId = "system", Password = "manager";
    if ( SQLAllocEnv(&Henv) < 0 )
    return -1;
    if ( SQLAllocConnect(Henv, &Hdbc) < 0 )
    return -1;
    if ( SQLConnect(Hdbc, (unsigned char *)DataSource, SQL_NTS,
    (unsigned char *)UserId, SQL_NTS,
    (unsigned char *)Password, SQL_NTS) < 0 )
    return -1;
    if (SQLAllocStmt(Hdbc, &Hstmt) < 0 )
    return -1;
    return (0);
    As said earlier there is a problem in SQLConnect. It is returning -1.
    But the code should return 0 if successfully connected.
    The info regarding the arguments used in the above methods:
    HENV Henv; /* Handle to ODBC Environment object */
    HDBC Hdbc; /* Handle to ODBC Connection object */
    HSTMT Hstmt; /* Handle to ODBC Statement object */

  • Oracle 10g - Date format in SELECT query for CFOUTPUT

    Hello, everyone.
    The project that I am working on in the dev environment is connected to an Oracle 11g database, but the production side is Oracle 10g.
    I have a page that is erroring in production (but not development) when it gets to a date that it needs to display.
    A co-worker mentioned that, in 10g, if a date/time is being SELECTed, you have to put it in to_char(), so I did that.
    But it's still erroring, and I'm not getting an error message, so I'm assuming that I have an incorrect format for the date in the SELECT.
    What is the proper format for SELECTing a date/time when using to_char()?  Right now, I have SELECT to_char(create_date,'MM-DD-YYYY HH:MI') FROM tableA .  Is this not correct for CF to output?
    Thank you,
    ^_^

    Please see my original post ("I have a page erroring in production (but not in development) when it gets to a date that it needs to display.")  Sorry if it came across as vague.  It made sense, to me, when I typed it.  But, then, I'm usually typing fast just to get the question out there, when I'm in a hurry.
    Haven't done a CFDUMP, yet, as every time I make a change in development that needs to be tested in production, I have to notify my supervisor that there are files that need to be copied into production, which can sometimes take a while, so I try to do troubleshooting on dev side - it's a pain in the you-know-what, but that's the kind of environment I'm working in.
    As it turns out, changing the format in the SELECT to_char() did the trick.  If anyone else has this issue with Oracle 10g, I'm now using SELECT to_char(create_date,'YYYY/MM/DD HH:MI') FROM tableA, and now the CFOUTPUT is processing the whole page.  I guess the MM-DD-YYYY threw CF into a tizzy, breaking the process?
    Anyhoo, it's working, now.  Thank you, Dan and Adam, for your thoughts on this.
    ^_^

  • How to export oracle 10g data into parts (in excel or csv or txt)

    is there any methods to export the data from oracle 10g in the form of excel or csc or txt. i already downloaded the sql developer tool but it only exports the data of upto one lakh rows ,but i have two tables of more than 3 lakh and 10 lakh rows respectively.for this i used where command to break the file through sql developer but that didnt work
    plz help me out if any thing possible
    i need to again import this data into microsoft sql if there is any direct method plz let me know

    I wrote my own pl/sql tool to make csv upload/download tool, but the learning process is a bit painful and long, especially for beginner like me (end up using dynamic sql package because we pass in table name as parameter).
    For your purpose, maybe the best way is to download a plug-in for Excel that can connect to your Oracle DB. There are many such products so you need to google around. For me, no need right now.
    Another option is to use a commercial tool like Toad, or other products from same company.

  • Oracle 10g Data Dump---Import to different users

    Hi everybody,
    I exported data in oracle 10g using expdp in user schema(abc1).
    Now i want to import that data in different user schema (abc2) and another user schema (abc3). Both schemas (abc2 and abc3) are in same tablespace.
    How to do this. Shall i need to export that data in SYSTEM mode to import for different users..?
    Thanks in advance
    Pal

    Shall i need to export that data in SYSTEM mode to import for different users..?No need. You can use REMAP_SCHEMA option on import, e.g.
    impdp system/<password> directory=<directory> dumpfile=<dumpfile> remap_schema=abc1:abc2
    See http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#sthref339

  • SQL SSRS 2008 DateTime Calendar Control and Oracle 10g Data Source

    Hello. I am creating reports in SSRS 2008 using the calendar control for a date range. Let's say we select a start date of 3/3/2012. This parameter is sent into my SQL statement in the WHERE clause which is executed against an Oracle 10g database. All syntax has to be in SQL that Oracle understands, so no CONVERT or CAST.
    The format of the date is throwing an error "ORA-01843: not a valid month" when I try to use the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_DATE('3/03/2012', 'MM/DD/YYYY')
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    I cannot find a way to format the date parameter in SQL Server SSRS before it gets to the SQL to be executed in Oracle.
    Please help.
    Thanks,
    Sunny

    920616 wrote:
    sb92075: I am showing you how Oracle renders the date if I do a simple select from the table from which I am trying to pull data. You are right, it sure doesn't prove anything other than how the date looks right out of the Oracle database, but hopefully, it will give a clue as to how I need my SSRS date parameter to work.
    Hans Forbrich:
    I get ORA-01722: invalid number when I try the following:
    SELECT *
    FROM TABLE
    WHERE STARTDATE >= TO_CHAR('3/03/2012', 'MM/DD/YYYY')
    Solomon:
    It works. The problem is getting the parameter '3/3/2012' into a usable format for Oracle.
    Let's assume an application is sending in '3/3/2012' which will be used in an Oracle query (no PL/SQL allowed, nor can I create functions, stored procedures, etc - only straight up SQL). How can I prepare the parameter to successfully do the compare on the Oracle Date field?
    12:50:23 SQL> select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual;
    select TO_CHAR('03/03/2012', 'MM/DD/YYYY') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    12:51:00 SQL> ed
    Wrote file afiedt.buf
      1* select TO_DATE('03/03/2012', 'MM/DD/YYYY') from dual
    12:51:20 SQL> /
    TO_DATE('03/03/2012
    2012-03-03 00:00:00

  • Migrating from Sybase 11 to Oracle 10G : Data not Captured

    Hi,
    We are working on an interesting customer engagement - one part of the effort is to migrate our Customer's Database. Our Customer is using the Sysbase 11 Database - we are planning to migrate this to Oracle 10G.
    We are using the latest Migration Workbench - 10.1.0.4.0. We created a new user in one of our local DB Instances & used this credential to login to the Migration Workbench tool. We have the Source Files for the Sysbase 11Database.
    We tried to capture the Source Model - unfortunately, the Tool claims that the Objects have been migrated, while the Source is not captured at all. The Error Log is alos silent about any problems.
    We are flummoxed by this error as we have successfuly migrated from Sysbase in the past, but never encountered this error.
    Can you guuys please help us out with this ?
    Please do let me know if I need to post more information
    Thanks,
    Sandeep

    Sandeep,
    Have you used this user which holds the omwb repository before for a migration? When you connected the first itme, did you get a message, that the repository tables did not exist and would you like to create them?
    Are you using the connected or disconnected source model load?
    Donal

  • Oracle 10g Data Guard

    Hello to all.
    I am looking forward to implement Logical standby database for one of my clients. I want to know about licensing implications for the same. Does creation of logical standby database in Oracle 10g require a License?? If if it does then what kind of license is required????
    Current setup :
    RHEL 5.5 64 bit
    Oracle Database 10.2.0.4 (Production Server)
    Oracle Database 10.2.0.4 (Physical Standby Server)
    We are having Enterprise Edition licenses for both.

    Start by posting in the relevant forum: {forum:id=849}

  • I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g dat

    I want to use Golden Gate to connect MS SQL Server 2005 with Oracle 10g database. So, i have installed both databases on different pc's on windows platform. MS SQL Server 2005 on windows XP and Oracle 10g on windows 2003.
    I have configure Golden Gate step by step by following oracle guideline:
    http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html
    When i run following command on target (oracle 10g):
    replicat paramfile dirprm/inload.prm
    I encounterd following error:
    2012-05-21 20:27:06 ERROR OGG-00014 Unrecognized parameter: USERID. Paramete
    r could be misspelled or unsupported.
    2012-05-21 20:27:06 ERROR OGG-01668 PROCESS ABENDING.
    My INLOAD FILE Content are:
    SPECIALRUN
    END RUNTIME
    USERID gg_user, PASSWORD welcome1
    EXTFILE D:\oracle\gg\dirdat\ex
    SOURCEDEFS D:\oracle\gg\dirdef\emp.def
    MAP hrschema.emp, TARGET gg_user.emp;
    Can you plz suggest me that where i am wrong?
    Thanks advance to all experts.

    amardeep.sidhu wrote:
    That should work, just in case try adding DBLOGIN before USERID
    DBLOGIN USERID x..No needed in the param file i think.its not needed at all you are right, but what else could it be? Besides any special unseen character :P

  • Oracle 10g - Data Pump: Export / Import of Sequences ?

    Hello,
    I'm new to this forum and also to Oracle (Version 10g). Since I could not find an answer to my question, I open this post in hoping to get some help from the experienced users.
    My question concerns the Data Pump Utility and what happens to sequences which were defined in the source database:
    I have exported a schema with the following command:
    "expdp <user>/<pass> DIRECTORY=DATA_PUMP_DIR DUMPFILE=dumpfile.dmp LOGFILE=logfile.log"
    This worked fine and also the import seemed to work fine with the command:
    "impdp <user>/<pass> DIRECTORY=DATA_PUMP_DIR DUMPFILE=dumpfile.dmp"
    It loaded the exported objects directly into the schema of the target database.
    BUT:
    Something has happened to my sequences. :-(
    When I want to use them, all sequences start again with value "1". Since I have already included data with higher values in my tables, I get into trouble with the PK of these tables because I used sequences sometimes as primary key.
    My question go in direction to:
    1. Did I something wrong with Data Pump Utility?
    2. How is the correct way to export and import sequences that they keep their actual values?
    3. When the behaviour described here is correct, how can I correct the values that start again from the last value that was used in the source database?
    Thanks a lot in advance for any help concerning this topic!
    Best regards
    FireFighter
    P.S.
    It might be that my english sounds not perfect since it is not my native language. Sorry for that! ;-)
    But I hope that someone can understand nevertheless. ;-)

    My question go in direction to:
    1. Did I something wrong with Data Pump Utility?I do not think so. But may be with the existing schema :-(
    2. How is the correct way to export and import
    sequences that they keep their actual values?If the Sequences exist in the target before the import, oracle does not drop and recreate it. So you need to ensure that the sequences do not already exist in the target or the existing ones are dropped before the import.
    3. When the behaviour described here is correct, how
    can I correct the values that start again from the
    last value that was used in the source database?You can either refresh with the import after the above correction or drop and manually recreate the sequences to START WITH the NEXT VALUE of the source sequences.
    The easier way is to generate a script from the source if you know how to do it

  • Oracle 11g Data Gaurd problem

    I am currently in a Dev environment, working on a 11g Data Guard configuration, having Primary and Standby in 2 different nodes.
    Both the nodes had their parameter files configured with the specific DG parameters, which are as below -
    Primary init.ora
    *.db_domain=''
    *.db_name='o11_prim'
    *.db_unique_name='o11_prim'
    *.instance_name='o11_prim'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
    *.FAL_Client=o11_stby
    *.FAL_Server=o11_prim
    *.job_queue_processes
    *.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
    *.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_prim'
    *.Log_archive_dest_2='Service=o11_stby lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_stby'
    *.Log_archive_dest_state_1=ENABLE
    *.Log_archive_dest_state_2=ENABLE
    *.log_archive_format=%t_%s_%r.arc
    *.log_archive_max_processes0
    *.service_names='o11_prim.xyz.com'
    *.Standby_File_Management='AUTO'
    *.statistics_level='TYPICAL'
    *.timed_statistics=TRUE
    Standby init.ora
    *.db_domain=''
    *.db_name='o11_prim'
    *.db_unique_name='o11_stby'
    *.instance_name='o11_prim'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=o11_primXDB)'
    *.FAL_Client=o11_stby
    *.FAL_Server=o11_prim
    *.job_queue_processes
    *.Log_archive_config='DG_CONFIG=(o11_prim,o11_stby )'
    *.Log_archive_dest_1='Location=/u01/app/oracle/pro duct/11.1.0/db_1/dbs/arch/ VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=o11_stby'
    *.Log_archive_dest_2='Service=o11_prim lgwr async AFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=o11_prim'
    *.Log_archive_dest_state_1=ENABLE
    *.Log_archive_dest_state_2=ENABLE
    *.log_archive_format=%t_%s_%r.arc
    *.log_archive_max_processes0
    *.service_names='o11_stby.xyz.com'
    *.Standby_File_Management='AUTO'
    *.statistics_level='TYPICAL'
    *.timed_statistics=TRUE
    Initially, the Archive logs were getting transferred to the Standby via Automatic Managed Recovery Process. Command given below.
    # This command is being run on Standby for starting Automatic Managed
    # Recovery Process
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    Then we used to tail the Alert logs of both Primary and Standby, and the logs got transferred at the physical location of the Archive logs in Standby db.
    Then one day due to some problem with the pfile, I shutdown the Standby db with the Primary up and running as usual using the following command-
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL IMMEDIATE;
    The Result was as expected - Primary Archive logs got accumulated and the same couldn't be transferred to Standby as the Standby was down.
    I had to manually recover the Standby by copying the extra Archive log files from Primary to Standby and then running the Recovery Process manually, using the below command -
    SQL> RECOVER AUTOMATIC STANDBY DATABASE
    Then when I restarted the Automatic Recovery process on Standby, I received the error as below -
    ORA-16009 - Remote archive log destination must be a STANDBY database
    This error keeps appearing on the alert log of both primary and physical standby that i configured.
    I have no clue as to where it went wrong.
    Kindly help!

    Hi,
    Here is my tnsnames.ora entries.
    o11_prim =
    (DESCRIPTION =
    (FAILOVER = ON)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = o11_prim.cts.com)
    LISTENER_PRIM =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
    o11_stby =
    (DESCRIPTION =
    (FAILOVER = ON)
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.30)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.35.20)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = o11_prim.cts.com)
    The service name for standby is o11_prim.cts.com and db_unique_name is o11_stby.

  • About Oracle 10g Data export/import

    I have two DBs, let's call them AProd, BAcpt.
    all tables/procedures/sequences etc. are defined same, only schema names are different, and the role names are different (e.g. In AProd, role 1 named as AProd_ROLE1, but corresponding role in BAcpt is named as BAcpt_ROLE1).
    In order to use Aprod data to refresh BAcpt, in OEM, I established a DB link from BAcpt to Aprod and planned to use "Import from Database" option.
    Option 1: By selecting "Schema" -> "Data Only", Import content type =" Import all objects", I am able to refresh BAcpt's tables with AProd's data, however, I can't refresh Sequences, especially the last_number of the sequences.
    Option 2: By selecting " Schema" -> "All", Import content type =" Import all objects", I am afraid this will overrite all the roles/privs of BAcpt, and I have to run scripts to recreate BAcpt's roles, and grant those roles to users again...
    Is there any better solution for this request?
    Thanks,

    Thank you first.
    I did drop and recreate on target DB using source DB's sequences. Extending the original question a bit, if the sequence doesn't exist on target, I guess Option 1 won't bring over the new sequence/procedures from source DB either, correct?
    Also for Option 1, It seems the Index also be updated........... Any document I can refer for details? I thought after import data, I need to "rebuild Index online" ... will it still be true ?
    Thank you for any answers:-)

  • Oracle Active Data Gaurd Setup

    Hi ,
    Can anyshare share the setup of oracle active datagaurd setup on 11g.
    Thanks and Regards,
    Hussain

    http://www.google.com/search?btnG=1&q=Active+dataguard+setup
    Next time, please do this prior to posting.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation

  • I want to connect oracle 10g developer run time forms to oractle data base

    Hey,
    Would any body want to tell me, how come i can connect oracle dev 10g from its forms with oracle 10g data bases
    I am waiting
    bye

    Try asking this on the Oracle Forms forum:
    http://forums.oracle.com/forums/category.jspa?categoryID=19
    In any case you need to set-up a sqlnet connection from your client to your server. Use the Network Configuration Utility that comes with the Oracle Forms installation.

Maybe you are looking for