Query related to replication method supported by ORACLE in 10g...

Hi All,
I have few question related to ORACLE replication methods. I have two database on different machine and I want to copy at schema level from source to target database.
for this I have few queries related to Replication method as stated below:
1- I have two option one is Materailized view and another is Stream.
2- if I go for Materialized view then what it's advantage in compare to Stream?
3- if I go for Stream replication then what it's benefits?
4- For stream replication I have read that its require to set "global_names=true", with out this can we able to setup stream replication?
Please suggest me optimal solution.
Thanks....

Hello,
4- For stream replication I have read that its require to set "global_names=true", with out this can we able to setup stream replication?Anyway, when you manage Distributed Database, it's always recommended to set global_names=true. By that way you enforce that a dblink has same name as the DB it connects to.
Else about Stream the both (Source and Target) databases should be in Archivelog mode.
More over, Stream Replication allow to replicate DDL change (for instance you add a column on a Table), and have much more features than Materalized Views. If you want to share datas among several databases, Stream is an interesting technology.
Materialized view is more suitable on DSS database.
Hope this help.
Best regards,
Jean-Valentin

Similar Messages

  • Details on TAF support in Oracle AS 10g

    Hi experts,
    I'm currently writing a Master's Thesis on High Availability of Applications based on Sun’s JEE platform.
    With Oracle being one of the big players in this market I'm going to investigate the features of the Oracle product stack and compare it with other solutions including opensource.
    At the moment I'm looking for details on TAF-support in Oracle AS 10g. Let’s assume one has installed the latest release of the Oracle 10g database in a RAC configuration on two or more physical nodes to store the applications data. Let’s further assume one has set up the latest release of the Oracle AS 10g on different hosts building an AS farm with clustered OC4J-instances. Now one would like to connect a JEE application running within these OC4J-instances to the RAC database.
    Therefore one can configure an OC4J datasource to use a service definition supporting network failover and transparent application failover (TAF) specified in the tnsnames.ora on the AS hosts or directly describe the service in the data-sources.xml. To my knowledge only datasources configured to use the OCI client can be used with TAF. Everything right so far?
    Now the interesting part. The best what TAF can do is automatically reconnect to the next known database node if it’s current node is not reachable or fails, and continue processing an open cursor for select so that the application can continue to use it’s current connection.
    If the application is running a database transaction it can only be rolled back and rerun after failover.
    In a good old plain Java application one had to implement the OracleOCIFailover interface and register a callback with the db connection in order to receive failover events. Therefore you need to process the query in a different thread.
    In a JEE server only the container should be responsible for creating threads, or? How does the Oracle AS support TAF? How can a user application get notice of a failover and react appropriately. Is the behaviour always the same no matter one decides to implement the data access via simple DAOs or entity beans (CMP/BMP)? I assume it is safe to use a connection pool and container will take care of the necessary cleanup jobs, right? Will the complete connection pool be reconstructed or only connections to the failed node?
    Does the application server internally use these OCI callbacks and wrap them up into special Exceptions? Is there anything an application programmer has to do in order to make his data access code ready for TAF, especially in case of failover while the db is processing transactional code?
    Any insights and/or code snippets would be greatly appreciated!
    Ah, one last question. From a HA perspective is it generally a bad idea to put application logic into the database (use CDM RuleFrame and so on) as there is no support in preserving package states or do you think this makes no difference as one has always to repeat everything since the last commit point no matter in which tier the code resides?
    During the next days I’m going to set up the above environment for testing. A 10.0.2.1 RAC on RHE4 is already up and running fine. AS 10.1.3.0.0 on RHE4 is following today or tomorrow.
    Many thanks for all answers!
    Regards,
    Eric

    Hi,
    well, I thought I could dig into the OC4J documentation before installing the server. After reading the OC4J Service Guide for 10.1.2 and 10.1.3 I'm a little bit confused.
    First I read the 10.1.2 Service Guide and almost everything seemed to be clear. I found a lot of answers to the questions above. I'd like to sum them up. Please correct me if I got something wrong!
    - TAF only works on top of OCI driver
    - TAF can be used with connection pooling
    - OC4J takes care of connection pool cleanup (OC4J and OCI Pool)
    These two pools are mentioned. It's not clear to me how they work together. Do one of you know some source where I can get more information about this?
    - after a failover all connections in the pool are checked by OC4J and only alive ones will survive
    - in case of a failover TAF issues an exception
    - the application has to catch this exception and acknowledge with a rollback, after that the transaction can be restarted (this seems to be the responsibility of the applications code, oc4j will not replay something automatically; If I got it right, CMP entity beans will be an exception to this rule - there OC4J will proceed transparently...)
    - the application can use OCI callbacks to customize the failover behavior (well I would like to see some source code example here, as I can't imagine how this could look like)
    After that I read the 10.1.3 service guide. The section about datasources in conjunction with HA is much shorter. Besides TAF new? mechanism is introduced, namely Fast Connection Failover (FCF). There is not much information about it but references to the JDBC Guide, because FCF is a feature of the implicit JDBC connection cache. Where cache seems to be just another word for pool.
    By the way, the example on p. 4-36 looks wrong at first glance. Enabling FCF and setting:
    <property name="fastConnectionFailoverEnabled" value="false"/> ???
    Seems to be a typo in the docu, or?
    I got the impression, that the text is written as if FCF being TAF's successor, without explicitly saying this. Is this right?
    So I proceeded reading the JDBC Developer Guide to lean more about FCF. Here is what I learned:
    - since 10g available
    - FCF is driver independend (you can also use the thin driver)
    - prerequisites are implicit connection cache (pool) enabled, ONS must be configured
    - in case of a failover the transcation will be rolled back automatically (not by the application); whereas using TAF you have to use a rollback to acknowledge the error
    - only one exception ORA-17008 to catch
    - application has to obtain a new connection from the cache (pool), where as using TAF the old connection object can be used, and resend the transaction (same as with TAF)
    So when to use what? The comparison on p. 27-8 was not very helpful to find an answer to this question.
    On p. 28-1 one can read that TAF does not work with the OCI Connection Pool. That's seems to be contradictory to the statement in Service Guide of 10.1.2 that OC4J takes care of both pools (OC4J and OCI). Or has something changed in 10.1.3 in that regard? May be this is because of the changes in Cache or Pool Management?
    What is the advantage of using TAF within OC4J in 10g, if there is any?
    What about select statements with FCF? You can only read about transactions. I'd assume the application would get the same exception executing a query (ORA-17008) as executing a transaction, right? So TAF should have the advantage of transparently proceeding selects after a failover. Am I right?
    I'd love to see more examples and comparisons of TAF and FCF.
    Regards,
    Eric

  • ODF support in Oracle Text 10g R2 version ??

    Currently, we are using Oracle Text 10g Release 2 version for HTML section searching in our application. we don't have any issues in Microsoft office 2003 documents.
    But, when we use Open office documents(ODF), it is not working. It is throwing the following exception:
    java.sql.SQLException: ORA-20000: Oracle Text error:
    DRG-11207: user filter command exited with status 1
    DRG-11222: Third-party filter does not support this known document format.
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.CTX_DOC", line 825
    ORA-06512: at line 1
    We are using "AUT_FILTER" filter technology.
    Any ideas for solving this issue?

    You start to have to think outside the box at this point -- AUTO_LEXER isn't going to be able to support you natively.
    You could file an SR, and let Oracle tell you whether they'd be willing to integrate changes (like new Verity libraries as they are developed) to 10.2.
    That assumes that Autonomy (owner of Verity) has improved their support for ODF.
    The OpenOffice formats are all xml-based; you could write something custom to extract the text from your openoffice files and submit them to Oracle as straight XML. I've done something similar to support Office 2007 formats.
    You could write a custom USER_LEXER (which is essentially the same as custom extraction, but may be an easier place to hook in your custom code).
    That's the main reason I suggested moving up to 11g -- none of the other choices have any easy, short-term fix or workaround.

  • Does OEM Grid Control 10g support monitoring Oracle Portal 10g?

    Dear expert,
    It seems OEM GC 10g could monitor WebCenter, Weblogic portal and even Websphere portal, but I could not find any info for Oracle Portal. So,
    1.     Does OEM GC support to monitor Oracle Portal 10g? If not, does it support Oracle Portal 11g?
    2.     If does not support Oracle Portal, then is there any workaround for it? E.g. if it’s feasible through “web appliation”?
    Any comment and docs are welcome.
    Thank you in advance.

    Hi Rob,
    Thanks for your help.
    BTW, I have another question for your reply, that what do u mean by “You can use Oracle Enterprise Manager to monitor and manage OracleAS Portal”?
    Do you mean OEM AS Console or OEM GC? Boz I only find these metrics from OEM AS Console, which mentioned in this doc. http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b25987/oracle_portal.htm#CHDFJHDD
    If these metrics only available in AS Console, then how to let the OEM send out email notification if critical threshold is over?
    Thank you.
    Tony

  • InboundThreadCount supported in oracle bpel 10g

    Hi ,
    I want to know whether the InboundThreadCount="N" for MQAdapter is supported in oracle bpel 10.1.3.3.
    Thanks,
    S.Vishal

    Hi All,
    Any updates on this please, would be a great help.

  • Query Related to "Call Method"

    Hi Everybody,
    i have generated a simple classical report and downloading the same into an EXCEL file. OLE concepts are used. I need to know how do i view the code that has been written:
    CALL METHOD OF H_EXCEL 'SAVE' = H_FORMAT1.
    SET PROPERTY OF H_FORMAT1 'FILENAME' = 'C:\CAPACITY.XLS'.
    The whole purpose is to change the message that is popped-up when the user click on the Excel button.
    Please Sugsest.
    Thanks & Regards,
    Rajesh

    Hi Rajesh,
    You can debug and find out what code is written..
    But I would suggest a work around for the functionality you want to implement..
    What you can do is use ALV for your report. Use the object oriented method for ALV list. Now on this alv, hide the button for exporting the list to excel. Instead create a new button and on click of the button popup whatever message you want and then call the method for exporting the list to excel.
    Hope it helps...
    Lokesh
    pls. reward if the post helps...

  • How to check image size in oracle 9i & 10g database

    hi,
    i have inserted an Image into a table in oracle database & I want to View the Query How to check image size in oracle 9i & 10g database
    thanks
    Edited by: user8920919 on May 30, 2010 1:43 AM

    user8920919 wrote:
    hi,
    How to check image size in oracle 9i & 10g database
    thanksWhat do you mean with "image size"?

  • Future of Oracle BPM 10g

    Hi Friends,   I have been working on Oracle BPM 10g past 6 months, but really not sure whether to continue using this tool as its going to be obsolete soon. Guess most of the client are using Oracle BPM 11g and some even migrating to Oracle 12c. What's the future for Oracle BPM 10g with the respect to BPM market in the future. Are there any projects/clients which are still using Oracle BPM 10g. How easy/difficult is to move from BPM 10g to BPM 11g. I have around 6 years of experience and worked on Savvion Business Manager earlier.  Please help with your valuable suggestions. Regards.

    Support for Oracle BPM 10g has been extended.   Look at Oracle's Lifetime Support Policy document for Fusion Middleware (page 40).  Note that support for Oracle BPM 10g has been extended to December 2018.
    With that said, if a company was to start an Oracle BPM project today, I'd suggest that they do it using Oracle BPM 11g.  Your upgrade path to 12c will be much simpler using 11g and there aren't many of us left who know and can train people getting started on Oracle BPM 10g.
    Dan Atwood

  • How to add Oracle Graphics 6i charts (OGD) to my Oracle Reports 10g

    Hi,
    Is there any possibility to add Oracle Graphics 6i Charts (.OGD) to Oracle Reports 10g
    (OR)
    If not possible, Can you please provide steps to migrate OGD to any format that is supported in Oracle Reports 10g.
    Regards,
    Swethan

    Oracle Graphics and its OGD image format are no longer supported. Reports built with previous versions of Oracle Reports containing Oracle Graphics charts will continue to run in Oracle Reports 10g Release 2 (10.1.2) if the Oracle Graphics 6i runtime is installed on the same machine in a separate ORACLE_HOME. However, this is not a supported configuration, and Oracle will not fix bugs that result from this configuration.
    Re-create all Oracle Graphics 6i objects using the Graph Wizard

  • Oracle forms 10G -Version 10.1.2.0.2 will it support timestamp data type ?

    Hi all,
    We are having database server - oracle 10g enterprise edition R2,
    forms - Oracle forms 10G -Version 10.1.2.0.2 on windows 2000 professional.
    We have created a table which has a column of type "timestamp",the following is the structure.
    CREATE TABLE  "STOCK_AREA_MASTER"
            (     "STOCK_AREA_CODE"     NCHAR(5)       NOT NULL    ENABLE,
                  "STOCK_AREA_DESC"     NVARCHAR2(40)  NOT NULL    ENABLE,
                  "RECORD_STATUS"       CHAR(1)        DEFAULT 'A',
                  "USER_ID"             NVARCHAR2(20)  DEFAULT USER,
                  "TIMESTAMP"           TIMESTAMP (6)  DEFAULT CURRENT_TIMESTAMP)
    [\code]
    We  tried to invoke this table(stock_area_master) using database block wizard in forms 10g,we were expecting to see the columns in this table,but we got the following error
    FRM -10095 - Assertion failed
    on seeing the forms help for the error FRM-10095,We are getting the following message
    FRM-10095: Assertion failed in %s, at %s:%d. Cause:  An internal inconsistency was detected. Action:  Contact an Oracle support representative, and proceed with caution
    We have the following concerns.
    1.) is it possible to have datatype "timestamp" in forms 10g,our researches show that we can manipulate using datatime datatype in forms,our requirement is have to precision of 6 digits(millisecond - format - dd/mm/rr hh24:mi:ss:ssss),we are able query and view precision to the tune dd/mm/rr hh24:mi:ss:ssss,but we are unable to insert/update to this precision.
    We would appreciate if some one could throw some light on the above.
    Thanks in advance
    Regards
    Mohan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi Mohan,
    Hm. Strange.
    I have reproduced the problem in my environment.
    I have also found, that building the block manually, seems to work, as long as you define the item with datatype Char in Form Builder. Inserts and updates using a value like "22-AUG-06 11:10:11,647354 AM" worked fine for the timestamp item.
    You may want to enforce some dateformat. I don't know whether that will work.
    Good Luck!
    Remco

  • Query related to multiple attachments in mail adapter

    Hi,
    I have a query related to multiple attachments in receiver mail adapter.
    I have successfully configured mail related scenarios but now I have another requirement in which I have multiple source files in one directory and I want to send one mail for multiple files as mail attachment using receiver mail adapter. Can anybody help me how to achieve multiple attachments in reciever mail adapter.
    To clarify the requirement more let us take an example
    Ex: I have 5 input files in the source which I pick up using additional files option in the sender file adapter, now I want to send those 5 files into one mail with 5 attachments. Can anybody explain how 5 different payload will be sent as multiple attachments in one mail.
    For your information I used, options like "keep attachments" , some parameters in module processesors etcs...but not able to find out as how exactly it will be achieved.......I dont want to use BPM collect pattern for this.....
    Need your help on this issue. Please suggest the solution as how it can be achieved using receiver mail adapter.
    Thanks & Regards
    Prabhat

    Hi,
    I resolved the issue on my own. Thanks for your help and support.
    Thanks & Regards
    Prabhat

  • Query related to GAL

    Hello All,
    We are in process of implementing Exchange 2013 in our Organization and had a Query related to GAL.
    Below is our Environment description:
    01. We have a Single Forest and Single Domain Architecture.
    02. We will have separate Active Directory Sites for all 3 Regions across Global.
    03. Exchange 2013 will be installed in each region.
    04. In APAC region Exchange 2013 Language pack for Japanese will be installed to support Japanese language.
    Our Requirement:
    ================
    01. When a Japanese User tries to browse GAL all the display names have to be displayed in Japanese language and when a user who resides other Region (Europe or AMERICAS) tries to browse GAL the Address list has to be displayed in default English Language.
    Can someone guide us on how this can be achieved?
    Awaiting for all your suggestions.
    Thanks in advance.
    Thanks & Regards,
    Nagaraj N
    Nagaraj N

    Hi Nagaraj,
    Here are some requirements that I am still not quite sure. Could you please provide more information about it? Such as:
    1. Do you mean one user have two display names: one with Japanese language used for users in Japan, one with English language used for English users? Then we filter address lists with language difference. Based on my knowledge, one email address is generally
    involved for one display name.
    2. If there are both Japanese users and English Language users in the forest, and you just need Japanese users view users whose name is displayed as Japanese language. We can use
    Address book policies (ABPs) to segment users into specific groups to provide customized views of your organization’s global address list (GAL).
    To show different GAL for different users, we can specify the CustomAttribute1-15 property to divide your organizations. For example, we can set the CustomAttribute15 property for Japanese users to
    Japan. Just like:
    Set-Mailbox –Identity JapanUser1 –CustomAttribute15 Japan
    Then we can create global address list for Japanese that includes all of the recipients that exists in the address lists and room address list:
    New-GlobalAddressList -Name "GAL_Japan" -RecipientFilter {(CustomAttribute15 -eq "Japan")}
    For detailed steps about how to create and apply the Address Book Policies, please refer to:
    http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Query  related to the transfer of the control to the other controller.

    Hi all,
    I have a query related to the transfer of the control to the other controller.
    I have components A and B .From a view of component A I neeed to open a window which belong to component B.Problem is that ,if I use create_window_for_cmp_usage( ) and the open( ) method and after that there is some code,then that code is getting executed before the window is opening.
    I want that the control should be back to the these code after the window is poped up and  after clossing the window. 
    Eg
    method ONACTIONOPEN_WINDOW .
    DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window_for_cmp_usage(
                         interface_view_name    = 'ZHELLO_WORLD'
                         component_usage_name   = 'USAGE_HELLO'
                       title                  =
                       close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
      lo_window->open( ).
      data a type i.
      data b type i.
      a = 2.
      b = 3.
      a = a + b.
    endmethod.
    In this case I am calling  ONACTIONOPEN_WINDOW method.But before opening the window the a iscalculated here.I want that after popuping  the window the calculations should be done .
    How will I achieve this.
    Thanks in advance.
    Edited by: vaibhav nirmal on Nov 25, 2008 6:42 AM

    Hi,
    You will have to do your calculation as an event in your new window, or capture the closing of the new window as an event in your currenbt view and do your calculations in the event.
    Regards,
    Shruthi R

  • Method addTextUrlColumn (Class oracle.jbo.html.databeans)

    The method addTextUrlColumn (Class oracle.jbo.html.RowSetBrowser) adds an additional column to the View's RowSet. This column will be appended after all of the colummns that represent attributes belonging to the RowSet. How can I insert a additoinal column before all of the columns of the RowSet instead?
    Thanks
    Yoo

    The RowsetBrowser doesn't support this by default, you have source code to this control. You can extend it's features by adding this capability. Look at the source code in bc4jhtmlsrc.zip

  • Give me the sql query which calculte the table size in oracle 10g ecc 6.0

    Hi expert,
    Please  give me the sql query which calculte the table size in oracle 10g ecc 6.0.
    Regards

    Orkun Gedik wrote:
    select segment_name, sum(bytes)/(1024*1024) from dba_segments where segment_name = '<TABLE_NAME>' group by segment_name;
    Hi,
    This delivers possibly wrong data in MCOD installations.
    Depending on Oracle Version and Patchlevel dba_segments does not always have the correct data,
    at any time esp. for indexes right after being rebuild parallel (Even in DB02 because it is using USER_SEGMENTS).
    Takes a day to get the data back in line (never found out, who did the correction at night, could be RSCOLL00 ?).
    Use above statement with "OWNER = " in WHERE for MCOD or connect as schema owner and use USER_SEGMENTS.
    Use with
    segment_name LIKE '<TABLE_NAME>%'
    if you like to see the related indexes as well.
    For partitioned objects, a join from dba_tables / dba_indexes to dba_tab_partitions/dba_ind_partitions to dba_segments
    might be needed, esp. for hash partitioned tables, depending on how they have been created ( partition names SYS_xxxx).
    Volker

Maybe you are looking for