Re: what change in postgres 9.5 improvements for multi-CPU machines

From: Andres Freund <andres(at)anarazel(dot)de>
To: "657985552(at)qq(dot)com" <657985552(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: what change in postgres 9.5 improvements for multi-CPU machines
Date: 2016-08-17 01:02:52
Message-ID: 20160817010252.u2earzjv6265e3nl@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2016-03-25 18:11:21 +0800, 657985552(at)qq(dot)com wrote:
> hello everyone:
> I was bothered by the postgres spinlock for a long time . How to understand this sentence "postgres 9.5 performance improvements for multi-CPU machines"
> at present my database is 9.3.5 。 Can it solve the spinlock problem, if upgrade it to 9.5 ?

It's quite possible that the upgrade helps. But without additional data
it's hard to say. The change is that postgres internal reader/writer
lock now, in many cases, avoid the use of a spinlock, relying on atomic
operations instead.

Regards,

Andres

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tsunakawa, Takayuki 2016-08-17 01:16:02 Re: [GENERAL] C++ port of Postgres
Previous Message Andres Freund 2016-08-17 00:54:22 Re: [GENERAL] C++ port of Postgres