Re: Statement duration reporting

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Erik G(dot) Burrows" <erik(at)erikburrows(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Statement duration reporting
Date: 2006-02-11 16:23:39
Message-ID: 8267.1139675019@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Erik G. Burrows" <erik(at)erikburrows(dot)com> writes:
> So, my question is: What does the duration time in the serverlog
> reflect? Is it just the time the server took to execute the statement,
> or does it reflect also query receive and response transmit time?

The former. The server has no way to measure transit times.

> Any other ideas as to why I'm seeing these odd and contradictory times?

There's a current thread in the pgsql-odbc list about similar issues
seen with ODBC. I doubt its the same problem, because it's different
client software on a different OS, but maybe it'd be worth comparing
notes.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message lst_hoe01 2006-02-11 18:49:50 Re: Postgresql performance and tuning questions
Previous Message Tom Lane 2006-02-11 16:19:06 Ancient messages regurgitated into pgsql-admin, again