Greetings,

* Laurenz Albe (laurenz.a...@cybertec.at) wrote:
> On Fri, 2021-12-10 at 10:20 -0500, Tom Lane wrote:
> > Jeff Janes <jeff.ja...@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.

Same.  I'd also push back and ask what modern platforms still require a
kernel call for gettimeofday, and are we really doing ourselves a favor
by holding back on enabling this by default due to those?  If it's such
an issue, could we figure out a way to have an 'auto' option where we
detect if the platform has such an issue and disable in that case, but
enable otherwise?

Thanks,

Stephen

Attachment: signature.asc
Description: PGP signature

Reply via email to