Re: pgbench logging broken by time logic changes

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Hannu Krosing <hannuk(at)google(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, nagata(at)sraoss(dot)co(dot)jp, gregsmithpgsql(at)gmail(dot)com, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, david(dot)christensen(at)crunchydata(dot)com
Subject: Re: pgbench logging broken by time logic changes
Date: 2021-07-08 17:25:38
Message-ID: alpine.DEB.2.22.394.2107081920160.233209@pseudo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello Hannu,

>> I'm not sure we have transaction lasts for very short time that
>> nanoseconds matters.
>
> Nanoseconds may not matter yet, but they could be handy when for
> example we want to determine the order of parallel query executions.
>
> We are less than an order of magnitude away from being able to do 1M
> inserts/updates/deletes per second, so microseconds already are not
> always 100% reliable.

ISTM that 1M tps would be with really a lot of parallel clients, thus the
latency of each would be quite measurable, so that µs would still make
sense for measuring their performance? If an actual network is involved,
the network latency is already 100-200 µs even before executing any code.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2021-07-08 17:29:04 Re: enable_resultcache confusion
Previous Message Zhihong Yu 2021-07-08 17:22:04 Re: Have I found an interval arithmetic bug?