Re: AW: Benchmarking

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: AW: Benchmarking
Дата
Msg-id 20010627220851C.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на AW: Benchmarking  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alex Pilosov
Дата:
Сообщение: Re: AW: functions returning records
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: functions returning records