fastest postgresql module

Frank Miles fpm at u.washington.edu
Fri Mar 18 10:37:34 EST 2005


In article <mailman.545.1111102310.1799.python-list at python.org>,
Timothy Smith  <timothy at open-networks.net> wrote:
>Leif B. Kristensen wrote:
>
>>Timothy Smith skrev:
>>
>>  
>>
>>>has anyone got some hard numbers on which pg access module is the
>>>fastest, i currently use pypgsql, but i can't help but feel it's a
>>>little slow.
>>>3 seconds to connect, send one query, get th return data.
>>>i'm on a adsl 1.5mbit/256kbit link, the server is on a 10/10mbit, and
>>>i have a ping of 245ms average.
>>>maybe pypgsql does too much backand forth, i don't know.
>>>    
>>>
>>
>>You might want to try psycopg, it's claimed to be optimized for speed.
>>  
>>
>my only issue with psycopg, is last time i looked they had no win32 port?

psycopg is available for win32 (though the development version might not be)
Try:
	http://www.stickpeople.com/projects/python/psycopg/

HTH...
	-frank
-- 



More information about the Python-list mailing list