Fork-based version of pgbench

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-patches(at)postgreSQL(dot)org
Cc: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
Subject: Fork-based version of pgbench
Date: 2005-12-01 18:29:50
Message-ID: 15467.1133461790@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Per request from Qingqing, here is the version of pgbench I made up to
drive each backend from a separately forked subprocess. This is not
meant for application, at least not yet, since it won't work on Windows,
and there are performance issues to be resolved anyway. (If we figure
out the performance problem, we could probably adapt it for Windows by
#ifdef'ing to use threads instead of fork().)

regards, tom lane

Attachment Content-Type Size
pgbench.c application/octet-stream 27.0 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Marc G. Fournier 2005-12-01 19:09:07 Re: [PATCHES] aclchk.c refactor
Previous Message Greg Stark 2005-12-01 18:18:16 Re: Strange interval arithmetic