Slow JDBC time
I have a pretty simple query that takes about one (1) second to run directly in my Oracle client.
SELECT <fields>
FROM <view> s
WHERE <field value> = 30
ORDER BY <fields>
There are only 404 rows that are being returned.
When this same query is executed through a <cfquery> tag, it takes upwards of 35 seconds for the request to complete.
It's not the datasource because we run thousands of queries against this same datasource without any issues. Many of them return thousands of records.
Any direction is appreciated in what and how to look for the bottleneck. Thank you.
