Re: AW: Benchmarking

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: ZeugswetterA(at)wien(dot)spardat(dot)at
Cc: romero(at)kde(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AW: Benchmarking
Date: 2001-06-27 13:08:51
Message-ID: 20010627220851C.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > #! /bin/sh
> > pgbench -i -s 2 test
> > for i in 1 2 4 8 16 32 64 128
> > do
> > t=`expr 640 / $i`
> > pgbench -t $t -c $i test
> > echo "===== sync ======"
>
> With 7.1 you will probably want a checkpoint instead of sync here:
> psql -c "checkpoint;" template1 ; sleep 10
> The sync does not help, since the pages are not yet written.

Good point. I have been used it since 7.0 and forgot to update for
7.1.
--
Tatsuo Ishii

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2001-06-27 13:24:33 Re: functions returning records
Previous Message Karel Zak 2001-06-27 13:06:27 Re: AW: functions returning records