Re: pgbench -i spends all its time doing CHECKPOINT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pgbench -i spends all its time doing CHECKPOINT
Date: 2002-01-06 06:41:17
Message-ID: 24476.1010299277@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> Could we remove lines 552-560 of pgbench.c? The behavior that guarded
>> against is long gone, and forcing a checkpoint every few thousand tuples
>> seems to be putting a huge crimp in the speed of pgbench -i ...

> I don't see any need for it.

Au contraire. I'm nearly done with pgbench -i -s 500 after about an
hour. The unmodified code ran for several hours and was less than
half done.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-06 06:44:50 Re: pgbench -i spends all its time doing CHECKPOINT
Previous Message Bruce Momjian 2002-01-06 06:38:52 Re: pgbench -i spends all its time doing CHECKPOINT