Re: multi-threaded pgbench - Mailing list pgsql-hackers

From Tom Lane
Subject Re: multi-threaded pgbench
Date
Msg-id 23103.1247071237@sss.pgh.pa.us
Whole thread Raw
In response to Re: multi-threaded pgbench  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: multi-threaded pgbench  (Andrew Dunstan <andrew@dunslane.net>)
Re: multi-threaded pgbench  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> I think you should have it use pthreads if available, or Windows threads 
> there, or fork() elsewhere.

Hmm, but how will you communicate stats back from the sub-processes?
pg_restore doesn't need anything more than a success/failure result
from its child processes, but I think pgbench will want more.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Kenneth Marshall
Date:
Subject: Re: *_collapse_limit, geqo_threshold
Next
From: Andrew Gierth
Date:
Subject: 8.4.0 vs. locales vs. pl/perl?