Re: performance is slow

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
Al Niessner wrote:
> Any more suggestions on how to speed things up? The one thing that I do
> not like is that I see the network usage sky rocket during this time. Is
> there a way that I can have a pipe connection instead of network?
>   

Is your database on the same machine as your script?  Are you specifying
host='localhost' when you open the connection?  If you specify a full
host name, then it's probably connecting to your externally visible IP
address.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.