MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: Remote MySQL Query takes a long time to run
Posted by: Peter Brawley
Date: July 14, 2015 01:37PM

You're right, instantiating MySQLConnection isn't thread-safe (analogous Connection instantiations in SQL Server are) and it's a problem for web apps.

Does this help?

" ... use a lock structure in your code wrapped around calls to the connector. That way, the lock penalty is only paid by people who need parallel execution." --

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.