From: | "Simon Riggs" <simon(at)2ndquadrant(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: log_duration |
Date: | 2005-02-05 00:12:31 |
Message-ID: | KGEFLMPJFBNNLNOOOPLGIEGHCIAA.simon@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> From: Tom Lane
> "Simon Riggs" <simon(at)2ndquadrant(dot)com> writes:
> > On top of a confusing day, I now have this:
> > I set log_duration = true in a postgresql.conf file.
> > I startup and test, local users connected via psql:
> working, no problem.
> > Users connecting remotely, same user, same database: no log of query
> > statement durations.
> > There is nothing in the code that sets this value
> independently for sets
> > of users (is there?)
>
> No. How sure are you that the remote users are really
> connecting to the
> same postmaster?
Yes, very definitely.
I'm sitting here watching the Statement: lines scroll up the screen for
the remotely connected users.
Local sessions show both Statement: and Duration:
Can't see anything in the code that gives any kind of conditional on
that.
The code is straight 8.0.1, no code editing, but compiled on SUSE.
I wouldn't care, but I'm trying to tune the database, so the missing
data matters,
Best Regards, Simon Riggs
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2005-02-05 01:36:13 | Re: PG 8 Out of memory issuing queries |
Previous Message | Tom Lane | 2005-02-04 23:50:53 | Re: Recovery using Online Backup+WAL and broken passwords |