数据库模块&多线程 [英] Database module & multithreading
问题描述
大家好!!!
只是一个简单的问题......当我需要使用多线程时,我应该使用哪个数据库模块,因为我的应用程序需要大量的数据
来自互联网????我还希望这个数据库模块快速,简单有效,无论如何多线程功能都是#1
要求。
Thanx Guys
Anil
jupiter写道:
大家好!
只是一个简单的问题......当我想要使用
时,我应该使用哪个数据库模块多线程因为我的应用程序需要大量数据
来自互联网????我也希望这个数据库模块快速,简单,高效,无论如何多线程功能都是#1
的要求。
Thanx Guys
Anil
请参阅Python DB-API V2兼容数据库模块的threadsafety标志。
0 =没有线程安全
1 =线程可以共享模块
2 = +可以共享连接
3 = + may分享游标
A +
Laurent。
3月10,7:29 pm,Laurent Pointal< laurent.poin ... @ wanadoo.fr>
写道:
jupiter写道:
大家好!
只是一个简单的问题......当我想要使用多线程作为我的时候,我应该使用哪个数据库模块申请需要大量数据
来自互联网????我也希望这个数据库模块快速,简单,高效,无论如何多线程功能都是#1
的要求。
Thanx Guys
Anil
请参阅Python DB-API V2兼容数据库模块的threadsafety标志。
0 =没有线程安全
1 =线程可能共享模块
2 = +可以分享连接
3 = +可以分享游标
A +
Laurent。
这个指针好友的Thanx!我做完了我的作业。某些数据库没有主动维护某些模块无法使用
Python 2.5。此刻我使用的是Sqlite3,速度非常快但是它允许我使用多线程,因此在多线程方面哪个数据库模块更好
@
" jupiter" < a *********** @ gmail.comwrites:
大家好!
只是一个简单的问题......当我需要使用多线程时我应该使用哪个数据库模块因为我的应用程序需要大量数据
来自互联网??? ?我也希望这个数据库模块快速,简单,高效,无论如何多线程功能都是#1
的要求。
对于哪个数据库服务器?
-
Jorge Godoy< jg ** **@gmail.com>
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
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
AnilSee 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.
On Mar 10, 7:29 pm, Laurent Pointal <laurent.poin...@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
@
"jupiter" <an***********@gmail.comwrites:
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.For which database server?
--
Jorge Godoy <jg****@gmail.com>
这篇关于数据库模块&多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!