500% Performance Increase over ODBC

Windows specific forum
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

500% Performance Increase over ODBC

Post by Karbon »

That's not a typo - 500% - my db benchmark test is now consistently at *least* 5 times as fast as going through ODBC to an SQLite database.

:-)
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
UserOfPure
Enthusiast
Enthusiast
Posts: 469
Joined: Sun Mar 16, 2008 9:18 am

Re: 500% Performance Increase over ODBC

Post by UserOfPure »

With regard to what? Due to v4.20 Final or something else? You didn't say.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

Sorry, yes, that is the native 4.2 SQLite support verses using the SQLite ODBC driver and the PB ODBC subsystem.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

I thought that the SQLite ODBC driver was buggy?

I'm not surprised to hear that the PB implementation is that much faster since it doesn't have to wade through the extra layer that is ODBC etc.
I may look like a mule, but I'm not a complete ass.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

It works pretty well on Win32 systems but doesn't support 64 bit Windows at all. I'm not surprised ODBC is slower than using the DLL directly either but I was surprised at how much slower.

Unfortunately I've still got to keep the SQLite driver as a dependency since ReportMan uses it to access data.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply