libpq performance - Mailing list pgsql-general

From Juan Backson
Subject libpq performance
Date
Msg-id 27c25bc40908230908t159341ebs647cbbb8129bd54a@mail.gmail.com
Whole thread Raw
Responses Re: libpq performance
List pgsql-general
Hi,
 
I have a sql that only takes 0.3 ms to run when using psql with "explain analyze".
 
However, when I execute it using PQexec, it takes 12ms for PGexec.  Does anyone know why it is that slow?
 
My db server is in the internal network, so there should not be any latency issue.
 
Any suggestion will be greatly appreciated.
 
Thanks,
JB

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Multiple table entries?
Next
From: Tom Lane
Date:
Subject: Re: Multiple table entries?