MySQL Forums
Forum List  »  Connector/Python

Re: Python thread insertion with MySQL
Posted by: Mike Ng
Date: May 13, 2005 03:35PM

Yes, sharing connection between threads is definitely not a good idea. However, using threads with lock and unlocking mechanism with a shared threads also works fine. However, the performance pales incomparison to just simply creating multiple connection for each threads without using lock/unlock.

Options: ReplyQuote


Subject
Written By
Posted
Re: Python thread insertion with MySQL
May 13, 2005 03:35PM


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.