Re: [Proposal] Add accumulated statistics - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [Proposal] Add accumulated statistics
Date
Msg-id CA+TgmobQqvFvtZPneDELTW3KYWcmV6=cw6Vm9cs4tuCfUO=e8g@mail.gmail.com
Whole thread Raw
In response to RE: [Proposal] Add accumulated statistics  ("Yotsunaga, Naoki" <yotsunaga.naoki@jp.fujitsu.com>)
Responses RE: [Proposal] Add accumulated statistics  ("Yotsunaga, Naoki" <yotsunaga.naoki@jp.fujitsu.com>)
RE: [Proposal] Add accumulated statistics  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
List pgsql-hackers
On Thu, Dec 20, 2018 at 8:48 PM Yotsunaga, Naoki
<yotsunaga.naoki@jp.fujitsu.com> wrote:
> If so, is not that the number of wait events is useful information?

My theory is that the number of wait events is NOT useful information,
or at least not nearly as useful the results of a sampling approach.
The data that LWLOCK_STATS produce are downright misleading -- they
lead you to think that the bottlenecks are in different places than
they really are, because the locks that produce the most waiting can
be 5th or 10th in terms of the number of wait events.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Commitfest delayed: extend it?
Next
From: Alvaro Herrera
Date:
Subject: Re: Commitfest delayed: extend it?