Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

macromedia_drivers.jar performance problems

$
0
0

We are currently running CF11 Update 6 and are connecting to Oracle 11g.  In previous upgrades to CF11, we discovered that use of the most recent macromedia_drivers.jar file has caused significant performance problems on queries.  As a result, we had rolled back to a previous version of the drivers file and are running with macromedia.jdbc.oracle.OracleDriver version 4.2.

 

We are now upgrading to oracle 12c and are required to run macromedia.jdbc.oracle.OracleDriver 5.1.  However, the peformance is still a problem.  I have a sample .cfm file that does a basic query and dumps the query.  The execution time on the query on driver 5.1 averages 4000 ms and on driver 4.2 is 200 ms.

 

Sample .cfm Code:

<cfset variables.strUsername = "dm_full" />

<cfset variables.strPassword = "test" />

<cfset variables.strProtId = "5" />

 

<cfquery name="qProtTrack" datasource="asthmanet_dsn" username="#variables.strUsername#" password="#variables.strPassword#">

    SELECT prot_track_id, prot_track_name

      FROM asthmanet.protocol_track

     WHERE prot_id = <cfqueryparam cfsqltype="cf_sql_varchar" maxlength="3" value="#strProtId#">

       AND net_id = <cfqueryparam cfsqltype="cf_sql_integer" value="3" null="no" />

     <!--- ORDER BY TO_NUMBER(min_age) --->

</cfquery>

<cfdump var="#qProtTrack#">

 

 

Any help is appreciated.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>