Re: pgbench logging broken by time logic changes
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Hannu Krosing <hannuk@google.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, nagata@sraoss.co.jp,
gregsmithpgsql@gmail.com, pgsql-hackers <pgsql-hackers@postgresql.org>,
david.christensen@crunchydata.com
Date: 2021-07-08T17:25:38Z
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.
Commits
-
Fix pgbench timestamp bugs.
- 5614a0f78eaa 14.0 landed
- 0e39a608ed55 15.0 landed
-
Fix pattern matching logic for logs in TAP tests of pgbench
- 0efd2a1a66dd 11.13 landed
- 79ff96aa9d9a 12.8 landed
- 7a9eaf111ac0 13.4 landed
- c13585fe9e55 14.0 landed
-
pgbench: Improve time logic.
- 547f04e7348b 14.0 cited
-
pgbench: Synchronize client threads.
- aeb57af8e640 14.0 cited
-
pgbench: refactor handling of stats tracking
- b60376649600 9.6.0 cited