Possible Oracle 9.2.0.7 performance issue with DBD::Oracle's column_info()



Hello,

My coworkers and I have a question regarding the SQL statement that DBD::Oracle's column_info() function executes. We depend upon column_info() to discover the data type of a large object column is so we can bind it properly.

While this worked great for us in the past, when we upgraded to Oracle 9.2.0.7 (from Oracle 9.2.0.1) we noticed significant performance drops whenever this method was called. A data load test with dbi profiler running showed that column_info()'s SQL accounts for 78.33% of all dbi calls made during the test. If we hardcode the bind statement's datatype, then the test runs much faster; approximately at the same speed as unmodified code ran with Oracle 9.2.0.1.

Has anyone seen or experienced this issue before? Any thoughts or comments would be appreciated. If there's any additional information you need please let me know.

We are running version 1.16 of DBD-Oracle.

Thanks,
-Tobin

--
Tobin Stelling
Geospiza, Inc.
.



Relevant Pages

  • Re: CBO & different execution plans
    ... a SQL statement in a packaged application that was taking excessively ... long to execute - roughly 3.4 seconds per execution and the packaged ... The problem in this case had to do with Oracle picking ... Providing a hint to Oracle to use ...
    (comp.databases.oracle.server)
  • Re: DBD::Oracle installation - make test failed - ORA-28000: accout locked
    ... tests so no more complaints about the wrong return values from exit. ... But the test 20 and 21 still failed, the errors seem to be Oracle ... SQL statement ... Subject: DBD::Oracle installation - make test failed - ORA-28000: accout ...
    (perl.dbi.users)
  • Re: SQL Query
    ... Therefore, God exists. ... A SQL statement begins with "SELECT," ... This means that you are specifying the "Shipping_Group" column of the ... It also means that the "Shipping_Group" column is of a text data type. ...
    (microsoft.public.frontpage.programming)
  • Re: formula help please
    ... primary and foreign keys are essentials in solving such problems. ... each of the tables are related to each other with each SQL statement. ... engine like Oracle), the program adds additional lines to the actual ... WHERE clause that describes how the tables are to be linked together. ...
    (comp.databases.oracle.misc)
  • Re: SELECT statement efficiency question
    ... Keep in mind that Oracle may transform your SQL statement into another ... suppose on-the-fly compiling of the PL/SQL code if not using Native ...
    (comp.databases.oracle.server)