Re: pgbench Comparison of 7.4.7 to 8.0.2

От: Tom Lane
Тема: Re: pgbench Comparison of 7.4.7 to 8.0.2
Дата: ,
Msg-id: 6865.1113600214@sss.pgh.pa.us
(см: обсуждение, исходный текст)
Ответ на: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell)
Ответы: Re: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell)
Список: pgsql-performance

Скрыть дерево обсуждения

pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell, )
 Re: pgbench Comparison of 7.4.7 to 8.0.2  (Tom Lane, )
  Re: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell, )
   Re: pgbench Comparison of 7.4.7 to 8.0.2  (Steve Poe, )
    Re: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell, )
     Re: pgbench Comparison of 7.4.7 to 8.0.2  (Steve Poe, )
      Re: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell, )
       Re: pgbench Comparison of 7.4.7 to 8.0.2  (Steve Poe, )
 Re: pgbench Comparison of 7.4.7 to 8.0.2  (Steve Poe, )
  Re: pgbench Comparison of 7.4.7 to 8.0.2  (Thomas F.O'Connell, )

"Thomas F.O'Connell" <> writes:
> http://www.sitening.com/pgbench.html

You need to run *many* more transactions than that to get pgbench
numbers that aren't mostly noise.  In my experience 1000 transactions
per client is a rock-bottom minimum to get repeatable numbers; 10000 per
is better.

Also, in any run where #clients >= scaling factor, what you're measuring
is primarily contention to update the "branches" rows.  Which is not
necessarily a bad thing to check, but it's generally not the most
interesting performance domain (if your app is like that you need to
redesign the app...)

> To me, it looks like basic transactional performance is modestly
> improved at 8.0 across a variety of metrics.

That's what I would expect --- we usually do some performance work in
every release cycle, but there was not a huge amount of it for 8.0.

However, these numbers don't prove much either way.

            regards, tom lane


В списке pgsql-performance по дате сообщения:

От: Kevin Brown
Дата:
Сообщение: Re: How to improve db performance with $7K?
От: Hannes Dorbath
Дата:
Сообщение: Re: Query Optimizer Failure / Possible Bug