]> granicus.if.org Git - postgresql/commit
Optimize commit_siblings in two ways to improve group commit.
authorSimon Riggs <simon@2ndQuadrant.com>
Wed, 8 Dec 2010 18:48:03 +0000 (18:48 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Wed, 8 Dec 2010 18:48:03 +0000 (18:48 +0000)
commite620ee35b249b0af255ef788003d1c9edb815a35
treee8b04c9426be8a7abdb95c69b97b6b9f17513bf1
parent5a031a5556ff83b8a9646892715d7fef415b83c3
Optimize commit_siblings in two ways to improve group commit.
First, avoid scanning the whole ProcArray once we know there
are at least commit_siblings active; second, skip the check
altogether if commit_siblings = 0.

Greg Smith
doc/src/sgml/config.sgml
src/backend/access/transam/xact.c
src/backend/storage/ipc/procarray.c
src/backend/utils/misc/guc.c
src/include/storage/procarray.h