Skip to main content
Participant
August 17, 2008
Question

MYSQL (0.5 Seconds) vs. MSSQL (16 Seconds)

  • August 17, 2008
  • 2 replies
  • 623 views
My testtable has 2 columns and 37.000 records in 2 Versions: MySQL 5.x and MSSQL 2008.

I have build CFCs with simple SQLqueries (Select all, without a where-clause) for both databasesystems.
The CFCs are called by a CFM-Dump-File in my Browsers

The MYSQL-Result is back in approximately 0.5 seconds and shows all records in the browser.

The MSSQL-Resultdump takes 16 ( ! ) seconds and shows only the first 10.000 Records in the browser.

It does't matter if I try IE7 or Firefox 3.

What is going wrong with MSSQL?

Thank you for helping!

Anton

My Software:
Windows XP
Coldfusion 8
MySQL 5
SQLServer2008-Express
SQL JDBC Driver 1.2
JRE Version 7
All Servicepacks and Hotfixes are installed.



This topic has been closed for replies.

2 replies

tclaremont
Inspiring
August 20, 2008
Have you tried the database tuning advisor in SQL Server?
AHA3Author
Participant
September 1, 2008
Thank you for your Information!

I solved the problem by using the mssqlserver in mixed mode without the sqljbc-driver.
Inspiring
August 17, 2008
Problems like this generally have something to do with the driver.
AHA3Author
Participant
August 19, 2008
Hi Dan,
thank you for the answer!

I have installed the current SQLJDBC driver (Version 1.2)
What can I do more?

Is somewhere in the Coldfusion-Universe an Information about the "best" SQLJDBC Driver-Version or about Driver-Tuning?