pgsql: When LWLOCK_STATS is defined, count spindelays.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: When LWLOCK_STATS is defined, count spindelays.
Дата
Msg-id E1Sjc1e-000367-Hl@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
When LWLOCK_STATS is defined, count spindelays.

When LWLOCK_STATS is *not* defined, the only change is that
SpinLockAcquire now returns the number of delays.

Patch by me, review by Jeff Janes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b79ab00144e64217d418fde884bca8ea58fbd4a4

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c |   12 +++++++++---
src/backend/storage/lmgr/s_lock.c |    3 ++-
src/include/storage/s_lock.h      |   10 ++++------
3 files changed, 15 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Cope with smaller-than-normal BLCKSZ setting in SPGiST indexes o
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow pg_terminate_backend() to be used on backends with matchin