Question
CFQUERYPARAM makes it slower??
Hi,
I'm running some queries on some very big tables and was looking to use cfqueryparams to speed things up a bit. I've used this before with good success, but now I'm seeing an increase in query execution time by double or more.
I'm on CF 7 Standard, Oracle 10g, JDBC Thin driver. Without the CFQUERY param it takes about 2000ms and 4000+ms with it in place. There are indexes on the customer number and id fields...
Here's one example:
I'm running some queries on some very big tables and was looking to use cfqueryparams to speed things up a bit. I've used this before with good success, but now I'm seeing an increase in query execution time by double or more.
I'm on CF 7 Standard, Oracle 10g, JDBC Thin driver. Without the CFQUERY param it takes about 2000ms and 4000+ms with it in place. There are indexes on the customer number and id fields...
Here's one example: