Database module & multithreading

Alex Martelli aleax at mac.com
Sat Mar 10 10:42:28 EST 2007


jupiter <anil.jupiter9 at gmail.com> wrote:
   ...
> Python 2.5. At this moment I am using Sqlite3 which is pretty fast but
> it dosent allow me to use multi threading so which database module is
> better in terms of multithreading

Perhaps psycopg2 (with PostgreSQL as the engine), according to
<http://cheeseshop.python.org/pypi/psycopg2/2.0.2> it is specifically
"designed for heavily multi-threaded applications that create and
destroy lots of cursors and make a conspicuous number of concurrent
INSERTs or UPDATEs".


Alex





More information about the Python-list mailing list