Search Postgresql Archives

Re: can I show number of records returned by a query in a log?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On November 16, 2011 05:07:05 PM hyelluas wrote:
> I see 900 queries sent by 1 client in 7 min with 1 click on the screen -
> does the log show the real thing?

The logs show the real thing.  Gotta love ORMs.

> 
> 
> Is it possible to log the number of records returned by that query?

I doubt the record count or data volume is the problem. It's more likely the 
latency cost of sending 900 queries one at a time and waiting for the replies 
at VPN latencies. 

I don't know how to log the result record count, though, maybe someone else 
does.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux