SAX  ..crimson parser vs xerces parser..does changing parsers help

Hello ...I relatively new to XML technology.My question is does changing parsers from say crimson to xerces(or such...) improove the performance of an application.Our application is faced with a performance problem and I was wondering if changing parsers has a substantial affect..if at all ther is any.
Thanks so much for your time.
----

Try it and see. Asking people to predict the
performance of code they know nothing about is
pointless.I understand what you say ...thats true .But the application I am working on takes around 16 hours to finsh(It actually loads data to a remote server and I cant test it many times).Before trying with different parsers ...I wanted to know if it is worth doing that .
Thanks again.....

Similar Messages

  • How to use Xerces parser in my code

    Hello all,
    This is my first time in the forumn. I am a beginer to xml. I am trying to use xerces SAX parser to parse the xml document. I have downloaded xerces 2.6.2 in the c drive. Can you please guide me how can I use it in my piece of code and how to execute. I tried using the parser available on my system. This code works fine. But I am confused with how can modify my code to parse using Xerces parser.
    Help appreciated!
    import javax.xml.parsers.SAXParserFactory;//This class creates instances of SAX parser factory
    import javax.xml.parsers.SAXParser;//factory returns the SAXParser
    import javax.xml.parsers.ParserConfigurationException;//if the parser configuration does not match throws exception
    /*2 statements can be substituted by import org.xml.sax.*;
         This has interfaces we use for SAX Parsers.
         Has Interfaces that are used for SAX Parser.
    import org.xml.sax.XMLReader;
    import org.xml.sax.SAXException;
    import java.io.*;
    import java.util.*;
    public class CallSAX_18 {
         public static void main (String []args)
                   throws SAXException,
                   ParserConfigurationException
                   IOException {
         /*     3 statement below can be substitued by this below 1 statement when using other parser
    XMLReader xmlReader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
              SAXParserFactory factory = SAXParserFactory.newInstance();
              SAXParser saxParser = factory.newSAXParser();
              XMLReader xmlReader = saxParser.getXMLReader();
              /*/MyContentHandler has callback methods that the SAX parser will use.This class implements startElement() endElement() etc methods.
              DBContentHandler dbcontent = new DBContentHandler();
              xmlReader.setContentHandler(dbcontent);
              xmlReader.parse(new File(args[0]).toURL().toString());

    Well, I am not too familiar with SAX, but I know my DOMs 8-)
    is there a reason you are using SAX to parse versus DOM?
    what is your final objective that you want to accomplish? Perhaps
    DOM might be better? Are you trying to parsing XML into nodes?

  • Use of Xerces Parser in out application with Oracle App Server 9.0.4

    The problem in brief:
    Our product is a web-app that runs under various Application servers.
    One of our customers who uses Oracle App server, recently upgraded from 9.0.2 (9g) to 9.0.4 (10g), and our product no longer works with the latter version.
    Our product uses XML parser Xerces 1.1.
    In 9.02 it was possible to replace the App servers parser with Xerces 1.1. In 9.02 it was possible to replace the App servers parser with Xerces 1.1 (We modified the opmn.xml file, setting the Java options for our oc4j instance bootclasspath with xerces parser). Hence, our product works.
    In 9.0.4, apparently, Oracle moved to a different parser, and it no longer allows the parser to be replaced. If the bootclasspath is modified with XERCES(tested various versions of xerces) parser, rightfully so ORACLE Application server does not start.
    Unlike other prominent Application Servers (such as webshpere etc,) the Oracle application server does not support separate JVMs or namespaces for web-apps either.
    We like, oralce application server, OC4J instance for our application to use the xerces parser version qualified with our product. We understand, replacing the XML parser for the entire Oracle Application Server is not supported function.
    Since, Oracle Application Server is loading the oracle 'xmlparserv2' at system class path, though the applicaton has xerces.jar in application path (either in AppLib or web-inf/lib directory, Its not a class loading issue) it is not getting used (since javax.xml.parsers.documentbuilderFactory is mapped to oracle parser).
    So, it looks like the only option available to us is to modify our product to use Oracle's XML parser. This is a major software change, and we want to keep it as last resort option.
    Any suggestion and help will be higly appreciated.
    Perraju Nadakuduty (raju)
    E-mail:[email protected]

    Raju --
    Thanks for the intelligent posting on a difficult issue for you.
    I wasn't aware of anything specifically being introduced that prevented the bootclasspath technique from working** in the 904 release.
    For 904, the bootclasspath needs to be put in the start parameters tag of the java-options tag.
    <process-type id="home" module-id="OC4J" status="enabled">
    <module-data>
    <category id="start-parameters">
    <data id="java-options" ... -Xbootclasspath/a:/java/lib/xerces.jar"/>
    </category>
    </module-data>
    </process-type>
    You can also try copying the xerces.jar into the jre/lib/ext directory so it's loaded by the system classloader and see if that works**. This will put xerces at the extension level so
    **these workarounds are not supported and will put you in an unsupported situation if a problem occurs.
    The good news is that have taken steps to clearly enable the separation of container versus appplication class spaces in thenext production release (10.1.3) of OC4J. We will be providing a new classloading model which cleanly separates the two namespaces and allows applications to provide their own versions or distributions of class libraries with no collisions with the OC4J runtime libraries.
    I don't know of any easy ways to do what you need -- other than reworking the app to use JAXP so that the parser implementation used is pluggable as you kind of allude to. If it was possible, I'd do that rather than hard coding in the use of the Oracle XML parser.
    But just to reiterate, switching in xerces at the bootclasspath level is not a supported operation since it may have an effect on the OC4J runtime operation.
    cheers
    -steve-

  • Xml parsing, one works, one does not?

    I am using the xerces parser to validate a xml against a schema. it works fine if i just specified the location of the xml file. however, if i converted the xml file into byte[], it does not work.
    something i did not do right?
    thanks.
    //works
    myParser.parse("C://test.xml");
    //does not work, xml_data is the byte[] of test.xml
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    errors:
    [warning] org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'stuff.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    [error] org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'ElectronicPayment'.
    cvc-elt.1: Cannot find the declaration of element 'Person'.

    You have:
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data);
    myParser.parse(new InputSource(bais));
    ERROR is: xml_data is a string, not bytes
    so: try
    ByteArrayInputStream bais = new ByteArrayInputStream (xml_data.getBytes());
    myParser.parse(new InputSource(bais));

  • How do you make Xerces parser generate doctype to XML-file?

    When I use javacode (with xerces parser) to update an XML-file the doctype-line disappears!!!!
    Anyone how knows how to solve this problem????
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE test SYSTEM "StatisticStandard.dtd"> <---- This is the line I want to keep!!!
    <test>
    <totalanswered>5</totalanswered>
    <set>
    <alt>1</alt>
    </set>
    </test>

    Hi!
    I found a sort of solution to my problem. I don't think it is the best, but it works!
    Where you write to file you add this line (look for the arrow).
    (I use the javax.xml.transform package)
    Source xmlSource = new DOMSource(document);
    Result result = new StreamResult(
    new FileOutputStream(path+file));
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Transformer transformer = transformerFactory.newTransformer();
    transformer.setOutputProperty(javax.xml.transform.OutputKeys.DOCTYPE_SYSTEM, "dtdfilename.dtd"); <-- This one does the trick!!!
    transformer.transform(xmlSource, result);
    Anette :)

  • Question About Xerces Parser and Java  JAXP

    Hi,
    I have confusion about both of these API Xerces Parser and Java JAXP ,
    Please tell me both are used for same purpose like parsing xml document and one is by Apache and one is by sun ?
    And both can parse in SAX, or DOM model ?
    Is there any difference in performane if i use xerces in my program rather then JAXP, or is ther any other glance at all.
    Please suggest some thing i have and xml document and i want to parse it.
    Thanks

    Hi
    Xerces is Apaches implementation of W3C Dom specifiacation.
    JAXP is a API for XML parsing its not implementation.
    Sun ships a default implementation for JAXP.
    you have factory methods for selecting a parser at run time or you can set in some config file about what is the implementaion class for the SAXParser is to be chosen (typically you give give the class file of xerces sax parser or dom parser etc..)
    go to IBM Developerworks site and serch for Xerces parser config. which have a good explination of how to do it.
    and browse through j2ee api .may find how to do it.

  • Xerces parser

    hi
    Is there anything wrong with the following code
    The Document object returned by the code is always null
    import java.io.PrintWriter;
    import org.apache.xerces.parsers.DOMParser;
    import org.w3c.dom.*;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Node;
    import org.w3c.dom.Text;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    public class PushParser {
    public static void main(String a[]){
    try{
    org.apache.xerces.parsers.DOMParser parser = new org.apache.xerces.parsers.DOMParser();
    parser.parse(a[0]);
    System.out.println(" parser==="+parser);
    Document doc =parser.getDocument();
    System.out.println(" doc==="+doc);
    } catch(Exception exp){
    System.out.println(" exp"+exp);
    }

    is the Document returned a null reference or is it a
    document with a null value?
    (and use javax.xml.parsers.DocumentBuilder, it's the
    standard way to perform DOM parsing, xerces is
    apaches' implementation)It was a document with a null reference and thanks for the suggestion

  • Org.xml.sax.SAXParseException: com.sun.xml.parser/P-067

    this is an error I get, i tried everything to solve it, please help
    org.xml.sax.SAXParseException: com.sun.xml.parser/P-067
    at com.sun.xml.parser.Parser.fatal(Parser.java:2817)
    at com.sun.xml.parser.Parser.fatal(Parser.java:2805)
    at com.sun.xml.parser.Parser.parseInternal(Parser.java:493)
    at com.sun.xml.parser.Parser.parse(Parser.java:284)
    at ParseXML.readFile(ParseXML.java:56)
    at ParseXML.getXMLData(ParseXML.java:40)

    Googling I get this....
    P-067 = Document root element is missing.

  • Xerces Parser... Please Help.

    Hello,
    I have a problem when I use the XERCES Parser.
    I want to generate a Option FieldType of a HTMLForm.
    My code is:
    Element select = sourceDoc.createElement("select");
       select.setAttribute("name", name);
       select.setAttribute("required", required);
       if (Numitems > 0){
        for(int k=0;k<Numitems;k++){
           Element option = sourceDoc.createElement("option");
           option.setAttribute("value", items[k]);
         select.appendChild(option);
    }and then generate:
    <select name="form/camp1" required="true" value="">
    <option value="hola"/>
    <option value="adeu"/>
    <option value="peich"/>
    </select>
    But I want that the parser result could be:
    <select name="form/camp1" required="true" value="">
    <option value="hola" HOLA </option>
    <option value="adeu" ADEU </option>
    <option value="peich" PEICH </option>
    </select>
    How can I do it??
    Thank you.
    PD:Excuse me my English.

    As I understand you want to add a text to your node.
    option.appendChild(sourceDoc.createTextNode(items[k]));
    that should do it

  • Creating spreadsheets using xerces parser

    Hi,
    Is it possible to creat spreadsheets(displaying xml as xls) using xerces parser?
    If its possible please tell me the way to do.

    In APPLET tag in your HTML page specify all dependent jar names in ARCHIVE attribute. At server side put dependent jars along with your applet jar.
    Thanks,
    Mrityunjoy
    Edited by: mrityunjoy on 5 Mar, 2009 12:56 PM

  • IsSchemaValid does chang the xml-encoding header from UTF-8 to WINDOWS-1252

    I found the following effect:
    isSchemaValid does changing the encoding - entry of the xml-file-header
    generating xml-file by using DBMS_XMLGEN :
    xmldoc := DBMS_XMLGEN.getXML(ctx);
    with the header of the file is
    <?xml version="1.0" encoding="UTF-8"?>
    change the xmldoc to a xmlType
    and validate it against the schema
    xmldoc_xmlType:=(xmltype(xmldoc)) ;
    xmldoc_xmlType.isSchemaValid ( bSchemalocation)
    after this the header of the file is
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    my DB:
    R11_2_0_2 / Windows 64
    the same in
    R11_2_0_1 / Windows 32
    select name, value from v$parameter where upper(name) like '%NLS%'
    nls_calendar     
    nls_comp          BINARY
    nls_currency     
    nls_date_format     
    nls_date_language     
    nls_dual_currency     
    nls_iso_currency     
    nls_language          AMERICAN
    nls_length_semantics     BYTE
    nls_nchar_conv_excp     FALSE
    nls_numeric_characters     
    nls_sort     
    nls_territory          AMERICA
    nls_time_format     
    nls_timestamp_format     
    nls_timestamp_tz_format     
    nls_time_tz_format     
    register my schema by:
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local      => FALSE,      
    gentypes      => TRUE,      
    genbean      => FALSE,      
    gentables      => TRUE,      
    force      => FALSE,
    owner      => dbuser
    ,CSID      => nls_charset_id('AL32UTF8')
    How can I let or change back the xml-encoding entry to UTF-8 ?
    regards

    Your solution should not be relied upon...
    C:\Temp>sqlplus /nolog @t1 %CD%
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Mar 4 09:41:32 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> spool testcase.log
    SQL> --
    SQL> connect sys/oracle as sysdba
    Connected.
    SQL> --
    SQL> set define on
    SQL> set timing on
    SQL> --
    SQL> def XMLDIR = &1
    SQL> --
    SQL> def USERNAME = XDBTEST
    SQL> --
    SQL> def PASSWORD = &USERNAME
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user XDBTEST cascade
    User dropped.
    Elapsed: 00:00:00.24
    SQL> grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
      2  /
    old   1: grant create any directory, drop any directory, connect, resource, alter session, create view to &USERNAME identified by &PASSWORD
    new   1: grant create any directory, drop any directory, connect, resource, alter session, create view to XDBTEST identified by XDBTEST
    Grant succeeded.
    Elapsed: 00:00:00.07
    SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
      2  /
    old   1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
    new   1: alter user XDBTEST default tablespace USERS temporary tablespace TEMP
    User altered.
    Elapsed: 00:00:00.00
    SQL> set long 100000 pages 0 lines 256 trimspool on timing on
    SQL> --
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> create or replace directory XMLDIR as '&XMLDIR'
      2  /
    old   1: create or replace directory XMLDIR as '&XMLDIR'
    new   1: create or replace directory XMLDIR as 'C:\Temp'
    Directory created.
    Elapsed: 00:00:00.00
    SQL> create table XML_DEFAULT of XMLTYPE
      2  /
    Table created.
    Elapsed: 00:00:00.11
    SQL> create table XML_CLOB of XMLTYPE
      2  XMLTYPE store as CLOB
      3  /
    Table created.
    Elapsed: 00:00:00.01
    SQL> select *
      2    from nls_database_parameters
      3   where parameter in ('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET')
      4  /
    NLS_LANGUAGE                   AMERICAN
    NLS_TERRITORY                  AMERICA
    NLS_CHARACTERSET               AL32UTF8
    Elapsed: 00:00:00.02
    SQL> declare
      2    XML_DEFAULT XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
      3    XML_CLOB    XMLType := xmltype('<?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>') ;
      4  begin
      5    delete XML_DEFAULT;
      6    delete XML_CLOB;
      7    insert into XML_DEFAULT values (XML_DEFAULT);
      8    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT.xml');
      9    IF  XML_DEFAULT.isSchemaValid ( 'SCHEMALOCATION_DOES_NO_MATTER_FOR_TEST_CASE.XSD', 'SCHEMA_NO_MATTER') = 1 THEN  null; ELSE  null; END IF;
    10    commit;
    11    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_IS_VALID.xml',nls_charset_id('WE8MSWIN1252'));
    12    dbms_xslprocessor.clob2file( XML_DEFAULT.getclobval() , 'XMLDIR','XML_DEFAULT_WIN1252.xml');
    13    insert into XML_CLOB values (XML_CLOB);
    14    dbms_xslprocessor.clob2file( XML_CLOB.getclobval() , 'XMLDIR','XML_CLOB.xml');
    15    commit;
    16  end ;
    17  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.27
    SQL> --
    SQL> host type XML_DEFAULT.xml
    <?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_DEFAULT_IS_VALID.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_DEFAULT_WIN1252.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <TEST>SELECT</TEST>
    SQL> --
    SQL> host type XML_CLOB.xml
    <?xml version="1.0" encoding="WINDOWS-1252"?><TEST>SELECT</TEST>
    SQL> --
    SQL>First, the character set changes because isSchemaValid() causes the document to be parsed and converted to the internal database character set, as does storing it in a table.
    It appear that your solution works in SQL because the semantics of SQL are such that it causes a 'copy' of the XMLType to take place before running the isSchemaValid() processing, were we to optimize away that copy as a result of a patch or performance optimization project then you solution would break...
    If you want the output in a particular character set you should force that using XMLSerialize or getBlobVal(charsetid). Unfortunately we don't have a convience method for writing BLOBS on DBMS_XSLPROCESSOR...

  • Parse CPU to Parse Elapsd %:  = 0.01

    Hello;
    my database 11.1.0.7 the AWR report shows me the following measures and I need your advices in how to increase the DB performance.
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %: 99.99 Redo NoWait %: 98.26
    Buffer Hit %: 99.96 In-memory Sort %: 100.00
    Library Hit %: 85.72 Soft Parse %: 77.76
    Execute to Parse %: 49.00 Latch Hit %: 99.87
    Parse CPU to Parse Elapsd %: 0.01 % Non-Parse CPU: 93.44
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Avg
    wait % DB
    Event Waits Time(s) (ms) time Wait Class
    DB CPU 13,602 51.9
    knpc_anq_AwaitNonemptyQueue 957 4,641 4849 17.7 Other
    direct path read 1,698,099 1,053 1 4.0 User I/O
    log file switch (checkpoint in 5,171 466 90 1.8 Configurat
    Replication Dequeue 146,059 395 3 1.5 Other
    Memory Statistics
    ~~~~~~~~~~~~~~~~~ Begin End
    Host Mem (MB): 63,841.0 63,841.0
    SGA use (MB): 16,960.0 16,960.0
    PGA use (MB): 542.1 475.7
    % Host Mem used for SGA+PGA: 27.42 27.42
    Thanks and best regards
    Ali

    801294 wrote:
    my database 11.1.0.7 the AWR report shows me the following measures and I need your advices in how to increase the DB performance.
    Instance Efficiency Percentages (Target 100%)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Buffer Nowait %:   99.99                                Redo NoWait %:   98.26
    Buffer  Hit   %:      99.96                                In-memory Sort %:  100.00
    Library Hit   %:      85.72                                Soft Parse %:   77.76
    Execute to Parse %:   49.00                            Latch Hit %:   99.87
    Parse CPU to Parse Elapsd %:    0.01              % Non-Parse CPU:   93.44
    Top 5 Timed Foreground Events
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Avg                 
    wait         % DB          
    Event                                               Waits            Time(s)       (ms)        time       Wait Class
    DB CPU                                                                13,602                        51.9          
    knpc_anq_AwaitNonemptyQueue         957              4,641          4849        17.7        Other    
    direct path read                                 1,698,099     1,053          1             4.0          User I/O 
    log file switch (checkpoint in               5,171            466             90           1.8          Configurat
    Replication Dequeue                          146,059         395             3             1.5          Other 
    Memory Statistics
    ~~~~~~~~~~~~~~~~~                       Begin          End
    Host Mem (MB):                   63,841.0     63,841.0
    SGA use (MB):                    16,960.0     16,960.0
    PGA use (MB):                     542.1         475.7
    % Host Mem used for SGA+PGA:         27.42          27.42
    Your title points us at one of the Instance Efficiency ratios - don't bother looking at them, they're basically a waste of time and source of confusion.
    a) How many CPUs in your machine
    b) What's the snapshot interval (we could assume it's the default 1 hour, but it's best to be sure)
    c) Is there any other application or database running on the same machine
    d) Since you seem to have the licence to run AWR, why haven't you checked the ADDM report that goes with this AWR report
    Observations
    A very large fraction of your time is spent on CPU - what is that CPU time doing, and can you do less of it (e.g. check SQL ordered by CPU).
    You are doing a very large number of direct path reads, that means you are using a large amount of CPU to examine a large number of blocks - what process is doing this, and is it necessary at this point. Check SQL ordered by reads, check segments by physical reads and (if it's in 11.1.0.7) segments by direct reads. Those reads are very fast (1ms) so there's a reasonabl chance they're coming from a file-system cache - why do you have a database with a 16GB SGA when the machine has 64GB of RAM ?
    You're spending some time "checkpoint incomplete" - the ADDM would probably tell you to increase the size or number of your log files. This won't make things much faster, but it's very easy to do and a low risk change so you might as well do it/
    I've never seen: "knpc_anq_AwaitNonemptyQueue", so I'd have to check the manuals, MOS, and google for it, but my first though is that an average wait time of 4849 ms might mean that it's a "mostly idle" event with a timeout of 5 seconds, so I'd check v$system event to see how many timeouts have happened compared to number of waits. Since its name includes the word queue, and you also have waits on "Replication Dequeue" (which is another I've not come across before) I'd be inclined to guess that the two waits are some how linked, and that you're doing some sort of replication into this database - and that might explain pressure of the redo log which could be why your log files are too small (or too few).
    If I combine your "% Non-Parse CPU: 93.44" with your CPU time 13,602 seconds, that's about 900 seconds - significant, but not worth pursuing until you've dealt with the direct path reads and more of the 93.44%. (Bear in mind that the CPU spent by Oracle is not the only CPU used by the machine, and those direct path reads may be causing a lot of O/S CPU to be used as well.) (Note: what's the point of a ratio if the first thing you have to do with it to make it useful is to multiply it by something else ?
    http://jonathanlewis.wordpress.com/2006/12/27/analysing-statspack-2/ )
    Strategy
    Find out what's causing the direct path reads - that's probably going to change the whole profile if you can eliminate most of that work.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Author: <b><em>Oracle Core</em></b>

  • "Parser module cannot parse the file" - opening .ai files in PS CS3

    Hi,
    I understand Photoshop CS3 can open Illustrator .ai files.
    When inside Photoshop, file/open, select .ai file, I get the following message:
    "Could not complete your request because the parser module cannot parse the file"
    This presents a huge problem because I have original artwork I need to send to the printers, but cannot get into it! It was created by another company on our behalf.
    I have downloaded and installed the Camera RAW 4.5 update and it hasn't helped, the error still occurs.
    Does anyone have any idea what is causing this?
    Many thanks!
    Sally

    If the Illustrator file is correctly saved you can "Place" it in Photoshop. It will appear as a Smart Object.

  • Hard Parse or Soft Parse ?

    Hi Experts,
    If we execute a SELECT statement in SQL*PLUS by passing the value using ampersand operator, whether hard parsing will occur or soft parsing ?
    SQL> select last_name from employees where department_id = &dept_no;
    Enter value for dept_no: 100
    old   1: select last_name from employees where department_id = &dept_no
    new   1: select last_name from employees where department_id = 100
    SQL> select last_name from employees where department_id = &dept_no;
    Enter value for dept_no: 110
    old   1: select last_name from employees where department_id = &dept_no
    new   1: select last_name from employees where department_id = 110
    When I am executing V$SQL, for each different value I am seeing different SQL_ID. Please explain on this.
    Many thaks in advance for your help.
    Cheers,
    Suri

    hi ,
    the best way to check for for hard parse and soft parse is by querying the data dictionar view v$sqlarea . There is a column called parse_counts(not sure of the name). the moment you execute a query , a row is reflected in this view.
    for eg , when you query
    select * from emp where empno=101,
    select * from emp where empno=102,
    select * from emp where empno=103,
    query the v$sqlarea  with a filter predicate on the sql_text . i.e  select * from v$sqlarea where sql_text like  '%select * from emp %'.
    And then try querying the emp table using bind variable,
    select * from emp where empno=:x; -- pass 101 ,102,103
    No new rows are formed in the v$sqlarea,rather the parsed_count keeps on increasing , contrary to the above queries(without using bind variables in which each query is new to the parser).
    @Gurus : in 11g , i  have observed that all queries are converted to make you of bind variables .I knew that this was the implicit behaviour of plsql ,but now have they enhanced the sql engine too ?
    Thanks
    Rahul

  • My ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    my ipod touch (generation 4) is not recognized by itunes. I've each time to reinstall itunes, it works few days and suddenly not without reason-only was is reinstallation-reset of ipod doesn't change something.does someone can help me please?

    Wow the customer service is even worse. Does Apple want me to go around jailbreaking my iPod now so I can use something that actually recognizes my product?

Maybe you are looking for

  • MP3 in iWeb (version 1.1.2)

    I have been using iWeb to create my website and then downloading it through a third-party FTP program to my non-Mac host. The problem I've been having is with my audio files. Why are the PC-users who are trying to access the MP3's on my site not able

  • Different soundvolume in different apps?

    Hello, I'm kinda new to the linux community, and ArchLinux really makes me feel comfortable with it. I've learned plenty using the ArchWiki, ArchForum and other general linux wikis. I'm not really getting all the alsa/oss/etc stuff, yet, but I think

  • Two jdbc connections in one transaction

    Hi<br>           <br>           In a method of a container managed ejb session bean I have two jdbc connections. I've expected, that they will be in the same transaction, so results of any actions performed with first connection will be visible for t

  • MWST Tax code

    Hi All, MWST condition type  is only available in Purchasing pricing procedure MM not in Tax procedure under FI. 1) How can i use this condition type & post value to VST key. 2) should i include MWST in Tax procedure also. Pls advise how to use this

  • Subquery in the From Clause

    I have a query the contains a subquery in the from clause. The problem is how to join one of the tables in the subquery to one of the main tables. If I hard a value, the query runs, but using a table.column produced an "invalid column name" error. Ex