in

CoreLab MySql Provider

Last post 05-11-2008 5:20 AM by cologic. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-08-2008 6:37 AM

    CoreLab MySql Provider

    Hi,

    I recompiled the subsonic source with the comercial CoreLab MySql Provider, because I am using it in several projects. I tested its connection time with a simple ExecuteScalar query repeating 1000x. Core Lab seems to be much faster than the connector from MySql. I tested the speed with the original subsonic .dll and wondered why it is slower in comparison to my simple select statement using CoreLab.

    If anyone wants to test it:

    1. Use the Corelab.Data and Corelab.MySql Assemblies instead of MySql.Data
    2. Change the MySqlSchemaVariable.PARAMETER_PREFIX to ":"
    3. In MySqlDataProvider.cs, change all Parameters starting with "?" to "@".
    4. In Function AddParameters change replacing line to ...ParameterName.Replace('@', ':');
    5. Thats all!

  • 05-08-2008 4:06 PM In reply to

    Re: CoreLab MySql Provider

     CoreLab MySql Provider is too old use Mysql's official provider. Actually Mysql is buyed Corelab few year back and Mysql's official provide is extention of this.

  • 05-11-2008 5:20 AM In reply to

    Re: CoreLab MySql Provider

    I believe thats not right. They released the newest version on 26-Feb-08 and the provider has features MySql's never had. However, theres a comparison in the CoreLab documents:

     (I'm not from CoreLab, nore that I want you to buy this (expensive) tools. But there will be some developers working with CoreLab tools).

    Feature

    MyDirect .NET

    MySQL Connector/NET

    Connectivity
    Direct mode to access database without MySQL client library

    Yes

    Yes

    Wide client and server versions support

    Yes

    Partial

    Secure connections support

    Yes

    No

    Proxy connections support

    Yes

    No

    Compression support

    Yes

    Yes

    Unicode connections support

    Yes

    Yes

    Advanced data access features
    All MySQL data types support

    Yes

    Yes

    All-in-one component to retrieve and manipulate data from MySQL server data source

    Yes

    No

    MySqlScript to execute scripts

    Yes

    No

    MySqlLoader for fast data loading

    Yes

    No

    MySqlDump to backup and restore a database or its parts

    Yes

    No

    .NET Framework features
    100% managed code

    Yes

    Yes

    CLS-compliant

    Yes

    No

    .NET Framework 2.0 and 3.0 support

    Yes

    Yes

    .NET Framework 1.x support

    Yes

    No

    .NET Compact Framework support

    Yes

    Yes

    Mono Framework support

    Yes

    Yes

    Advanced connection pooling

    Yes

    Yes

    Asynchronous execution support

    Yes

    Yes

    Paginal access to query result

    Yes

    No

    Ability to retrieve metadata information

    Yes

    Yes

    Ability of monitoring query and stored procedures execution

    Yes

    No

    Data source enumeration

    Yes

    No

    Database change notification support

    Yes

    No

    IDE, design time
    Integration with Visual Studio 2002 and 2003

    Yes

    No

    Advanced integration with Visual Studio 2005

    Yes

    Yes

    Integration with Borland Delphi

    Yes

    No

    Help integrated into Visual Studio .NET

    Yes

    No

    Advanced design-time editors

    Yes

    No

    Design-time wizards

    Yes

    No

    Other features
    Support for Data Access Application Block in Enterprise Library

    Yes

    No

    ASP.NET data providers: Membership provider, Role provider, Session State provider, Profile provider

    Yes

    Under
    development

    Easy to deploy

    Yes

    No

    Free commercial usage

    No

    No

    Free support for registered users during 1 year

    Yes

    No

     

Page 1 of 1 (3 items)