Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
133 views

Performance Benchmarks For ODBC vs. Oracle, MySql, SQL Server

The document compares the performance of accessing Oracle, MySQL, and SQL Server databases using ODBC versus using native .NET providers. It conducted benchmarks of inserting records into each database using both methods. The results showed that the native .NET providers were significantly faster than ODBC for each database, with performance increases of 454.31% for Oracle, 36.36% for MySQL, and 48.15% for SQL Server.

Uploaded by

Tịnh Trương
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
133 views

Performance Benchmarks For ODBC vs. Oracle, MySql, SQL Server

The document compares the performance of accessing Oracle, MySQL, and SQL Server databases using ODBC versus using native .NET providers. It conducted benchmarks of inserting records into each database using both methods. The results showed that the native .NET providers were significantly faster than ODBC for each database, with performance increases of 454.31% for Oracle, 36.36% for MySQL, and 48.15% for SQL Server.

Uploaded by

Tịnh Trương
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Ngày 28 tháng 5 năm 2014 Performance benchmarks for ODBC vs. Oracle, MySql, SQL Server .

for ODBC vs. Oracle, MySql, SQL Server .NET Providers - Code Samples & Tutorials

Username Password

Forgot Username or Password?

Search

HOME BLOG PRODUCTS BUY CONSULTING HOSTING SUPPORT

Need a simple CRM and Project Management system?


Check out JobNimbus - CRM for Contractors and Service Professionals.

Performance Benchmarks For ODBC Vs. Oracle, MySql, SQL Server .NET Providers Popular Articles

.net provider MySQL odbc oracle SQL Server


Setting a Windows Form Opacity

Clustered Index vs. Non-Clustered Index in


SQL Server
I did a simple benchmark for the 3 main databases (Oracle 11g, MySQL 5.1, SQL Server 2008) to see how using
ODBC compares to using their native providers in .NET for all database access. To keep things on an even playing C# Download File with Progress Bar
field, all 3 databases were run on the same machine, with the exact same database name, table name, and
Explanation of Cross Domain and Client
schema. Database authenticaton was used by all databases.
Access Policy files for Silverlight
This is a follow-up to the Performance benchmarks for LINQ vs. SqlDataReader, DataSet post where I tested Fixing Relative Paths in C# ASP.NET When
different data access methods. Here I just used DataReaders for all database access because it is the fastest and Using Url Rewriting
put all access on even footing. I have put up the code here (which was adapted from the previous benchmarks) so
you can see my methodology: Getting Started with Microsoft Chart
Controls for ASP.NET 3.5

Recent Comments
Benchmarker_Providers

Here are the results: {"Insertion of illegal


17 hours 2 min ago
******************************
Thanks a lot
Run : 1
4 days 14 hours ago
******************************
Oracle ODBC: 4,822 ms :)
Oracle .NET: 1,158 ms 5 days 17 hours ago
MySQL ODBC: 1,800 ms
MySQL .NET: 1,356 ms Thanks
SQL Server ODBC: 955 ms 5 days 19 hours ago
SQL Server .NET: 470 ms

http://www.devtoolshed.com/content/performance-benchmarks-odbc-vs-oracle-mysql-sql-server-net-providers 1/3
Ngày 28 tháng 5 năm 2014 Performance benchmarks for ODBC vs. Oracle, MySql, SQL Server .NET Providers - Code Samples & Tutorials
Yes!
****************************** 1 w eek 5 days ago
Run : 2
****************************** dfgfd
Oracle ODBC: 4,786 ms 2 w eeks 5 days ago
Oracle .NET: 994 ms
Error on trying to set value
MySQL ODBC: 1,914 ms
MySQL .NET: 1,216 ms 3 w eeks 7 hours ago
SQL Server ODBC: 888 ms xfhg
SQL Server .NET: 517 ms
3 w eeks 6 days ago

****************************** Reply to comment - Code Samples &


Run : 3 Tutorials
****************************** 6 w eeks 10 hours ago
Oracle ODBC: 4,623 ms
Oracle .NET: 981 ms Terminal License
MySQL ODBC: 1,914 ms 6 w eeks 6 days ago
MySQL .NET: 1,213 ms
SQL Server ODBC: 926 ms
SQL Server .NET: 457 ms

------------------------------------------------------------------- Similar
Data Access Type Run 1 Run 2 Run 3 Average
-------------------------------------------------------------------
Oracle ODBC 4,822 4,786 4,623 4,743 Connecting to SQL Server, Oracle, and
Oracle .NET 1,158 994 981 1,044 MySQL with Database or Windows
MySQL ODBC 1,800 1,914 1,914 1,876 Authentication
MySQL .NET 1,356 1,216 1,213 1,261
SQL Server ODBC 955 888 926 923 SQL Server Database Project and
SQL Server .NET 470 517 457 481 Database Source Control
Get the list of ODBC data source names
------------------------------------------------------------------- programatically using C#
Oracle .NET Provider
------------------------------------------------------------------- MySQL Administrator - Can't see with
454.31% faster than Oracle ODBC Remote Desktop session connecting to
Multiple Monitor Workstation
------------------------------------------------------------------- C# Store/Retrieve File in Database
MySQL .NET Provider Image Field using ODBC
-------------------------------------------------------------------
148.77% faster than MySQL ODBC

-------------------------------------------------------------------
SQL Server .NET Provider
-------------------------------------------------------------------
191.89% faster than SQL Server ODBC

As you can see, using the .NET Native Provider for the database you are connecting to makes a HUGE difference. I
avoid ODBC for any high performance system because its convenience in multiple database connections can't
cancel out its severe performance limitations on many systems.

http://www.devtoolshed.com/content/performance-benchmarks-odbc-vs-oracle-mysql-sql-server-net-providers 2/3
Ngày 28 tháng 5 năm 2014 Performance benchmarks for ODBC vs. Oracle, MySql, SQL Server .NET Providers - Code Samples & Tutorials

Add new comment

http://www.devtoolshed.com/content/performance-benchmarks-odbc-vs-oracle-mysql-sql-server-net-providers 3/3

You might also like