Re: [PERFORM] Cpu usage 100% on slave. s_lock problem.
From:
Peter Eisentraut <peter_e(at)gmx(dot)net>
To:
Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc:
Andres Freund <andres(at)2ndquadrant(dot)com>, Дмитрий Дегтярёв <degtyaryov(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject:
Re: [PERFORM] Cpu usage 100% on slave. s_lock problem.
On 9/27/13 3:00 PM, Merlin Moncure wrote: > Attached is simplified patch that replaces the spinlock with a read > barrier based on a suggestion made by Andres offlist.