XML Benchmark

Hi!
I was wondering if anyone has come across an XML benchmark for Oracel 9i. I am particularly interested in understanding
the performance of the XML SQL Utility when loading large anmounts of data into a data base (i.e. 50 gig).
Thanks,
Joyce

Jun
I'm afraid that you are legally not allowed to use Oracle for this purpose. The licence agreement expressly forbids using Oracle software for benchmarking purposes. You, and your institution would in violation of the licence agreement were you to proceed with this project. Violating the licence agreement in this manner could have very serious consequences.
The only time Oracle permits it's software to be used for benchmarking is when the benchmark is an industry standard benchmark and the benchmarking is performed under the an official recognized independant auditor.
-Mark

Similar Messages

  • JAXP Parsers Performance

    Hi,
    I need to carry out performance tests for DOM based XML parsing with schema(XSD) validation.
    (eg with Xerces,Crimson etc.)
    If there is any such benchmark result available, please let me know.
    Also if anyone has carried out such tests, please share your results with me.
    Thanks,
    Sujit

    Hi,
    http://www.devsphere.com/xml/benchmark/parser.html
    -Amol

  • ¿Products benchmark for XML development?

    Hello, I need to know that product for XML development can use for my development staff
    Please recommend me the best among:
    XMLSPY
    http://www.altova.com/
    Stylus Studio
    www.stylusstudio.com/
    ALchemist code generator
    http://www.mentattech.com/modules.php?op=modload&name=PagEd&file=index&page_id=21
    Thank you for the information that you can offer me

    For storing as CLOB's, nothing extra.
    For storing as relational, then:
    [list]
    [*]Before release 8.1.7, you need to install the XML SQL Utility in your database
    [*]With 8.1.7 and beyond, it's pre-installed.
    [list]

  • Displaying XML Document in new browser window

    Hi,
    I have a hyperlink on my page. When I click on it, it will open a new IE window and display xml document.
    The new window is displaying some of the xml and at the end displaying the following:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End element was missing the character '>'. Error processing resource 'http://localhost:28080/benchmark/faces/displayXMLDocu...
    However, I cut and paste the xml String where I write it to the HTTPServletResponse to XMLSPY and it displays correctly.
    Please let me know.
    Rgrds

    Here are the steps:
    1. I created page1 that has a hyperlink.
    2. Hyperlink property are set to display page2 in a new window. (popup).
    3. page2.prerender() method, I set the response to the following:
    public void prerender() {
    javax.faces.context.ExternalContext ec = this.getExternalContext();
    HttpServletResponse response = (HttpServletResponse)ec.getResponse();
    response.setHeader("Cache-Control","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setHeader("Cache-Control","must-revalidate");
    response.setHeader("Cache-Control","max-age=0");
    response.setHeader("Pragma","no-cache");
    response.setHeader("Expires","0");
    response.setContentType("text/xml");
    response.setBufferSize(5000);
    String xmlString = getRequestBean1().getBookingPnrDetailsXML();
    try{
    xmlString="<?xml version=\"1.0\" encoding=\"UTF-8\"?><root><test1>this is a test</test1><victor>Hello Victor</victor></root>";
    PrintWriter out = new PrintWriter(response.getOutputStream());
    log(xmlString);
    out.print(xmlString);
    }catch(IOException io){
    System.out.println("" + io.getMessage());
    io.printStackTrace();
    4.page2.jsp code is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/xml;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view/>
    <ui:page binding="#{displayXMLDocument.page1}" id="page1"/>
    <ui:html binding="#{displayXMLDocument.html1}" id="html1"/>
    <ui:head binding="#{displayXMLDocument.head1}" id="head1"/>
    <ui:link binding="#{displayXMLDocument.link1}" id="link1"/>
    <ui:body binding="#{displayXMLDocument.body1}" id="body1"/>
    <ui:form binding="#{displayXMLDocument.form1}" id="form1"/>
    </jsp:root>
    please let me know.
    Rgrds.

  • Trying to read an XML file from the resources

    Hi,
    I am having a problem reading a file from the resources: In my project I have data.xml in my project resources folder. I tried the following and it does not work:
    File xsltFile = new File("resources/data.xml");
    or
    File xsltFile = new File("/resources/data.xml");
    Anybody could help please.
    Rgrds.

    Hi,
    I have tried the following and it does not work:
    URL url = this.getExternalContext().getResource("/resources/displayPassengers.xsl");
    File xsltFile = new File( url.getFile());
    However, the url object has the following properties:
    url.getPath() = "/server/benchmark/resources/displayPassengers.xsl";
    url.getFile() = "/server/benchmark/resources/displayPassengers.xsl";
    but I still can not read the xsltFile. The code are on the prerender() method of the page.
    Please let me know.
    Rgrds.

  • Xml parsing innovation

    [ANN] VTD-XML Version 1.5 Released
    Eight years after the invention of XML, DOM and SAX,
    despite their respective issues, are still the mainstays
    of application developers.
    So is it the end of road for XML parsing innovation?
    The VTD-XML project team think not. We are proud to
    announce the availability of both C and Java version
    1.5 of VTD-XML, the next generation open-source XML
    parser that goes beyond DOM and SAX in terms of
    performance, memory usage and ease of use.
    The technical highlights of VTD-XML are:
    * Performance: the world's fastest XML parser,
    between 5x~10x faster than DOM
    * Memory Usage: 3x to 5x less than DOM, 1.3x~1.5x
    XML document size
    * Random access with built-in XPath support
    * A simple and intuitive API
    Other advanced features include:
    * Buffer reuse
    * Large document support (2GByte)
    * Incremental update
    * Hardware acceleration
    * Native XML indexing.
    For demos, latest benchmarks, related articles and software
    downloads, please visit http://vtd-xml.sf.net. Also let us
    know your thoughts and suggestions and help us improve
    VTD-XML.

    Don't crosspost.
    http://forum.java.sun.com/thread.jspa?threadID=707987&tstart=20
    It should be noted that this parser is not a full implementation, and ignores some xml constructs, which perhaps helps it's performance numbers in comparison to compliant parsers.

  • Problem inserting and querying XML data with a recursive XML schema

    Hello,
    I'm facing a problem with querying XML data that is valid against a recursive XML Schema. I have got a table category that stores data as binary XML using Oracle 11g Rel 2 on Windows XP. The XML Schema is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="bold_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="keyword_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
                   <xs:element name="plain_text" type="xs:string"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="emph_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="text_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="parlist_type">
              <xs:sequence>
                   <xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="listitem_type">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="parlist" type="parlist_type"/>
                   <xs:element name="text" type="text_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:element name="category">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name"/>
                        <xs:element name="description">
                                  <xs:complexType>
                                            <xs:choice>
                                                           <xs:element name="text" type="text_type"/>
                                                           <xs:element name="parlist" type="parlist_type"/>
                                            </xs:choice>
                                  </xs:complexType>
                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="id"/>
                                            </xs:complexType>
                        </xs:element>
    </xs:schema>I registered this schema and created the category table. Then I inserted a new row using the code below:
    insert into category_a values
    (XMlElement("category",
          xmlattributes('categoryAAA' as "id"),
          xmlforest ('ma categ' as "name"),
          (xmlelement("description", (xmlelement("text", 'find doors blest now whiles favours carriage tailor spacious senses defect threat ope willow please exeunt truest assembly <keyword> staring travels <bold> balthasar parts attach </bold> enshelter two <emph> inconsiderate ways preventions </emph> preventions clasps better affections comes perish </keyword> lucretia permit street full meddle yond general nature whipp <emph> lowness </emph> grievous pedro')))    
    The row is successfully inserted as witnessed by the results of row counting. However, I cannot extract data from the table. First, I tried using SqlPlus* which hangs up and quits after a while. I then tried to use SQL Developer, but haven't got any result. Here follow some examples of queries and their results in SQL Developer:
    Query 1
    select * from category
    Result : the whole row is returned
    Query 2
    select xmlquery('$p/category/description' passing object_value as "p" returning content) from category
    Result: "SYS.XMLTYPE"
    now I tried to fully respect the nested structure of description element in order to extract the text portion of <bold> using this query
    Query 3
    select  xmlquery('$p/category/description/text/keyword/bold/text()' passing object_value as "p" returning content) from  category_a
    Result: null
    and also tried to extract the text portion of element <text> using this query
    Query 4
    select  xmlquery('$p/category/description/text/text()' passing object_value as "p" returning content) from  category_a
    Result: "SYS.XMLTYPE".
    On the other hand, I noticed, from the result of query 1, that the opening tags of elements keyword and bold are encoded as the less than operator "&lt;". This explains why query 3 returns NULL. However, query 4 should display the text content of <text>, which is not the case.
    My questions are about
    1. How to properly insert the XML data while preserving the tags (especially the opening tag).
    2. How to display the data (the text portion of the main Element or of the nested elements).
    The problem about question 1 is that it is quite unfeasible to write a unique insert statement because the structure of <description> is recursive. In other words, if the structure of <description> was not recursive, it would be possible to embed the elements using the xmlelement function during the insertion.
    In fact, I need to insert the content of <description> from a source table (called category_a) into a target table (+category_b+) automatically .
    I filled category_a using the Saxloader utility from an flat XML file that I have generated from a benchmark. The content of <description> is different from one row to another but it is always valid with regards to the XML Schema. The data is properly inserted as witnessed by the "select * from category_a" instruction (500 row inserted). Besides, the opening tags of the nested elements under <description> are preserved (no "&lt;"). Then I wrote a PL/SQL procedure in which a cursor extracts the category id and category name into varchar2 variables and description into an XMLtype variable from category_a. When I try to insert the values into a category_b, I get the follwing error:
    LSX-00213: only 0 occurrences of particle "text", minimum is 1which tells that the <text> element is absent (actually it is present in the source table).
    So, my third question is why are not the tags recognized during the insertion?
    Can anyone help please?

    Hello,
    indded, I was using an old version of Sqlplus* (8.0.60.0.0) because I had a previous installation (oracle 10g XE). Instead, I used the Sqlplus* shipped with the 11g2database (version 11.2.0.1.0). All the queries that I wrote work fine and display the data correctly.
    I also used the XMLSERIALIZE function and can now display the description content in SQL Developer.
    Thank you very much.
    To answer your question Marco, I registered the XML Schema using the following code
    declare
      doc varchar2(4000) := '<?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:complexType name="bold_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="keyword_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
                   <xs:element name="plain_text" type="xs:string"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="emph_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="text_type" mixed="true">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="bold" type="bold_type"/>
                   <xs:element name="keyword" type="keyword_type"/>
                   <xs:element name="emph" type="emph_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:complexType name="parlist_type">
              <xs:sequence>
                   <xs:element name="listitem" minOccurs="0" maxOccurs="unbounded" type="listitem_type"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="listitem_type">
              <xs:choice minOccurs="0" maxOccurs="unbounded">
                   <xs:element name="parlist" type="parlist_type"/>
                   <xs:element name="text" type="text_type"/>
              </xs:choice>
         </xs:complexType>
         <xs:element name="category">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="name"/>
                        <xs:element name="description">
                                  <xs:complexType>
                                            <xs:choice>
                                                           <xs:element name="text" type="text_type"/>
                                                           <xs:element name="parlist" type="parlist_type"/>
                                            </xs:choice>
                                  </xs:complexType>
                        </xs:element>
                                                                </xs:sequence>
                                                                <xs:attribute name="id"/>
                                            </xs:complexType>
                        </xs:element>
    </xs:schema>';
    begin
      dbms_xmlschema.registerSchema('/xmldb/category_auction.xsd', doc,     LOCAL      => FALSE, 
            GENTYPES   => FALSE,  GENBEAN    => FALSE,   GENTABLES  => FALSE,
             FORCE      => FALSE,
             OPTIONS    => DBMS_XMLSCHEMA.REGISTER_BINARYXML,
             OWNER      => USER);
    end;then, I created the Category table as follows:
    CREATE TABLE category_a of XMLType XMLTYPE store AS BINARY XML
        XMLSCHEMA "xmldb/category_auction.xsd" ELEMENT "category";Now, there still remains a problem of how to insert the "description" content which I serialized as a CLOB data into another table as XML. To this purpose, I wrote a view over the Category_a table as follows:
    CREATE OR REPLACE FORCE VIEW "AUCTION_XWH"."CATEGORY_V" ("CATEGORY_ID", "CNAME", "DESCRIPTION") AS
      select category_v."CATEGORY_ID",category_v."CNAME",
      XMLSerialize(content ( xmlquery('$p/category/description/*' passing object_value as "p" returning content)) as clob) as "DESCRIPTION"
      from  auction.category_a p, 
    xmltable ('$a/category' passing p.Object_Value as "a"
    columns  category_id varchar2(15) path '@id',
              cname varchar2(20) path 'name') category_v;Then, I wrote a procedure to insert data into the Category_xwh table (the source and target tables are slightly different: the common elements are just copied wereas new elements are created in the target table). The code of the procedure is the following:
    create or replace PROCEDURE I_CATEGORY AS
    v_cname VARCHAR2(30);
    v_description clob ;
    v_category_id VARCHAR2(15);
    cursor mycursor is select category_id, cname, description from category_v;
    BEGIN
    open mycursor;
      loop
      /*retrieving the columns*/
      fetch mycursor into v_category_id, v_cname, v_description ;
      exit when mycursor%notfound;
      insert into category_xwh values
      (XMlElement("category",
          xmlattributes(v_category_id as "category_id"),
          xmlelement("Hierarchies", xmlelement("ObjHierarchy", xmlelement ("H_Cat"),
                                                               xmlelement ("Rollsup",
                                                                                  (xmlelement("all_categories",
                                                                                   xmlattributes('allcategories' as "all_category_id")))
        xmlforest (
                  v_cname as "cat_name",
                  v_description as "description")    
    end loop;
      commit;
      close mycursor;
    END I_CATEGORY;When I execute the procedure, I get the following error:
    LSX-00201: contents of "description" should be elements onlyso, I just wonder if this is because v_description is considered as plain text and not as XML text, even if its content is XML. Do I need to use a special function to cast the CLOB as XML?
    Thanks for your help.
    Doulkifli

  • Error generating XML in Apex 4.1.1

    Hi,
    please, I need your help. I have an XML develped in APEX with this process:
    declare
    begin
    select xmlElement(
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("mes", J.MES),
    xmlElement(
    "compras", (
    select xmlAgg(
    xmlElement(
    "detalleCompra",
    xmlElement("codSustento", K.COD_SUSTENTO),
    xmlElement("tpldProv", K.TPLD_PROV ),
    xmlElement("idProv", K.ID_PROV ),
    xmlElement("tipoComprobante", K.TIPO_COMPROBANTE),
    xmlElement("fechaRegistro",to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') ),
    xmlElement("establecimiento", K.ESTABLECIMIENTO ),
    xmlElement("puntoEmision", K.PUNTO_EMISION ),
    xmlElement("secuencial", K.SECUENCIAL),
    xmlElement("fechaEmision", to_char(K.FECHA_EMISION, 'DD/MM/YYYY') ),
    xmlElement("autorizacion", K.AUTORIZACION ),
    xmlElement("baseNoGraIva", K.BASE_NO_GRA_IVA ),
    xmlElement("baseImponible", K.BASE_IMPONIBLE ),
    xmlElement("baseImpGrav", K.BASE_IMP_GRAV ),
    xmlElement("montoIce", K.MONTO_ICE ),
    xmlElement("montoIva", K.MONTO_IVA ),
    xmlElement("valorRetBienes", K.VALOR_RET_BIENES),
    xmlElement("valorRetServicios",K.VALOR_RET_SERVICIOS),
    xmlElement("valorRetServ100",K.VALOR_RET_SERV_100),
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    xmlElement(
    "air", (
    select xmlAgg (
    xmlElement (
    "detalleAir",
    xmlForest (
    P.COD_RET_AIR as "codRetAir",
    from ANEXO_COMPRAS P
    from SRI_COMPRAS K
    ).getClobVal()
    into l_clob_XML
    from ...
    LOOP
    buffer := DBMS_LOB.SUBSTR(l_clob_XML, text_1, text_2);
    EXIT WHEN buffer IS NULL;
    --proceso para preparar la informacion
    sys.htp.p(buffer);
    text_1 := text_1 + text_2;
    END LOOP;
    end;
    but I have a problem, because the "SRI_COMPRAS" table has 38 columns with 950 rows, and the xml is generated only when considering the first 14 columns in that table with all existing records. But I need generate this XML with all the columns of "SRI_COMPRAS".
    The error generate is: *"error on line 2 at column 1: expect '>'"*
    Edited by: JohannaCevallos07 on Sep 27, 2012 3:25 PM

    AdamQ wrote:
    Why is apex_application.add_validation_error deleted in Apex 4.1?What version were you using?
    I thought this was a supported API.Why? It wasn't documented. Off the map there be dragons:
    +{thread:id=294789}+
    +{thread:id=2295323}+
    Always better to seek clarification before tickling their tails:
    +{thread:id=2321397}+
    (I'm waiting patiently...)
    Re: How to create an Apex 3.1 a session context programmatically? contributes to the confusion: that kind of thing is interesting and helpful (unit test package code that references APEX collections) but you use it at your own risk, with appropriate circumspection when it comes to inclusion in production code.
    In my opinion it's bad practice on Oracle's part to include private/unpublished methods in the same packages as public/published APIs. Instead of the {noformat}<tt>apex_*</tt>{noformat} APIs consisting of synonyms on {noformat}<tt>wwv_*</tt>{noformat} objects they should be wrapper packages that only expose public, documented methods&mdash;and preferably these public packages should be in their own schema. Wouldn't hurt performance too much would it? (Guess I'll have to benchmark that...)
    Another question is why not all of the {noformat}<tt>wwv_*</tt>{no format} package bodies are wrapped to limit off-road exploration and subsequent exposure of undocumented methods?

  • (268625273) Q WSI-29 Can you give any performance benchmarks for WLS web services?

    Q<WSI-29> Can you give any performance benchmarks for WLS web services?
    A<WSI-29>: It is very difficult to quantify performance aspects of web services
    since they depend on so many variables including but not limited to: backend system
    processing by stateless session beans and message driven beans, size of XML SOAP
    message sent, system hardware (CPU speed, parallel processing, RAM speed) and
    system software (JVM type and version of WebLogic server). However, let me point
    out that the EJB backend processing of requests both have the best possible scalability
    within the EJB2.0 specification (both stateless session and message driven beans
    can be pooled) and servlets have a proven scalable track record. Thus it should
    be possible to scale your web service deployment to meet demand. The overhead
    in processing XML within the servlet can be significant depending on the size
    of XML data (either as a parameter or a return type). While WLS6.1 does not have
    any features to address this performance concern, WLS7.0 will feature Serializer
    and Deserializer classes which can be dedicated to the XML to Java and Java to
    XML translation (they can also be automatically be generated from a DTD, XML Schema
    or regular JavaBean).
    It is true that web services are not the fastest way to process client requests
    but BEA is committed to making WebLogic server the fastest possible service provider.
    Adam

    see http://www.oracle.com/support/products/oas/sparc30/html/ows08811.html

  • Program to import xml into mysql

    Hello, I am trying to find a program that will get the url of an xml page, and it will convert it into a mysql table. I have managed to find a couple of programs that do this kind of thing, such as Exult professional edition for MySqL and Navicat, but a) They are both trial versions and their full versions require payment and b) The Navicat program can convert from xml files that are saved inside the computer. But I need the program to get the url of the xml page, because I need the database to be updated when the xml page is updated. Can anyone help me with this please?Thank you very much!

    There are certain websites that provide XML feeds about some events that will occure in different places. I want to retrieve these XML pages from 3 different websites in order to create a jsf project. I want to input the information that these XML pages contain into a database because I want to create queries. the information is like this:
    <news groupName="news" type="group">
    &#8722;
         <news_name dataType="RawString" fieldName="news_name" href="http://www.epractice.eu/document/4506" originalElement="span" type="field">
    AT/DE: Administrations can network � wiki shows the way
    </news_name>
    &#8722;
         <news dataType="RawString" fieldName="news" originalElement="div" type="field">
    Efficiency & Effectiveness, Benchmarking, Interoperability and infrastructure, Open Source, eServices for Citizens
    </news>
    <loc dataType="RawString" fieldName="loc" originalElement="span" type="field">Austria, Germany</loc>
    &#8722;
         <news dataType="RawString" fieldName="news" originalElement="div" type="field">
    Using Web 2.0 and semantic technologies, the new Austrian-based platform documents best practice examples of co-operation between administrations at all levels of government. By the end of its first month, it had 53 project descriptions on-line,...
    </news>
    </news>

  • Xml type column

    Hi,
    This is my first time ever working with xml type column. I have a xml type column with name,value pairs. This xml type column needs to be indexed. How can I index this column(which index is suitable)? Also can xml type column be used in where clause for the joins with another table columns.
    Thank You
    SK

    XMLTypes in 10.1 are extremely slow and extremely buggy.
    They're maginally better in 10.2 (with the exception of anything added in that release, most notably XQuery), although there are some disasterous bugs in 10.2 in functionality that was actually fine in 10.1 (e.g. memory leaks, scaling nightmares).
    The XML Respository (required for XSD registration and shredding) is very unstable and will cause performance issues and instance outages.
    This is on top of the intrinsic performance and volume inefficiencies involved with XML.
    If you store data in a (column,row) of a SQL table it needs to be atomic with respect to the context of the database. Hiding information inside XML in a column of a table means your data is no longer even in 1st normal form. Surely we can all agree that is a Bad Idea and contrary to any concept of good practise, at this late stage.
    Furthermore querying XML structures is complex, slow and inflexible due to the asymetric nature of hierarchies. And once your information is in it, you're stuck with the incompleteness of XPath and the inefficiency of XQuery. All the indices in the world won't save you.
    More still, it is almost impossible, and very expensive to constrain the data in the XML other than trivial domain and "data type" constraints. The constraints require procedural validation and are not immediate. So you can kiss goodbye to referential integrity and consistency even if you figure out how to implement them.
    Also "abstract clob" XMLType storage requires multiple full document copies for read consistency purposes, so you will cripple your instance and your storage overhead (typically rather kindly benchmarked at 3 times SQL volume) will exponentially run away.
    Just don't do it.

  • Licensing XML libraries for commercial use...

    After reading the license terms for the XML parser for 'C', I am confused. The license document embedded in the download package, says you need to contact Oracle to license the library for commercial use. However, the click-wrap license for the OTN says you can use the technologies in commercial products. These totally contradict each other. I called Oracle and asked the following question, and after talking with 3 people, nobody knew a difinitive answer.
    Here is the question: If I use the Oracle XML parser for 'C' library in the construction of a commercial application that I am selling, do I need purchase a license from Oracle to do this? If so, who do I contact?
    Thanks,
    - Ted
    null

    It doesn't matter to me as much that the two agreements are different. What I am most concerned with is that BOTH say that I cannot build commercial/for-sale products using the kit without paying for a license. Who do I contact to get a license to use?
    I called the number on the agreement and spoke to people who had no idea what I was talking about, nor who I could talk to.
    Also, since you asked, I have attached the two different sections from the two license agreements below.
    Thanks,
    - Ted
    [email protected]
    DEVELOPMENT ONLY LIMITED LICENSE: Oracle grants Customer a nonexclusive, nontransferable limited license to use the Programs for development purposes only in the indicated operating environment identified by Oracle for a single developer user (one person) on a single computer. Customer may not use the Programs for internal data processing operations or any other commercial or production use. If Customer desires to use the Programs for any use other than the development use allowed under this Agreement, Customer must contact Oracle, or an Oracle reseller, to obtain the appropriate licenses. Customer may make one copy of each licensed Program for backup. No other copies shall be made without Oracle's prior written consent. Customer shall not: (a) remove any product identification, copyright notices, or other notices or proprietary restrictions from Programs; (b) use Programs for commercial timesharing, rental, or service bureau use; (c) transfer, sell, assign or otherwise convey
    Programs to another party without Oracle's prior written consent; (d) cause or permit reverse engineering, disassembly, or decompilation of Programs, except to the extent required for interoperability or to the extent that the foregoing restriction is expressly prohibited by law; or (e) disclose results of any benchmark tests of any Program to any third party without Oracle's prior written approval. This Agreement does not authorize Customer to use any Oracle name, trademark or logo.
    ----->
    II. PROGRAM DISTRIBUTION RIGHTS: Oracle grants to Customer a nonexclusive, nontransferable right to copy and distribute the Programs to third party users ("User(s)") under the terms specified herein, provided that such distribution is free of charge. Prior to distributing the Programs for use by Users, Customer shall require Users to execute a written agreement binding Users to contractual provisions identical to those contained in Section I, III-XI inclusive, a provision specifying that Users shall have no right to distribute the Programs, and a provision specifying Oracle as a third party beneficiary of the User Agreement to the extent permitted by applicable law ("User Agreement"). Customer agrees that it is Customer's responsibility to obtain User Agreements

  • XML versus Database (speed)

    Hello
    Is XML parsing quicker than getting data from database ( with connection pooling), and if , how faster it is ??
    Thanx a lot

    this sounds like cheap philosophy to me, because so many factors are to be taken in account when benchmarking two very different technologies.
    i think the real question is the one being asked again and again: native XML database vs RDBMS?
    the answer depends on the type of data you manipulate: documents or raw data? how do you want to select the data? do you have to perform stats, joins...

  • Ecperf Benchmark through OC4j having pointbase , daffodildb database

    SIR,
    Here i am trying to run Ecperf Benchmark through OC4j having backend pointbase and daffodilDB.
    i am not able to run Ecperf Benchmark , through i am able to deploy the Ecperf.ear
    and emulator.ear through oc4j.(No any problem is occur during Deployment).
    Problem is here is that i am not able run Ecperf application through browser.
    it means that "http://localhost:9999/ECperf"
    for this purpose i have changed accordingly server.xml , datasource.xml and
    default-web-site.xml.
    if u r having any guidelines to for running Ecperf Benchmark through OC4j for any database , mail or reply to me.
    reply me as soon as possible
    Thanks in advance
    Sunil

    SIR,
    Here i am trying to run Ecperf Benchmark through OC4j having backend pointbase and daffodilDB.
    i am not able to run Ecperf Benchmark , through i am able to deploy the Ecperf.ear
    and emulator.ear through oc4j.(No any problem is occur during Deployment).
    Problem is here is that i am not able run Ecperf application through browser.
    it means that "http://localhost:9999/ECperf"
    for this purpose i have changed accordingly server.xml , datasource.xml and
    default-web-site.xml.
    if u r having any guidelines to for running Ecperf Benchmark through OC4j for any database , mail or reply to me.
    reply me as soon as possible
    Thanks in advance
    Sunil Sunil -
    What error message are you seeing when you say you are unable to run the ECperf web application? Is there something returned to the browser or does the browser never connect to the server?
    If you post the snippets of the entries you have made to the various configuration files, someone might be able to spot something amiss.
    If this is Release 2 (versions 902 or 903) that you are running, then by default the web app bindings are now performed in the http-web-site.xml file. Also, the default HTTP port in the http-web-site.xml file is 8888. I guess you've modified this in the correct file, but without seeing it, it's something to at least point out.
    cheers
    -steve-

  • Need to hunt a Shark in the Ocean of  XML parsers

    * I am just a kid started walking in XML roads.
    * I need to design a XML sheet with some complex (obviously!!!) requirement.
    * And I am searching for a good Parser that could efficiently parse a large heap of documents(memory efficiency and Time trade Off) in multiple Threads.
    I searched for knowledge and here below is the conecentrated of what I got.
    there are basically two type of parsers
    1.SAX(StAX) - Fast but hold large memory
    2.DOM - Object oriented realization of XML _ efficient memory consumption _ a bit slow
    But I find a large number of parsers under each type each having their own simplicity and complexities and performance highlights and issues.
    I am little bit confused about them. I searched for their comparison but can't find a few compilation but one( [http://www.xml.com/pub/a/2007/05/09/xml-parser-benchmarks-part-1.html] ). That compilation too had published their benchmarks with SAX n StAX parsers only and DOM parsers are not included.
    So I really need help to get a little enlightening with comparison of SAX n DOM parsers.
    Like * When we should go to DOM parser and When Should go to SAX parsers.
    * When we should not go to DOM parsers and When Should not go to SAX parsers.
    * Among the parsers of their type Which one is the best to use(like performance and Programming Trade Off).
    Also I searched for the answers to the above questions too. But Since I didn't get a absolute idea.
    Also I am posting here these questions since I believe that more than papers, Experience could answer these more.
    So I am positively looking forward to the Experienced people of the Forum for their help.
    If you think the answers are too big to explain please Guide me to the right place or right way.

    Er.Vel wrote:
    there are basically two type of parsers
    1.SAX(StAX) - Fast but hold large memory
    2.DOM - Object oriented realization of XML _ efficient memory consumption _ a bit slowno, this is not correct. more like:
    1. SAX - fast and memory efficient, more complicated to use programmatically
    2. DOM - slower and more memory, easier to user programmatically
    i haven't used StAX, so i can't comment there. basically, DOM builds up everything in memory, which is more convenient to work with, but in general uses more memory. SAX is event based, with only a small amount of xml in memory at any given time. this is much less convenient to work but in general much better for processing large documents quickly (depending on what you want to do with them).

Maybe you are looking for