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
Re: New to PostgreSQL, performance considerations |
Список | 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 по дате отправления: