Re: track_io_timing default setting - Mailing list pgsql-hackers

From Laurenz Albe
Subject Re: track_io_timing default setting
Date
Msg-id 1dd8f9999f795519d5521e1a086135c63783b6b4.camel@cybertec.at
Whole thread Raw
In response to Re: track_io_timing default setting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: track_io_timing default setting
List pgsql-hackers
On Fri, 2021-12-10 at 10:20 -0500, Tom Lane wrote:
> Jeff Janes <jeff.janes@gmail.com> writes:
> > Can we change the default setting of track_io_timing to on?
> 
> That adds a very significant amount of overhead on some platforms
> (gettimeofday is not cheap if it requires a kernel call).  And I
> doubt the claim that the average Postgres user needs this, and
> doubt even more that they need it on all the time.
> So I'm -1 on the idea.

I set "track_io_timing" to "on" all the time, same as "log_lock_waits",
so I'd want them both on by default.

Yours,
Laurenz Albe




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Remove pg_strtouint64(), use strtoull() directly
Next
From: Tomas Vondra
Date:
Subject: Re: track_io_timing default setting