Re: track_io_timing default setting

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: track_io_timing default setting
Date: 2021-12-10 16:22:51
Message-ID: 1dd8f9999f795519d5521e1a086135c63783b6b4.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 2021-12-10 at 10:20 -0500, Tom Lane wrote:
> Jeff Janes <jeff(dot)janes(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2021-12-10 16:33:28 Re: track_io_timing default setting
Previous Message Tom Lane 2021-12-10 15:25:17 Re: Remove pg_strtouint64(), use strtoull() directly