Re: New to PostgreSQL, performance considerations

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: New to PostgreSQL, performance considerations
Дата
Msg-id 200612140104.kBE14Dx09695@momjian.us
обсуждение исходный текст
Ответ на Re: New to PostgreSQL, performance considerations  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: New to PostgreSQL, performance considerations  ("Rajesh Kumar Mallah" <mallah.rajesh@gmail.com>)
Re: New to PostgreSQL, performance considerations  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-performance
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > While skimming over the pgbench source it has looked to me like it's
> > necessary to pass the -s switch (scale factor) to both the
> > initialization (-i) and the subsequent (non -i) runs.
>
> No, it's not supposed to be, and I've never found it needed in practice.
> The code seems able to pull the scale out of the database (I forget how
> it figures it out exactly).

pgbench is designed to be a general benchmark, meanining it exercises
all parts of the system.  I am thinking just reexecuting a single SELECT
over and over again would be a better test of the CPU optimizations.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Insertion to temp table deteriorating over time
Следующее
От: "Rajesh Kumar Mallah"
Дата:
Сообщение: Re: New to PostgreSQL, performance considerations