Re: DB Pool

2008-07-22 Thread John Nagle
bcurtu wrote: Hi, I use MySQLdb lib to access my DB, because I want to optimize my SQL queries. The application I'm working on has quite a few traffic load, so I want to minimize the time of creating/destroying cursors: My typical code is sth like: cursor=con.cursor() cursor.ex

Re: DB Pool

2008-07-22 Thread Diez B. Roggisch
bcurtu wrote: > Hi, > > I use MySQLdb lib to access my DB, because I want to opttimize my sql > queries. The application I'm working on has quite a few traffic load, > so I want to minimize the time of creating/destroying cursors: > > My typical code is sth like: > > cursor=con.cursor()