Ok here is some quick testing I ran on the different datasources to compare
speeds, I wanted to do it as quick as possible, before the thread dies off. I
didn't really care which one won, I just want the fastest possible drivers. No
settings have been changed. Classes were deleted after each test and server was
restarted. Here is what the code I used looks like.
<cfloop index="i" from="1" to="100" step="1">
<cfquery name="test#i#" datasource="JTDSTest">
Select userid
From Users
</cfquery>
</cfloop>
There are 606 records in this database
1. JTDS : 29891 ms
2. Datadirect : 20969 ms
3. Microsoft JDBC : 24000 ms
Now I ran the exact same thing again, in reverse to see if restarting the
server made a difference.
1. Microsoft JDBC : 16890 ms
2. Datadirect : 18672 ms
3. JTDS : 28922 ms (I refreshed the page 3 times and couldn't get it to go
below this number, I have caching turned on)
I would like to see the test you ran to see why are test vary so significantly.
Were you using the latest Microsoft JDBC drivers? I am using the latest of
every driver in this test.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191693
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54