Re: pgbnech: allow to cancel queries during benchmark

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgbnech: allow to cancel queries during benchmark
Date: 2023-08-09 09:18:43
Message-ID: 7691ade8-78-dd4-e26-135ccfbf0e9@mines-paristech.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I forgot, about the test:

I think that it should be integrated in the existing
"001_pgbench_with_server.pl" script, because a TAP script is pretty
expensive as it creates a cluster, starts it… before running the test.

I'm surprise that IPC::Run does not give any access to the process number.
Anyway, its object interface seems to allow sending signal:

$h->signal("...")

So the code could be simplified to use that after a small delay.

--
Fabien.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-08-09 09:21:28 Re: logical decoding issue with concurrent ALTER TYPE
Previous Message Christoph Berg 2023-08-09 09:13:10 Re: Remove distprep