As per the current mysql Connector/Net implementation for each get coonection call it is calling MySql.Data.MySqlClient.NativeDriver.Ping() method and MySql.Data.MySqlClient.NativeDriver.SetDatabase(String) internally. As we have ASP.NET web application, for each web request we have near about 25 to 30 calls. So it is above mentioned method which is really performance overhead for our application.
We are using pool connection and we are getting connection from pool but for getting pool connection also it is calling Ping and SetDataBase method is really overhead.
Is there any way to avoid Ping and SetDataBase call for pooled connection?
Regards,
Dipak Pawade
We are using pool connection and we are getting connection from pool but for getting pool connection also it is calling Ping and SetDataBase method is really overhead.
Is there any way to avoid Ping and SetDataBase call for pooled connection?
Regards,
Dipak Pawade