Обсуждение: After upgrade from 9.2.9 to 9.3.5 got reduced contention

Поиск
Список
Период
Сортировка

After upgrade from 9.2.9 to 9.3.5 got reduced contention

От
Edson Carlos Ericksson Richter
Дата:
After a week or so since upgrade from 9.2.9 to 9.3.5 I'm very surprised
(in a good way) by the gain of performance.

Most noticeable change is the reduced contention for records by
exclusive/shared locks.

I can see increased numbers of requests fulfilled per minute (but I
can't be exact on those numbers, just I can see graph going high - which
is good).

Also, I've noticed that backup time dropped from 44 minutes to 30
minutes (for about 60Gb in multiple databases) - which is really good
change (35% decrease) on same hardware.

I still had no time to measure how much gain on improved indexing and
other topics I know received improvements.


Thanks, PostgreSQL team!

Regards,

Edson



Re: After upgrade from 9.2.9 to 9.3.5 got reduced contention

От
Bruce Momjian
Дата:
On Sat, Sep 13, 2014 at 07:44:44PM -0300, Edson Carlos Ericksson Richter wrote:
> After a week or so since upgrade from 9.2.9 to 9.3.5 I'm very
> surprised (in a good way) by the gain of performance.
>
> Most noticeable change is the reduced contention for records by
> exclusive/shared locks.
>
> I can see increased numbers of requests fulfilled per minute (but I
> can't be exact on those numbers, just I can see graph going high -
> which is good).

That is very good.  The new key-value locking must have helped here.  It
was very hard to implement, but I am glad it is showing a benefit.

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

  + Everyone has their own god. +