Database module & multithreading

jupiter anil.jupiter9 at gmail.com
Sat Mar 10 15:39:13 CET 2007


On Mar 10, 7:29 pm, Laurent Pointal <laurent.poin... at wanadoo.fr>
wrote:
> jupiter wrote:
> > Hi guys!!!
>
> > Just one quick question... Which database module should I use when I
> > want to use multi threading as my application requires lots of data
> > from internet ???? I also want this database module to be fast, simple
> > n efficient, in any case multi threading capabilities are # 1
> > requirement.
>
> > Thanx Guys
>
> > Anil
>
> See the threadsafety flag of Python DB-API V2 compliant database modules.
> 0 = no thread safe
> 1 = threads may share module
> 2 = + may share connections
> 3 = + may share cursors
>
> A+
>
> Laurent.

Thanx for this pointer buddy! I have done my homework. Some Database
modules are not actively maintained some modules  does not work with
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

@




More information about the Python-list mailing list