Basic replication on schemas

Hello Friends,
I am using 11gR2 standard edition one. I need the steps to replicate one schemas to other system. Can any one guide me how to implement basic replication on schemas.
Thanks in advance..

Dnt Duplicate thread
Re: Basic replication on Schemas

Similar Messages

  • Basic replication in 10g Standard Edit.

    Can some one guide me on the configuration of basic replication on version 10g Standard Edition? What I am looking for is a manual/documentation and examples or something like that. I just need to replicate a couple of tables from a database in a remote city to my local database in my local city.

    i have problem to install developer suit 10g on window xp, i download it from oracle site. unzip it in disk1 and disk2 folder on C, when i start the setup from disk1. it's run but it give me the error specify the file location, the location of file products.jar is exist in disk1 but it give me the same error every time.
    please help me what the problem is that.
    thanks

  • How to add a View to a refresh group in Basic Replication ?

    Hello,
    I'm trying to setup a Basic replication between a master DB under 11g Enterprise and a client under XE.
    Replication groups and materialized views are created for related tables without problem.
    But I have to get, on the XE, Views that are defined une the master DB.
    Creating a MV (with the "rowid" option since no pk) on XE is working, but it failed when I try to add it to the replication group using "DBMS_REFRESH.ADD" since it requires "Materialized View Log" on the master but creation is not possible for Views.
    I hope I'm clear enough...
    How can I be sure that my MV on XE that point to Views on the master are up to date ?

    Hemant K Chitale wrote:
    Why not just create the package at the remote site ?To be sure that all sites got the code update
    However, Packages can be replicated using the APIs.
    See http://download.oracle.com/docs/cd/E11882_01/server.112/e10706/repmaster.htm#i38785
    Procedural Replication
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10707/rarmanmaster.htm#REPMA103
    is used to allow PLSQLs to do bulk updates without actually propagating every row change.
    Hemant K ChitaleThanks. Very restrictive... :(

  • Java Basic CMYK color scheme Support

    Is java has basic CMYK color scheme suppotr as i look in java.awt.Color class of Java6 and java7. We can only pass RGB in color constructor. I used some libraries but it only supports CMYK convert to RGB not directly choosing color from CMYK. Please suggest if any library available in Java to directly get color from CMYK color scheme.
    Edited by: user9098607 on Aug 11, 2011 2:41 AM

    You'll need to get a ICC profile . After that you can use the http://download.oracle.com/javase/1.4.2/docs/api/java/awt/color/ICC_ColorSpace.html class for your needs . A quick google search would give you the code required.

  • Basic Replication doc in 10g Database..

    Hi,
    as the 10g Database Standard Edition supports the basic not the advanced replication ... where can i find some docs about basic replication...????
    Thanks,
    Simon

    Basic replication is just done via materialized views. The Basic Materialized Views section of the Data Warehousing guide is a good place to start once you've covered the basic syntax options for creating materialized views.
    Justin

  • GoldenGate Replication - Between Schemas On Same Host

    Guys - My requirement is fairly simple.I have two schemas, GG [Source] and GGR [Target] on the same host. Have one table called GG.SYNC_TABLE. I am having difficulties to push data from GG to GGR
    Below are the extract and replicat information
    EXTRACT EXT_AP1
    SETENV (ORACLE_SID=ERPA4)
    RMTHOST mdeagaix825, mgrport 7809
    USERID GG@ERPA4, PASSWORD goldengate1
    DISCARDFILE ./dirrpt/ext_ap1_discard.rpt, append, megabytes 50
    RMTTRAIL ./dirdata/sa
    TABLE GG.AP_AE_HEADERS_ALL;
    TABLE GG.AP_AE_LINES_ALL;
    TABLE GG.AP_BANK_ACCOUNTS_ALL;
    TABLE GG.AP_BANK_BRANCHES;
    TABLE GG.AP_CARDS_ALL;
    TABLE GG.AP_CHECKS_ALL;
    TABLE GG.AP_CREDIT_CARD_TRXNS_ALL;
    TABLE GG.AP_EXPENSE_REPORTS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_HEADERS_ALL;
    TABLE GG.AP_EXPENSE_REPORT_LINES_ALL;
    TABLE GG.AP_EXPENSE_REPORT_PARAMS_ALL;
    TABLE GG.AP_EXP_REPORT_DISTS_ALL;
    TABLE GG.AP_HOLDS_ALL;
    TABLE GG.AP_HOLD_CODES;
    TABLE GG.AP_INVOICES_ALL;
    TABLE GG.AP_INVOICE_DISTRIBUTIONS_ALL;
    TABLE GG.AP_INVOICE_LINES_ALL;
    TABLE GG.AP_INVOICE_PAYMENTS_ALL;
    TABLE GG.AP_NOTES;
    TABLE GG.AP_PAYMENT_HISTORY_ALL;
    TABLE GG.AP_PAYMENT_HIST_DISTS;
    TABLE GG.AP_PAYMENT_SCHEDULES_ALL;
    TABLE GG.AP_POL_VIOLATIONS_ALL;
    TABLE GG.AP_SELF_ASSESSED_TAX_DIST_ALL;
    TABLE GG.AP_SUPPLIERS;
    TABLE GG.AP_SUPPLIER_SITES_ALL;
    TABLE GG.AP_SYSTEM_PARAMETERS_ALL;
    TABLE GG.AP_TERMS_LINES;
    TABLE GG.AP_TOLERANCE_TEMPLATES;
    TABLE GG.SYNC_TABLE;
    REPLICAT REP_AP1
    SETENV (ORACLE_SID=ERPA4)
    USERID GG@ERPA4, PASSWORD goldengate1
    ASSUMETARGETDEFS
    REPORTCOUNT EVERY 1 MINUTES, RATE
    DISCARDFILE ./dirrpt/rep_ap1.dsc, PURGE
    MAP GG.AP_AE_HEADERS_ALL, TARGET GGR.AP_AE_HEADERS_ALL;
    MAP GG.AP_AE_LINES_ALL, TARGET GGR.AP_AE_LINES_ALL;
    MAP GG.AP_BANK_ACCOUNTS_ALL, TARGET GGR.AP_BANK_ACCOUNTS_ALL;
    MAP GG.AP_BANK_BRANCHES, TARGET GGR.AP_BANK_BRANCHES;
    MAP GG.AP_CARDS_ALL, TARGET GGR.AP_CARDS_ALL;
    MAP GG.AP_CHECKS_ALL, TARGET GGR.AP_CHECKS_ALL;
    MAP GG.AP_CREDIT_CARD_TRXNS_ALL, TARGET GGR.AP_CREDIT_CARD_TRXNS_ALL;
    MAP GG.AP_EXPENSE_REPORTS_ALL, TARGET GGR.AP_EXPENSE_REPORTS_ALL;
    MAP GG.AP_EXPENSE_REPORT_HEADERS_ALL, TARGET GGR.AP_EXPENSE_REPORT_HEADERS_ALL;
    MAP GG.AP_EXPENSE_REPORT_LINES_ALL, TARGET GGR.AP_EXPENSE_REPORT_LINES_ALL;
    MAP GG.AP_EXPENSE_REPORT_PARAMS_ALL, TARGET GGR.AP_EXPENSE_REPORT_PARAMS_ALL;
    MAP GG.AP_EXP_REPORT_DISTS_ALL, TARGET GGR.AP_EXP_REPORT_DISTS_ALL;
    MAP GG.AP_HOLDS_ALL, TARGET GGR.AP_HOLDS_ALL;
    MAP GG.AP_HOLD_CODES, TARGET GGR.AP_HOLD_CODES;
    MAP GG.AP_INVOICES_ALL, TARGET GGR.AP_INVOICES_ALL;
    MAP GG.AP_INVOICE_DISTRIBUTIONS_ALL, TARGET GGR.AP_INVOICE_DISTRIBUTIONS_ALL;
    MAP GG.AP_INVOICE_LINES_ALL, TARGET GGR.AP_INVOICE_LINES_ALL;
    MAP GG.AP_INVOICE_PAYMENTS_ALL, TARGET GGR.AP_INVOICE_PAYMENTS_ALL;
    MAP GG.AP_NOTES, TARGET GGR.AP_NOTES;
    MAP GG.AP_PAYMENT_HISTORY_ALL, TARGET GGR.AP_PAYMENT_HISTORY_ALL;
    MAP GG.AP_PAYMENT_HIST_DISTS, TARGET GGR.AP_PAYMENT_HIST_DISTS;
    MAP GG.AP_PAYMENT_SCHEDULES_ALL, TARGET GGR.AP_PAYMENT_SCHEDULES_ALL;
    MAP GG.AP_POL_VIOLATIONS_ALL, TARGET GGR.AP_POL_VIOLATIONS_ALL;
    MAP GG.AP_SELF_ASSESSED_TAX_DIST_ALL, TARGET GGR.AP_SELF_ASSESSED_TAX_DIST_ALL;
    MAP GG.AP_SUPPLIERS, TARGET GGR.AP_SUPPLIERS;
    MAP GG.AP_SUPPLIER_SITES_ALL, TARGET GGR.AP_SUPPLIER_SITES_ALL;
    MAP GG.AP_SYSTEM_PARAMETERS_ALL, TARGET GGR.AP_SYSTEM_PARAMETERS_ALL;
    MAP GG.AP_TERMS_LINES, TARGET GGR.AP_TERMS_LINES;
    MAP GG.AP_TOLERANCE_TEMPLATES, TARGET GGR.AP_TOLERANCE_TEMPLATES;
    MAP GG.SYNC_TABLE, TARGET GGR.SYNC_TABLE;
    Extract, Replicat and Manager processes are running fine. But a commit on target is not propagating the data across to GGR schema. Supplemental logging is enabled. Archiving is not [I hope its not required]. What do you think I am missing here?
    I am fairly new to GoldenGate, Hence if you want me to run any commands, Please provide the commands. Thanks much in advance.

    Duplicate post.

  • OCI Error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our tg core system from sun solaris(11.1.0.7) to linux (11.2.0.3) environment using goldengate method (transportable tablespace method used for instantiation).
    The initial replication worked with HANDLECOLLISIONS and after I monitor the lag finished, I took Handlecollisions off and noticed discarded report with OCI Error ORA-01403: no data found in two replications.
    I followed every step in the tts migration steps provided by oracle best practice.
    Can anybody provide any clue how do I fix this issue?
    Thank you in advance.

    extract and replicat are on schema level.
    DO I have to do anything for replication on schema level?
    Basic trandata logging enabled on source.

  • Problem in mapping existing schema in SunOne8

    I am trying to deploy an CMP application in Sun Java System Application Server Platform Edition 8.0.0_01 (build b08-fcs) and facing the following issues:
    1. I am generating an existing oracle schema file using deploy tool. I am able to choose the schema file, but the tables are not getting populated from the schema file. (I even tried creating the jdbc datasource, but no luck).
    2. I tried mapping the existing schema manually. After mapping the cmp entites to corresponding table, RED mark is shown in the Physical Tables.
    When i try to deploy the Jar, deployer is throwing the below error.
    Deploy action running...
    Deployment failed on target localhost:4848_server : Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- Caught java.lang.IllegalArgumentException while processing CMP beans for application [TestCMP]; module [D:\servers\Sun\AppServer\domains\domain1\applications\j2ee-modules\test]: null. See log for details.
    !! Operation Failed !!!
    Any help..... very urgent.
    thanks,
    Bobby.

    Bobby,
    The tables do not get populated from the schema file.
    Basically, the captured schema is used to provide
    e the persistence engine with information about the
    structure of the database. I'm not exactly sure
    what the IllegalArgumentException stems from, but did
    you define a cmp-resource in deploytool as well. Is
    there more information in the server.log than what is
    provided.Thanks for your reply.
    If the tables are not displayed, how can we map the tables to corresponding entity beans. As a result, the sun-cmp-mapping file is empty.
    Another problem, if i manually provide the mapping file and the schema file, the tables / fields are getting displayed correctly, but "RED coloured icon is getting displayed in the Physical Tables" dropdown box in deploy Tool.
    No idea what is the problem.
    I have defined the cmp-resource in deployment tool, still i am getting the same error message.
    sun-ejb-jar.xml
    <cmp-resource>
    <jndi-name>jdbc/testdb</jndi-name>
         <default-resource-principal>
         <name>cmpuser</name>
    <password>smppassword</password>
    </default-resource-principal>
    <create-tables-at-deploy>false</create-tables-at-deploy>
    <drop-tables-at-undeploy>false</drop-tables-at-undeploy>
    <database-vendor-name>ORACLE</database-vendor-name>
    <schema-generator-properties>
    <property>
    <name>use-unique-table-names</name>
    <value>false</value>
    </property>
    <property>
    <name>java-to-database</name>
    <value>true</value>
    </property>
    </schema-generator-properties>
    </cmp-resource>
    Server Log message during deployment:
    #|2004-12-02T03:57:08.720-0800|SEVERE|sun-appserver-pe8.0.0_01|javax.enterprise.system.tools.deployment|_ThreadID=13;|Caught java.lang.IllegalArgumentException while processing CMP beans for application [corp]; module [D:\servers\Sun\AppServer\domains\domain1\applications\j2ee-modules\test]: null. See log for details.
    java.lang.IllegalArgumentException
         at com.sun.jdo.spi.persistence.generator.database.MappingPolicy.getJdbcTypeName(MappingPolicy.java:885)
         at com.sun.jdo.spi.persistence.generator.database.MappingPolicy.getSQLTypeName(MappingPolicy.java:712)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.getColumnDef(DDLGenerator.java:433)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.createCreateTableDDL(DDLGenerator.java:292)
         at com.sun.jdo.spi.persistence.generator.database.DDLGenerator.generateDDL(DDLGenerator.java:113)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.createDDLs(JDOCodeGenerator.java:575)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.loadOrCreateMappingClasses(JDOCodeGenerator.java:503)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.init(JDOCodeGenerator.java:145)
         at com.sun.jdo.spi.persistence.support.ejb.ejbc.JDOCodeGenerator.init(JDOCodeGenerator.java:118)
         at com.sun.ejb.codegen.CmpCompiler.compile(CmpCompiler.java:143)
         at com.sun.ejb.codegen.IASEJBC.doCompile(IASEJBC.java:617)
         at com.sun.ejb.codegen.IASEJBC.ejbc(IASEJBC.java:565)
         at com.sun.enterprise.deployment.backend.EJBCompiler.preDeployModule(EJBCompiler.java:476)
         at com.sun.enterprise.deployment.backend.EJBCompiler.compile(EJBCompiler.java:212)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.runEJBC(ModuleDeployer.java:1192)
         at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:172)
         at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:139)
         at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:124)
         at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:74)
         at com.sun.enterprise.deployment.phasing.DeploymentService.executePhases(DeploymentService.java:233)
         at com.sun.enterprise.deployment.phasing.DeploymentService.deploy(DeploymentService.java:150)
         at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.deploy(ApplicationsConfigMBean.java:275)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:287)
         at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:280)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:221)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:228)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:823)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
         at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)
         at $Proxy1.invoke(Unknown Source)
         at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:282)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:105)
         at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:35)
         at com.sun.enterprise.tools.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:98)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:785)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:731)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:250)
         at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:187)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:822)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:780)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:590)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:951)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:622)
         at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:480)
         a

  • XML Schema any element

    I have a list of schema files and they a number of elements in them. But for my data extraction i use only close to 300 tags. When i register the schema I get an error that a table cannot of have more than 1000 columns. My work mate is working on Annotations and I am planning to build a new schema to make extract only these 300 tag names and also make sure the XML file can be validated like it did earlier. Explaining this i came across a complex type element called *<any>* which can be used to allow elements to be available which are not declared within the schema file.
    My Original schema file looks something like below,
    <xsd:complexType name="WfInformation">
    <xsd:all minOccurs="0">
    <xsd:element name="Company" type="WfCompany" minOccurs="0" />
    <xsd:element name="HeadOffice" type="WfOffice" minOccurs="0" />
    <xsd:element name="IndependentOffice" type="WfIOffice" minOccurs="0" />
    <xsd:element name="AffiliateCompany" type ="WfIAOffice" minOccurs="0" />
    <xsd:element name="Number" type="xsd:string" minOccurs="0" />
    <xsd:element name="ReferenceID" type="xsd:string" minOccurs="0" />
    </xsd:all>
    </xsd:complexType>
    of the above list of items i use only elements Company, HeadOffice, Number. After reading through some documentation I wanted to <any> tag like below,
    <xsd:complexType name="WfInformation">
    *<xsd:sequence>*
    <xsd:element name="Company" type="WfCompany" minOccurs="0" />
    <xsd:element name="HeadOffice" type="WfOffice" minOccurs="0" />
    *<xsd:any processContents="lax"/>*
    *<xsd:any processContents="lax"/>*
    <xsd:element name="Number" type="xsd:string" minOccurs="0" />
    *<xsd:any processContents="lax"/>*
    *</xsd:sequence>*
    </xsd:complexType>
    My question is if I am correcting the lines as i mentioned above will be Register schema again fail with same reason that i have 1000 columns. As i understand every element inside an Complex element is stored as a column value. In that case will this redesign work. Or is there any other way to approach re-desgin the XML Schema.

    Thanks. I think that leaves out my option to create a totally new Schema to suit my XML files.
    Only other option we have is to use Annotations.
    I think my colleague - eoin62 would have shared the XML Schema files earlier through your oracle email address.
    Please refer thread - How to register multiple XSD files
    But we received a reply and we knew very little on how to make changes to Admin.xsd and how would that solve our problem. Please correct me if i am incorrect. Because the biggest Schema was estimate.xsd that has close to 800+ elements. I am not sure if my colleague sent you the necessary tag names we use within the Schema. We have close to around 300 tags we use. But our combined XML Schema has close to 1600+ If we have to annotate, i thought it would be better we tell Oracle which tagswe need, which inturn should should help better create XMLtype table against a Schema and work on performance.
    Your earlier reply was,
    Basically in XML Schema Admin.xsd element AdminCompin WorkfileTypeneeds to be stored Out of line..
    Add the annotations xdb:SQLInline=”false” and xdb:defaultTable=”ADMIN_COMP_XML”. to the element..
    if you can share with our XML Schema on how to annotate or if you can share a location that shows how an annotated or non-annotated Schema works that would help us correcting our Schema files.
    Thanks for all your support. We have gone a long way in XML Parsing in the last 6 weeks.
    Edited by: beta32c on Feb 19, 2013 12:09 AM

  • Multiversions in Materialized View Replication Environment

    Dear friends
    In my company we have a matarialized view environment where A materialized view, in snapshot site, contains a complete or partial copy of a target master - master site.
    This environment is in Oracle 8i Enterprise Edition and now we are increasing it. We are shrinking our budget and then i'm research an solution more cheaper, i found Oracle 10G Database Standard Edition One, an solution desinged for small to medium environments. My thought is to use Oracle 10G SE1 for news snapshot sites.
    Can someone talk about the user of differents versions (8i mastersite X 10G snapshotsite) in a Materialized View Replication Environment, is it possible? must i upgrade all my environment replication for 10G or to use multiversions ?
    Thanks !!

    10g to 8i can work, assuming
    - 8i = 8.1.7
    - You are applying at least the 8.1.7.4 patchset to the master (8i) or you are applying the latest patchset to the slave (10g). Realistically, you probably want to do both.
    If you are talking about using the standard edition, I assume that you are only doing basic replication, not multi-master replication. I also assume you are aware of the limitations on hardware that come with Standard Edition 1-- I don't recall if you are limited to machines that have a capacity for 2 or 4 CPU's. Also, be aware that Oracle considers multi-core CPU's as multiple CPU's.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Implementing replication in Oracle 10&11 Standard Edition

    I am implementing an oracle based application which will run under Linux/Oracle 10gr2 standard edition and which will soon be upgraded to Oracle 11g standard edition.
    One of the requirements of the application is that a hot standby must be provided. To provide the hot standby, I must implement some sort of replication mechanism, but the nice replication features (data guard, streams, advanced replication, basic replication) are only available with Oracle enterprise edition.
    Two questions:
    1. It appears that I will be building a home-made replication mechanisms. I am planning on using insert/update/delete triggers and dblinks to trap database updates and propogate them to the standby server. (alternatively, may write them to files as SQL statements and have the second server load the files). Is their a better way to implement replication in Oracle SE. (esp. a feature of Oracle SE that I could be using to do this?).
    2. Oracle Advanced and Basic Replication are not shown in the Oracle 11 Editions Description web page which lists the availability of features across the various oracle versions. I assume it is still supported in Oracle 11, but is Oracle Streams now the "best practice" for implementing replication (i.e. instead of advanced replication?)
    Thanks in advance,
    Werner

    1) Having database triggers that use a database link is an exceptionally poor way of implementing a hot standby. If the database link goes down, or if the remote database is unavailable, the trigger will generate an exception and the parent transaction will be rolled back. Which means that the system is available only if both databases are available and the network between them is available, which is exactly the opposite of what a hot standby would be expected to provide.
    2) You most likely want to set up a manual DataGuard-like setup. Clone the database from one machine to another, keep the standby database in managed recovery mode, and copy archived log files from the primary to the standby periodically. You'll have to script that, of course, but that shouldn't be insurmountable.
    3) Basic replication (one-way materialized views) are available in the standard edition, but probably aren't the sort of thing you'd want to use to build a hot standby.
    Justin

  • Which Doc Contains Standard Edition's Replication Features?

    Hi all,
    I am going to use Oracle 10g / Oracle 11g Standard Edition's replication features (single-master, simple replication). However, in the online documentation web site, I cannot find relevant manuals / chapters.
    There are manuals on advanced replication or Streams, but these are not what I am looking for.
    I also searched the web on the above information, and some tutorial or step-by-step instruction (without using Oracle Enterprise Manager) but have found nothing so far.
    Please advise where I may find such info. Thanks in advance!
    Best regards
    Edited by: user11974348 on Jun 10, 2010 3:43 AM

    Hi Forstmann and all,
    Thank you for your information.
    I believe manual standby database may not be applicable to my situation because the reporting database needs to be refreshed several times a day during office hours to keep the data not too far behind production, while the reporting access may be continuous during office hours. The manual standby solution needs to bring down the standby database and causes interruption to the reporting workload.
    I guess Oracle is "encouraging" people to use Enterprise Edition because back in Oracle 8's documentation, there is a dedicated book called "Oracle Replication" which contains information for both basic and advanced replication. There is also a whole chapter (Chapter 2) on basic replication.
    In Oracle 9i Release 1, the chapter on basic replication is gone. In Oracle 10g Release 2, the book "Oracle Replication" is gone, and is apparently replaced by "Advanced Replication". So, for Standard Edition users, how do they know what replication documentation is relevant to them? Should Standard Edition users refer to Oracle 8's documentation? This is the key of my question.
    Thanks and regards,
    Lawrence
    Edited by: user11974348 on Jun 14, 2010 3:42 AM

  • Replication Management tool in Oracle Db10g Standard Edition....

    Hi,
    Where is the Replication management tool can be found in Oracle OEM10g Standard Edition...????
    Is this contained only to EM java version.... in Oracle client...????
    However , i have a doubt that the EM java version gives the capability for advanced replication.... whereas the standard edition supports only basic replication...Is that correct....???
    If the above is true then... how to create an environment which gives the privileged user to select tables , columns to be replicated manually or using the scheduler...????
    Thanks.. a lot
    Simon
    Message was edited by:
    sgalaxy

    It is contained in the EM Java version.

  • Schema validation routine?

    Hi
    I have serious problems finding a (PL/SQL) validation routine that takes a piece of xml and a corresponding schema and validates the xml according to the schema. Everything (PL/SQL) seems to demand that I register my schema and define columns on that schema, and that's a problem with my application (basically, I have a "free format" xmltype column to which a schema is attached - the user may define both the xml and the schema)
    I need a PL/SQL function basically like "oraxml -schema".
    Can anyone help me out here, or do I need to write a Java-function to do the trick?
    Regards
    /John

    you can pass a CLOB as a parameter by using a slightly adapted version of the example code:
    package ibb.xml;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.sql.SQLException;
    import oracle.sql.CLOB;
    import oracle.xml.parser.schema.*;
    import oracle.xml.parser.v2.*;
    import org.w3c.dom.*;
    public class XMLSchemaUtils
    public static String validate(CLOB xmlDoc, CLOB xsdDoc)
    throws Exception
    //Build Schema Object
    XSDBuilder builder = new XSDBuilder();
    InputStream xsdInAsciiFormat = xsdDoc.getAsciiStream();
    XMLSchema schemadoc = (XMLSchema)builder.build(xsdInAsciiFormat, null);
    //Build XML Object
    InputStream xmlInAsciiFormat = xmlDoc.getAsciiStream();
    // Greate the DOM
    DOMParser domparser_doc = new DOMParser();
    // Set Schema Object for Validation
    domparser_doc.setXMLSchema(schemadoc);
    domparser_doc.setValidationMode(XMLParser.SCHEMA_VALIDATION);
    domparser_doc.setPreserveWhitespace (true);
    // New stream for the return string
    StringWriter string_writer_stream = new StringWriter();
    domparser_doc.setErrorStream (new PrintWriter(string_writer_stream));
    String returnValue;
    try {
    domparser_doc.parse (xmlInAsciiFormat);
    returnValue = "The input XML parsed without errors.\n";
    catch (XMLParseException pe) {
    returnValue = "Parser Exception: " + pe.getMessage();
    catch (Exception e) {
    returnValue = "NonParserException: " + e.getMessage();
    return returnValue;
    I don't (yet) understand the suggestion by Deepak to set an ErrorHandler on the DOMParser. This is possible as you can use setErrorHandler(handler) on any object inherited from parser (that is both for the DOMParser and the SAXParser) like:
    ErrorHandler handler = new ErrorHandler();
    domparser_doc.setErrorHandler(handler);
    But according to the documentation the ErrorHandler is only used by the SAXParser.
    At the moment this advanced Java stuff is too complex for a simple PL/SQL programmer like me... Deepak! Help!

  • Three questions about replication/security

    Hello,
    We are currently planning to build software for our sales persons using C#. Each sales person has a laptop and should be able to sync the client information when he/she has access to the internet/intranet. Sales person can update client information and the local database will be synced back to master server when the user is connected to the internet/intranet. My option was to go with Oracle lite (as client DB) and Oracle enterprise (Server DB). But after readying the posts in this forum, I believe Oracle XE can do the trick. Am I right?
    Second question is about the security of the replication. Sales persons can connect using the internet to sync the information back and forth. Is there a built in mechanism to secure the connection between the two DBs ( Oracle XE and EE)?
    Third question is about the recovery options. I read Mark’s post about the feature of Oracle XE. I understood that PIT recovery and achivelog mode are supported. But, the post also says that Tablespace PIT is not supported. Can some tell me the difference between PITR and TSPITR? If PITR is supported, can I restore the database to a specific date and time (i.e. Dec 2, 2005 2:00PM)?
    Thanks a lot

    Comments inline
    Hello,
    We are currently planning to build software for our sales persons using C#. Each sales person has a laptop and should be able to sync the client information when he/she has access to the internet/intranet. Sales person can update client information and the local database will be synced back to master server when the user is connected to the internet/intranet. My option was to go with Oracle lite (as client DB) and Oracle enterprise (Server DB). But after readying the posts in this forum, I believe Oracle XE can do the trick. Am I right?
    Yes - except that Oracle Lite comes with the synchronization built in, and it's tested to handle all the weird corner cases you have to deal with. XE will give you basic replication, however, you will have to build the connect, replicate (refresh materialized views), disconnect logic yourself (and test it). Personally I would spend the $100 on the Oracle Lite option
    Second question is about the security of the replication. Sales persons can connect using the internet to sync the information back and forth. Is there a built in mechanism to secure the connection between the two DBs ( Oracle XE and EE)?
    It depends by what you mean secure. When you connect XE to Enterprise Edition, it will use a database link to refresh the materialized views (replicated tables). Userids/passwords across the database link will be sent in an encrypted form. The data will not. I'm guessing you could use Oracle's Advanced Security option to secure the database links from XE to EE, but I'm not 100% sure. Tom may be able to give us a clue on this one. Also, note that DBLinks by default use the TCP/IP transport, so thats a hole you would have to kick in the firewall if the EE database was behind it (as it should be). Although replication can use HTTP as a transport mechanism
    (You can see all the issues you start to get into - the $100 dollars per Oracle Lite deployment is looking real goo to me right about now)
    Third question is about the recovery options. I read Mark’s post about the feature of Oracle XE. I understood that PIT recovery and achivelog mode are supported. But, the post also says that Tablespace PIT is not supported. Can some tell me the difference between PITR and TSPITR? If PITR is supported, can I restore the database to a specific date and time (i.e. Dec 2, 2005 2:00PM)?
    Yes - you can roll forward the entire database to a given point in time using RMAN (which will be in production). You cannot however roll forward just a subset of tablespaces (i.e a subset of the data) in XE. Tablespace PITR is an EE feature (and not for the faint hearted).
    Thanks a lot

Maybe you are looking for

  • Save as PDF - default file name problem

    When I try to Save as PDF from the print dialog box (in Mail, Safari, iWork, etc.) the filename and title both default to: 286>756<6<29 Does anyone have any ideas why the fields are not being populated with the correct information?

  • Service settings keep changing?????

    I have digital voice and someone keeps changing my settings on the services I have. Is this your programmers or someone who is making changes? Example: I have simultaneous ring turned on for my home office line and somehow it keeps getting turned off

  • Motion 4 UPGRADE immediate crash

    Running latest everything. Motion has been fine. And now won't even open. Just throw up an error report. Have messed with Fonts in FontBook. But haven't installed any new fonts since it worked perfectly. Driving me insane. Any ideas please? Process:

  • Why am I getting this error page?

    Hi All, On my application I have a form that I use to add new Users of the system. On the Users table User Id is the primary key & it's the first item on the form. Also, on this form I have a password field (among other fields) which is read only & i

  • The kerning tool appears to be stuck? Cannot make any changes to text boxes in new or existing files

    When I try to adjust the kerning in any text box, whether it be in a new or existing file, the change will not take place. It will just automatically return to either the default. Please help!