Couldn't make tablespace replication

As this is a replication forum, my issue could be resolved here
Couldn't make tablespace replication

Are you configuring the Downstream Capture?
SQL> CONNECT strmadmin/s@db2
Connected.
SQL> SQL> DECLARE
2 t_names DBMS_STREAMS_TABLESPACE_ADM.TABLESPACE_SET;
3 BEGIN
4 -- Tablespace names
5 t_names(1) := 'TBS1';
6 t_names(2) := 'TBS2';
7 DBMS_STREAMS_ADM.MAINTAIN_TTS(
8 tablespace_names => t_names,
9
13 source_directory_object => 'TBS_DIR',
14 destination_directory_object => 'STRMDIR',
15 source_database => 'db1',
16 destination_database => 'db2',
17 perform_actions => true,
18 bi_directional => true,
19 include_ddl => true);
20 END;
21 /

Similar Messages

  • Tablespace Replication Problem - high disk I/O

    Hi.
    I'm doing some R&D on Oracle Streams. Have setup Tablespace replication between 2 10g R2 instances. data seems to replicate between the 2. These 2 instances have no applications running off of them apart from OEM and queries I run using SQL Developer and SQL*PLUS.
    The problem i'm seeing is that since setting up and switching on this replication config disk I/O is high.I'm using windows Performance Monitor to look at
    - % Disk time = 100%
    - Avg Disk Writes/sec = 20
    - Avg Disk Reads/sec = 30
    - CPU % = 1
    - % Commited Mem = 40%
    To me this just looks/sounds wrong.
    This has been like this for about 24hrs.
    OEM ADDM report says "Investigate the cause for high "Streams capture: waiting for archive log" waits. Refer to Oracle's "Database Reference" for the description of this wait event. Use given SQL for further investigation." I haven't found any reference to this anywhere.
    Anybody got any ideas on how to track this one down? Where in my db's can I look for more info?
    Platform details:
    (P4, 1GB RAM, IDE disk) x 2
    Windows Server 2003 x64 SP1
    Oracle 10.2.0.1 Enterprise x64
    Script used to setup replication:
    set echo on;
    connect streamadmin/xxxx;
    BEGIN
      DBMS_STREAMS_ADM.SET_UP_QUEUE(
        queue_table => '"STM_QT"',
        queue_name  => '"STM_Q"',
        queue_user  => '"STREAMADMIN"');
    END;
    --connect streamadmin/xxxx@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oratest2.xxxx.co.uk)(PORT=1521)))(CONNECT_DATA=(SID=oratest2.xxxx.co.uk)(server=DEDICATED)));
    connect streamadmin/xxxx@oratest2;
    BEGIN
      DBMS_STREAMS_ADM.SET_UP_QUEUE(
        queue_table => '"STM_QT"',
        queue_name  => '"STM_Q"',
        queue_user  => '"STREAMADMIN"');
    END;
    connect streamadmin/xxxx;
    create or replace directory "EMSTRMTBLESPCEDIR_0" AS 'D:\ORACLE\DATA\ORATEST1';
    DECLARE 
        t_names DBMS_STREAMS_TABLESPACE_ADM.TABLESPACE_SET;
    BEGIN   
    t_names(1) := '"ADFERO_TS"';
    DBMS_STREAMS_ADM.MAINTAIN_TABLESPACES(
       tablespace_names             => t_names,
       source_directory_object       => '"DPUMP_DIR"',
       destination_directory_object  => '"DPUMP_DIR"',
       destination_database          => 'ORATEST2.xxxx.CO.UK' ,
       setup_streams                 => true,
       script_name                    => 'Strm_100407_1172767271909.sql',
       script_directory_object        => '"DPUMP_DIR"',
       dump_file_name                 => 'Strm_100407_1172767271909.dmp',
       capture_name                  => '"STM_CAP"',
       propagation_name              => '"STM_PROP"',
       apply_name                    => '"STM_APLY"',
       source_queue_name             => '"STREAMADMIN"."STM_Q"',
       destination_queue_name        => '"STREAMADMIN"."STM_Q"',
       log_file                      => 'Strm_100407_1172767271909.log',
       bi_directional                => true);
    END;
    /

    ok dont know why this didn't work before but here are the results.
    select segment_name, bytes from dba_segments where owner='SYSTEM' and segment_name like 'LOGMNR%' ORDER BY bytes desc
    SEGMENT_NAME                                                                      BYTES                 
    LOGMNR_RESTART_CKPT$                                                              14680064              
    LOGMNR_OBJ$                                                                       5242880               
    LOGMNR_COL$                                                                       4194304               
    LOGMNR_I2COL$                                                                     3145728               
    LOGMNR_I1OBJ$                                                                     2097152               
    LOGMNR_I1COL$                                                                     2097152               
    LOGMNR_RESTART_CKPT$_PK                                                           2097152               
    LOGMNR_ATTRIBUTE$                                                                 655360                
    LOGMNRC_GTCS                                                                      262144                
    LOGMNR_I1CCOL$                                                                    262144                
    LOGMNR_CCOL$                                                                      262144                
    LOGMNR_CDEF$                                                                      262144  
    LOGMNR_USER$                                                                      65536  
    160 rows selected
    select segment_name, bytes from dba_extents where segment_name=upper( 'logmnr_restart_ckpt$' );
    SEGMENT_NAME                                                                      BYTES                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              65536                 
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    LOGMNR_RESTART_CKPT$                                                              1048576               
    29 rows selectedMessage was edited by:
    JA
    Message was edited by:
    JA

  • Purchase can be made from the app store yet I couldn't make any purchase from the game app (candy crush) directly, please kindly your help for further direction

    Purchase can be made from the app store yet I couldn't make any purchase from the game app (candy crush) directly, please kindly your help for further direction

    Can I add my existing, licensed apps to my list of 'Purchases' on the Mac App Store so I don't have to buy them twice?
    No. Only apps purchased from the App Store can be re downloaded for free including updates.

  • HT1766 if I don't have enough space on my regular disk "C" so I couldn't make backup- can I in some way backup it on disk "D"?

    Hello dear support team.
    I have a question.
    I want to make a backup of my iPad but it has so much storage used so  I don't have enough space on my regular disk "C" so I couldn't make backup- can I in some way backup it on disk "D"? Or I was thinking if it is possible to change the path or to backup it on my PC( another computer in my room).

    This is an iPad user to user forum. Apple doesn't read or respond.
    Windows - Change iPad default backup location
    http://apple-ipad-tablet-help.blogspot.com/2010/07/change-ipad-default-backup-lo cation.html
    Windows - Changing IPhone and iPad backup location
    http://goodstuff2share.wordpress.com/2011/05/22/changing-iphone-and-ipad-backup- location/
     Cheers, Tom

  • Unable to Make tablespace Read Only in 10g

    Hi All,
    I am using Oracle database 10g R2 (10.2.0.3) on AIX 5.3 platform. Our database is using ASM based storage.
    I am trying to make a tablespace read only but its not returning the command once I execute that.
    I have checked the sessions status and confirmed that no user is writing/reading the tablespace. The tablespace is having 150GB size and having only one table in it.
    I had given following command using sys user.
    alter tablespace SMS_DATA read only;
    However this command was kept running for three hours before I kill that. I have tried to take another tablespace off-line and have face same situation.
    Can any one tell me why this simple task is unable to complete.
    PS: My database is working fine and user are running queries and getting results in desired time.
    Regards
    Farooq

    Hi,
    I have diagnosed the problem by running v$transaction commands and found that one transaction is running since morning.
    FKHALID>SELECT SES_ADDR, START_SCNB,START_TIME FROM V$TRANSACTION ORDER BY START_SCNB;
    SES_ADDR START_SCNB START_TIME
    07000004C63E69E0 515936552 09/01/09 08:41:16
    07000004C937FB20 590533316 09/01/09 20:16:02
    07000004C639E360 590777564 09/01/09 20:20:42
    07000004C5346740 590860241 09/01/09 20:22:41
    07000004D23B86E8 590863096 09/01/09 20:22:46
    FKHALID@PAKEDWP>SELECT SQL_TEXT, SADDR FROM V$SQLAREA,V$SESSION WHERE V$SQLAREA.ADDRESS = V$SESSION.SQL_ADDRESS AND SQL_TEXT LIKE 'alter tablespace%';
    SQL_TEXT SADDR
    alter tablespace SMS_DATA read only 07000004C937FB20
    this shows that sess_addr (07000004C63E69E0) is creating the problem as my command is waiting for completion of this command.
    Now I have joined the view with v$session and have found the sid.
    SELECT a.sid,a.serial#, a.username, b.xidusn, b.used_urec, b.used_ublk ,b.ses_addr FROM v$session a, v$transaction b WHERE a.saddr = b.ses_addr;
    After killing that process, I was able to change the status of tablespace successfully.
    Thanks for your prompt response.
    Regards
    Farooq
    Edited by: Fkhalid on Sep 1, 2009 7:34 PM
    Edited by: Fkhalid on Sep 1, 2009 7:44 PM

  • To make tablespace read only

    if i want to make a tablespace read only. should there be no active transaction on that tablespace or datebase.
    null

    Hi,
    I have diagnosed the problem by running v$transaction commands and found that one transaction is running since morning.
    FKHALID>SELECT SES_ADDR, START_SCNB,START_TIME FROM V$TRANSACTION ORDER BY START_SCNB;
    SES_ADDR START_SCNB START_TIME
    07000004C63E69E0 515936552 09/01/09 08:41:16
    07000004C937FB20 590533316 09/01/09 20:16:02
    07000004C639E360 590777564 09/01/09 20:20:42
    07000004C5346740 590860241 09/01/09 20:22:41
    07000004D23B86E8 590863096 09/01/09 20:22:46
    FKHALID@PAKEDWP>SELECT SQL_TEXT, SADDR FROM V$SQLAREA,V$SESSION WHERE V$SQLAREA.ADDRESS = V$SESSION.SQL_ADDRESS AND SQL_TEXT LIKE 'alter tablespace%';
    SQL_TEXT SADDR
    alter tablespace SMS_DATA read only 07000004C937FB20
    this shows that sess_addr (07000004C63E69E0) is creating the problem as my command is waiting for completion of this command.
    Now I have joined the view with v$session and have found the sid.
    SELECT a.sid,a.serial#, a.username, b.xidusn, b.used_urec, b.used_ublk ,b.ses_addr FROM v$session a, v$transaction b WHERE a.saddr = b.ses_addr;
    After killing that process, I was able to change the status of tablespace successfully.
    Thanks for your prompt response.
    Regards
    Farooq
    Edited by: Fkhalid on Sep 1, 2009 7:34 PM
    Edited by: Fkhalid on Sep 1, 2009 7:44 PM

  • Bug? (unable to make fast replication btw ora 7 and 8)

    hi
    I can't make a FAST replication btw. oracle 73401 and ora 805.
    complete and force work.
    I create snapshot as select * from table1 with rowid, primary key. Before this I create snapshot log on ora 7.
    Any ideas?

    DEar Schello,
    Thank You for response.
    It looks like nobody workes with replication here... :(
    Yes I know that Rowid changed. that's why they extend synt. create snpashot log.
    I did create with rowid only.
    It doesn't help.
    Only complete replication works. I'm intereeted in "fast" actually :)
    If I try to set "fast" option in snpashot and then make refresh - oracle return error that he can't use snapshot log. ( I don't remember taht is the code of error). So It seems oracle 7 problems.
    But, maybe this problem oracle 805?
    Maybe I need 806 oracle?
    Where can I get list of bug fixes and were I can report about such kind of problem , about bug?
    Thank You.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Schello:
    Dunno what you mean exactly by saying "rowid, primary key".
    In Oracle7, fast refresh only works when using rowid. So try to use rowid ONLY.
    Problem is, Oracle8 uses a different ROWID.
    Maybe that's why You have problems...<HR></BLOCKQUOTE>
    null

  • Make A Replication From My 9i Server , Plz Help

    Greetings For All,
    I'm Using Forms6i With Oracle9i Database .
    I Want To Distribute My 6i Application On A Domain . My Database Is Stored On A Win2000 Server Machine.
    I Want To :-
    1- Take An Image From My Database Server With All The Options, Settings And Objects ( Tables ) , To Be Able To Make Any Development And Maintenance On My Application After I Hand It To My Client .
    2- I Want To Replicate Any Changes Applied To The Database During The Day To Another Machine To Be Able To Replace Main database Server Whenever Its Failed .
    I'm Looking For Your Help, Plz .
    Respectfully,
    < The One >

    Any Help, Plz !!

  • Just bought a credit but couldn't make a call out

    Hi 
    I have just bougth a credit on 31July, but when i tried to make a call to Thailand it says i have got not enough credit,but my subscription still shows that i have got 323 left.
    what should I do?
    Bam

    Hi Pam,
    Please make sure you have the right country code when calling. It seems today some of the numbers you called still had UK country code
    Your call history: https://secure.skype.com/account/call-history
    Make sure country flag is correct or you can dial with + sign which is followed by country code and then the number itself.
    https://support.skype.com/en-us/faq/FA20/How-do-I-call-phones-and-mobiles
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • I couldn't make purchase through my Apple ID

    I wanted to purchase some credit in my 'ChatTime' app, but it ask me to contact the iTunes support to make the purchase.

    http://www.apple.com/support/contact/

  • Couldn't make a payment with firefox, could with safari

    Tried twice to make an online payment with Firefox/google. Didn't go. Then was successful using Safari.
    Why?

    Please check your SSL and Proxy settings.
    To check SSl settings-
    In the Location bar, type about:config and press Enter.
    The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise! to continue to the about:config page.
    Type security.enable in the Search field.
    If both security.enable_ssl3 and security.enable_tls are set to true, skip to the next section.
    If both security.enable_ssl3 and security.enable_tls are set to false, double-click each of them to set it to true.
    To check proxy settings-
    Click the menu button New Fx Menu and choose Options
    Select the Advanced panel.
    Click the Network tab.
    Click Settings….
    If Manual proxy configuration is selected, you are using a manually configured proxy server. Verify that all protocols listed in the dialog box are pointing to the address of your proxy server. Contact your network administrator if you don't know this address.
    If Manual proxy configuration is not selected, this section does not apply. You can skip to the next section.
    Make any changes, and click OK to close the Connection Settings window.
    Click OK to close the Options window .
    Either of them likely to solve the problem.If not,try configuring the firewall

  • Couldn't make a purchase

    Can't make a purchase

    You will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Acrobat 9.0 makes incorrent replication

    Hi all!
    Trying to duplicate value of the form #1 to the form #2
    I'm using this script for the form #2 (tab "custom calculation" in properties):
         var a1 = this.getField("form1");
         event.value = a1.value;
    This goes well, but if I want to input a huge number like 40802810011180020007665, then in form #2 I'll see 4.080281001118002e+22.
    I guess it's because of the numeric type of form value.
    Q: How do I need to change the type of my form #2 from "INTEGER" to "STRING"?
    Any kind of help would be greatly appreciated!

    Thanks for answer
    Where exactly can I change it?
    BTW, I see this trick: change the script tihs way:
         event.value = a1.valueAsString;
    instead of:
         event.value = a1.value;
    I guess it's more complicated way and can't test it in Adobe Reader to be sure

  • I recently paid my prepaid bill, but all of a sudden it told me i couldn't make calls or send texts?

    I'm not about to pay that again, I need assistance.

        Hi Franny1992 - We certainly want you to get the most out of your service at all times! It would be best to reach out to our Prepaid support team at 888-294-6804 for assistance with the account.
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • I couldn't make any purchase

    Every time I buy something it always say that there is an account problem it says your account information has changed. Please review your account and email address and approve them for use in the iTunes Store.

    You will need to contact iTunes Support / Apple to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

Maybe you are looking for

  • EFT Addon Bank Reference Detail for Australia

    In BP Card in Payment System tab there is a field Reference Details (OCRD.RefDetails), if you read the help file it states that this field will be used instead of the 'Refer to Remittance Advice' that appears in the Australian Bank Payment Addon tool

  • Role problems

    Our organization is beginning to implement roles and I was doing some testing. I added a role with following attributes in our SunONE 5.2 patch 2 directory: dn: cn=role1,ou=roles,o=calgary regional health authority objectclass: top objectclass: LDAPS

  • User Properties

    Is there a way to change user properties assigned to nodes during runtime. For example, I have a user property 'Tooltip' assigned to few nodes and I display it using a UI element. I want to change this property based on selection of the options. Is t

  • Recent update and changes to e63

    can anyone help me? i have just updated my e63 and after restoring the backup and also having to reset the phone(failed to start message came up,sorted now),i have noticed that the shortcuts to the apps and games i have installed not visible in the m

  • Doubt about OIM

    Hi all, I've integrated OIM with Oracle LDAP by OID connector,and created user accounts through OIM,then provisioned these user accounts to LDAP.Now,I want to know,when i retrieve users on OIM admin console,can OIM make use of LDAP to achieve query?W