Re: pgbench -i spends all its time doing CHECKPOINT

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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:44:50
Message-ID: 200201060644.g066ioD12529@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> 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.

I meant I don't see any need for that checkpoint code.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-01-06 06:50:33 Re: pgbench -i spends all its time doing CHECKPOINT
Previous Message Tom Lane 2002-01-06 06:41:17 Re: pgbench -i spends all its time doing CHECKPOINT