Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 12-02-2003, 01:59 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,486
sde is on a distinguished road
dotnet Data Access reader vs adapter, and MySQL APIs vs SQL2k

Today I was testing different MySQL APIs for a C# project, and I decided just to make an app.

First I wanted to compare the speed between a data reader and data adapater. Then I wanted to compare those speeds against another MySQL API, and finally I decided why not throw a SQL2k test in there too.
Attached Images
File Type: gif test.gif (22.6 KB, 20 views)
__________________
Mike
sde is offline   Reply With Quote
Old 12-03-2003, 05:46 AM   #2 (permalink)
rdove
Masked Moderator
 
rdove's Avatar
 
Join Date: May 2002
Location: Indianapolis, IN
Posts: 260
rdove is on a distinguished road
yea...looks like SQLClient blew the others out of the water. And I could have told you the datareader would have been faster. The datareader is readonly and only stores one record at a time in memory, so if you are only displaying records using the datareader is the way to go.

Good test. I'm not surprised that the MYSQL tests came out looking worse, since it is a non-MS product
__________________
~Ryan

rdove is offline   Reply With Quote
Old 12-03-2003, 10:53 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,486
sde is on a distinguished road
yeah, i knew the reader would be faster, .. just wasn't sure how much faster.

this is even scarier, .. i tested php/mysql this morning too =/ doesn't look like it handles that much data very well. i'm writting an article on it, so i made this table in html and just took a screen shot.

interesting to say the least. it looks like i might get a build of yukon to test with too =) that will be interesting.

this test is only with the reader.
Attached Images
File Type: gif test2.gif (6.6 KB, 12 views)
__________________
Mike
sde is offline   Reply With Quote
Old 12-04-2003, 06:45 AM   #4 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,161
Belisarius is on a distinguished road
If you can, try testing it with Postgresql, as it's suppose to scale better than MySQL. Or even better, Oracle.
__________________
GitS
Belisarius is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 04:41 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting