Create standby from another standby!

Dear All,
My database is 10gR2 and OS is Red Hat Enterprise Linux 4.
I have an existing setup of primary database and standby database that is working fine.
I want to add another standby database but i can only make changes to the existing stand by database, not want to disturb or restart primary database. I want to say i want to create a standby database for another standby database that is not in an open mode.
I have tried my best to search the scenario on net but couldn't find any help. Please refer an article or document which can help me.
Regards, Imran

Handle:     misterimran
Email:     misterimran
Status Level:     Newbie
Registered:     Jan 15, 2002
Total Posts:     1,121
Total Questions:      137 (119 unresolved)
How much time will take to mark your questions as "ANSWERED"?

Similar Messages

  • Physical Standby from Logical Standby

    Is it possible this scenario?
    Create a physical standby from logical standby and the physical receive archive from logical.
    I mean,
    Primary (10g production) -> Logical (11gr2 new server 1) -> (Physical 11gr2 new server 2)
    The goal of this scenario is a migration with a short downtime.
    O.S. aix 6.1
    11.2.0.2

    Is it possible this scenario?YES

  • Problem with creating site from another computer!

    Hi
    I have WebDB 2.2 and Oracle8i instaled on the same computer. I have a problem to create site from another computer. There is not any process when I try to create site. There is always 0%.
    But I have no problem with creating site on the origin computer.
    Does anybody know something about it?

    I am just not clear what to do once I have made changes and have published the new information.
    You shouldn't have to do anything. iWeb will save the information in the Domain.sites file. You can keep this file in a folder, or even on your desktop and iWeb will launch from a double-click on the file.

  • Cascading physical standby from another physical standby for primary rac

    my supplier told me that is possible mount a cascade physical standby from a physical standby for my rac installation.
    but according the note "409013.1" seems not:
    "Cascading a logical or physical standby database from a physical standby database is supported as long as the primary database is not a RAC database and is not part of a Data Guard Broker configuration - the support status of this configuration is unchanged from previous documentation."
    before was possible? do you know why not now?
    has anyone mounted? can I allow my provider to mount?
    oracle version: 10.2.0.2.0

    Is it possible this scenario?YES

  • Standby of another standby??

    Hi!!!
    I have in my mind a structure of standbys, but i don't know if it is possible....
    Do you know if i can create a physical logical standby from a physical standby??
    If i can, the procedure of creation would be the same one that the creation a logical standby?
    thanks for the info!!!!

    Yes, you can have archived redo logs from the first physical standby(let us call it standby1) to new standby(let us call it standby2) after after it receives from primary.
    This is how you do it.
    1.On standby1 create standby redo logs same size as primary.
    Does not have to be same numbe of groups.
    If primary has 6 groups you can create 3 groups on standby1.
    2. in standby1 init.ora file.
    log_archive_dest_2 = 'service=standby2 optional reopen=60 max_failure=10
    Must use arch process.
    standby_archive_dest=local (local archive log destination)
    3. in standby2 init.ora file
    standby_archive_dest=local (your local archive log destination)
    Server=standby1
    client=standby2
    Hope this helps.
    Message was edited by:
    user539835

  • I can't create table from another table?

    Hi everyone!
    I have a problem that I don't known the reason why?
    I'm using Oracle version 8i and I want to create a table from another table, such as:
         CREATE TABLE a_backup as SELECT * FROM a => It's OK, table a_backup is created.
    But there is only a table that I can't created like that, such as:
         CREATE TABLE b_backup AS SELECT * FROM b;
    When I run over command, SQL Plus is not responding... and clients are can't access to DB or Executing forever
    This is the first time I met this problem.
    Can Anyone help me to resolved it?
    Thanks in advance!

    xi`tin wrote:
    Hi everyone!
    I have a problem that I don't known the reason why?
    I'm using Oracle version 8i and I want to create a table from another table, such as:You realize, of course, that 8i is completely out of support .... Is your OS and hardware just as old as your rdbms software, or is it only the rdbms that your company refuses to upgrade?
         CREATE TABLE a_backup as SELECT * FROM a => It's OK, table a_backup is created.
    But there is only a table that I can't created like that, such as:
         CREATE TABLE b_backup AS SELECT * FROM b;
    When I run over command, SQL Plus is not responding... and clients are can't access to DB or Executing forever
    This is the first time I met this problem.
    Can Anyone help me to resolved it?
    Thanks in advance!

  • Create table from another table including constraints

    Hi,
    Is there a way to create a table from another table including constraints.
    CREATE TABLE COPY_EMP
    as
    SELECT *
    FROM EMP
    WHERE 1 =2 ;
    This creates the table, but the constraints are not copied over.
    I was reading about DBMS_REDEFINITION - can that be used for this scenario ?
    Thanks!
    Anand

    >
    I tried that, but the constraint names are posing a problem. And unfortunately our constraints are not named in a standard, so am finding it difficult to replace them.
    Was just wondering if there were any simpler approach to this.
    >
    No - there isn't.
    You will have to use new names for the constraints. That usually means extracting the DDL and manually changing the constraint names.

  • How to create table from another in pl/sql

    Hi I need to create a table from another in pl/sql
    How can I do this

    The proper way to do this, is not to do it in PL/SQL. But do it in SQL, something like:
    create table tbl
    as
    select *
      from other_tbl;Doing it in PL/SQL is really slow compared to SQL.
    Yes, if you really want to create a table using PL/SQL then you will need to use DBMS_SQL or EXECUTE IMMEDIATE (Native Dynamic SQL) to do this.

  • Creating playlist from another playlist

    So, I have all the latest software etc. Can I tell you what ***** about itunes? Remember when making a playlist you could access other playlists and pluck songs to add to your new playlist? You can't do that anymore. WHY?! Itunes Master, please bring this option back!

    I'm assuming you're referring to Music in iOS, not iTunes on Mac, right?  I'm extremely upset that this feature was removed.  I have 25,000 songs, so I use playlists in iOS to sort them a bit.  No longer having the ability to pull from those playlists to create or modify another has just taken me back 5 years.  I have to create and modify everything from my Mac now, as I did long ago.

  • Creating Contract from another contract

    hi
    is it possible to create a contract from another contract as a reference? Can i use the expired contracts again after changing its validty dates?
    thanks
    maniraj

    Hi
    It is possible to create a contract from another contract in MM.
    Please follow the steps
    1) Go to t code ME31K
    2) Initial screen press Copy document button
    3) Give the reference document no and mention the reference items ( from & to)
    4) Press enter
    Now you can see the items copied from the old contract.
    Hoep it helps.
    Thanks /Karthik
    Edited by: Karthik on Aug 13, 2009 9:27 AM

  • Create table from another db

    Basically, I need to create a table from a query that runs against another db on a separate box. Is this possible?
    Thanks

    If you're able to create a database link to the other server you could then use the query(modifying the tables in the from clause to use the dblink) in a create table statement.

  • Question on Creating table from another table and copying the partition str

    Dear All,
    I want to know whether is there any way where we can create a table using another table and have the partitions of the new table to be exactly like the used table.
    Like
    CREATE TABLE TEST AS SELECT * FROM TEMP;
    The table TEMP is having range and hash partitions.
    Is there any way when we use the above command, we get the table partitions of TEMP to be copied to the new table TEST.
    Appreciate your suggestions on this one.
    Thanks,
    Madhu K.

    may this answer your question...
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:595568200346856483
    Ravi Kumar

  • Create cursor from another cursor

    Hello,
    How do I create a cursor from the values of another cursor ?
    For Example,
    cursor c1
    select x, y from table 1;
    cursor c2
    select c1.x, c1.y, table 2.z
    from table 2
    where y := c1.y
    I get errors when I do this way. Can somebody help me out on this.
    Thanks
    Raj

    In this particular example, it's probably easiest to declare a single cursor that contains a join, i.e.
    cursor c1
    SELECT a.x, a.y, b.z
      FROM table1 a,
           table2 b
    WHERE a.y = b.yIf you really want to create the two cursors, though, you have to make sure that the first cursor is visible to the creation statement of the second. For example,
    for c1 in (select x, y from table1)
    loop
      for c2 in (select c1.x, c1.y, b.z from table2 b where b.y = c1.y)
      loop
      end loop;
    end loop;If you need more help, quoting the exact error an providing a snippet of the code you're using would be greatly helpful.
    Justin

  • Create script from another script using PROMPT

    Oracle 11
    Instead of having to link to another database I want to create 2 scripts that are executed from a shell script and run them separately. Script1 run in Database1 would create Script 2 by using PROMPT to create the second script while grabbing a date from database1 to pass into database2. I almost have it but the problem is ... Script2 uses COPY FROM and I have to put a "-" at the end of each line which the PROMPT takes as a literal instead of as part of the output.
    SCRIPT1:
    set pagesize 0
    set trimspool on
    set linesize 2000
    set echo off
    set verify off
    set feedback off
    set sqlblanklines on
    spool /home/michelle/sql_scripts/sl_dtc_copy2.sql
    PROMPT whenever sqlerror exit sql.sqlcode rollback
    PROMPT SET ARRAYSIZE 5000
    PROMPT SET COPYCOMMIT 20
    PROMPT set linesize 4000
    PROMPT
    PROMPT COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    PROMPT CREATE SL_DTC_TMP USING SELECT DISTINCT
    PROMPT col1, col2, col3
    PROMPT FROM dual
    PROMPT WHERE veh_data_elements_cd = 'ODO_READ'
    PROMPT and       dh.data_collected_timstm >= 
    select trunc(sysdate)-7 from dual;
    PROMPT and       substr(vdh.vin,10,1) in ('A','B','C','D')
    PROMPT /
    PROMPT spool off
    PROMPT exit
    spool off
    exitSCRIPT2 NOW:
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2}
    CREATE SL_DTC_TMP USING SELECT DISTINCT
    col1, col2, col3
    FROM dual
    WHERE veh_data_elements_cd = 'ODO_READ'
    and       dh.data_collected_timstm >=
    12-AUG-11
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    spool off
    exitSCRIPT2 HOW IT NEEDS TO BE:
    --- A [SPACE] AND A [-] at the end of each line
    --- THE DATE NEEDS TO HAVE SINGLE QUOTES AND PREFERABLY AT THE END OF THE PREVIOUS LINE
    whenever sqlerror exit sql.sqlcode rollback
    SET ARRAYSIZE 5000
    SET COPYCOMMIT 20
    set linesize 4000
    COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2} -
    CREATE SL_DTC_TMP USING SELECT DISTINCT -
    col1, col2, col3 -
    FROM dual -
    WHERE veh_data_elements_cd = 'ODO_READ' -
    and       dh.data_collected_timstm >= '12-AUG-11' -
    and       substr(vdh.vin,10,1) in ('A','B','C','D')
    spool off
    exitTHANK YOU

    Try
    select 'whenever sqlerror exit sql.sqlcode rollback'                    ||chr(10)||
           'SET ARRAYSIZE 5000'                                             ||chr(10)||
           'SET COPYCOMMIT 20'                                              ||chr(10)||
           'set linesize 4000'                                              ||chr(10)||
           ' '                                                              ||chr(10)||
           'COPY FROM {username}/{pswd}@{DB2}  TO {username}/{pswd}@{DB2} -'||chr(10)||
           'CREATE SL_DTC_TMP USING SELECT DISTINCT -'                      ||chr(10)||
           'col1, col2, col3 -'                                             ||chr(10)||
           'FROM dual -'                                                    ||chr(10)||
           'WHERE veh_data_elements_cd = ''ODO_READ'' -'                    ||chr(10)||
           'and       dh.data_collected_timstm >= ''12-AUG-11'' -'          ||chr(10)||
           'and       substr(vdh.vin,10,1) in (''A'',''B'',''C'',''D'')'
           as Script
    from dual

  • How do I reference a dynamically created MovieClip from another MovieClip?

    Hi,
    I'd be grateful for any pointers to the following problem:
         I'm having trouble referencing dynamically created MovieClips (links in a side panel on a Flash website, created from an XML file) from the current MovieClip (the currently selected link).
         I wish to freeze the the link/MovieClip in its mouseOver state once it has been clicked - this part works. When a new link/MovieClip is clicked on, I wish to release the previously clicked-on link from its mouseOver state, which is what I've so far been unable to do.
         My problem seems to be referencing the previous link/MoveClip. I've used the trace statement trace(MovieClip(this).name) to determine that the MovieClips are named item0, item1, item2 and so on. However, I've been unable thus far to reference the previous clip thus far. I've tried to trace the route to the MovieClip from the stage, and also tried MovieClip(parent).item0.gotoAndStop and lots of other different permutations, but to no avail. It's the fact they seem to be in a container called 'panel' which is defeating me.
         Here's a live version I've uploaded, which might explain the problem better. Click on "UBER UNS" in the top menu bar to get to the page in question. It's the links on the left-hand side (Historie, Unser Team, etc.) which are the problem. You'll see that once they've been clicked on they remain in their mouseOver state.
         This is the code in question on the fla file, which is a file I did not create myself. The parts in black work fine; it's the red parts where the problem lies:
    import flash.display.MovieClip;
    panel.buttonMode = true;
    var lang:uint = 1;
    var url_Link:String=MovieClip(root).program.websiteXML .language[lang].pages.titlePage[MovieClip(root).program.linkPage].texts.pageList.txt[numT XT].@link;
    var urlPage:Number=Number(MovieClip(root).program.webs iteXML.language[lang].pages.titlePage[MovieClip(root).program.linkPage].texts.pageList.tx t[numTXT].@linkPage);
    var request:URLRequest;
    var linkIndex:uint;
    var lastClickedLink:MovieClip;   //This is supposed to store the last link that has been clicked - it doesn't work
    panel.addEventListener(MouseEvent.CLICK, clicLink);
    panel.addEventListener(MouseEvent.ROLL_OVER, mouseOverLink);
    panel.addEventListener(MouseEvent.ROLL_OUT, mouseOutLink);
    function mouseOverLink(event:MouseEvent):void {
          MovieClip(this).gotoAndPlay('s1');
    function mouseOutLink(event:MouseEvent):void {
          if(numTXT !== (linkIndex - 1)/5){         //freezes mouseOver state if this is the link for the current page
               MovieClip(this).gotoAndPlay('s2');
    function clicLink(event:MouseEvent):void {
          var linkpage:uint = MovieClip(root).program.linkPage;
          if (url_Link) {
               request = new URLRequest(url_Link);
               navigateToURL(request);
          } else {
               linkIndex = numTXT * 5 + 1;
               if(linkpage == 1){
                   MovieClip(root).chPages.cont.page_about_mc.page3Tu  rner_mc.gotoAndStop([linkIndex]);
              } else if (linkpage == 2){
                   MovieClip(root).chPages.cont.page3_mc.page3Turner_  mc.gotoAndStop([linkIndex]);
         lastClickedLink.gotoAndPlay('s2');  // this is supposed to release the previous clicked-on link from it's mouseOver state - doesn't work
         lastClickedLink = MovieClip(this).name;    //this is supposed to set the new link as the last link clicked after the old one has been released from it's mouseOver state - doesn't work
    If anyone can help, that would be great.

    What you might be after for that line is to use:
    lastClickedLink = MovieClip(event.currentTarget);
    For what you show, the name property of an object is a String, so I would expect you to be getting an error regarding trying to get a String to act like a MovieClip when you try to tell it to gotoAndPlay('s2').

Maybe you are looking for

  • Displaying bash-3.2$ in terminal [NOT-SOLVED after last upgrade]

    hello, I have this same problem: http://bbs.archlinux.org/viewtopic.php?id=39192 but the "solution" posted there does not help me at all, I wish I could reuse the old thread but the 'SOLVED' keyword in the title may be confusing so I'm starting a new

  • Adobe AIR 2.0.3.13070 Does Not Update

    I am running Adobe AIR 2.0.2.12610 on openSUSE Linux 11.0. I am using it mostly to run TweetDeck. Lately, when I run TweetDeck, after a bit Adobe AIR says there is an update to 2.0.3.13070 available. It tells me I have to close TweetDeck to install i

  • My mac has decided to stop seeing my Nikon D7000

    This happened out of the blue (I have been succesfully connecting it to my laptop via USB for a year). Any help? Using a card reader is not an option as I specifically use the USB for live tethered shooting. I have reformatted the memory cards, updat

  • NLS_LANG not set properly for printing

    Dear all, Am setting up pasta for printing using note : How to Setup Pasta Quickly and Effectively (Doc ID 356501.1) 12.0.4 on solaris 10 a)    Verify the instance’s character set and ensure that the “ICX: Client IANA Encoding” and the “FND: NATIVE C

  • Weblogic Suite - OEM Diagnostics Pack for Fusion Middleware

    Hi All, we are lookng at of migrating the BEA licenses we have with oracle licenses. With Oracle licensing terms, we are told we need to get the Weblogic Suite which includes an OEM - Diagnostic pack for fusion middleware. Has any one used this let k