Skip to main content
Participant
February 12, 2008
Question

CF8 first query on page slow

  • February 12, 2008
  • 2 replies
  • 488 views
We recently switched from CF7 to CF8 and one of the things we noticed was the first query (and only the first query) on our site using CF8 is extremely slow compared to how long took on CF7.

It is a simple query (i.e. select * from table where tableid=1). The table is indexed and it is still taking between 90-200ms to complete. We switched back to CF7 to compare and the query runs between 0 and 16ms everytime.

Our environment is Window Server 2003 running Apache 2.2.6, ColdFusion 8, Microsoft SQL Server 2005. I was just wondering if anyone else has noticed this and if there are any suggestions as to how to increase performance. It is adding that 100-200ms on the total page load time (according to Debugging).

Thanks!
This topic has been closed for replies.

2 replies

vksrinu
Inspiring
February 13, 2008
Once I shifted my application to CF8, its running very slow..i dont know whats happening.

Srinivas
February 13, 2008
There may be a difference in query caching between CF7 and CF8. Check your CF administrator and your CFQUERYs.