From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Optimize commit_siblings in two ways to improve group commit. |
Date: | 2010-12-08 18:51:36 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
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
Branch
------
master
Modified Files
--------------
doc/src/sgml/config.sgml | 17 ++++++++++++-----
src/backend/access/transam/xact.c | 2 +-
src/backend/storage/ipc/procarray.c | 17 ++++++++++++-----
src/backend/utils/misc/guc.c | 2 +-
src/include/storage/procarray.h | 2 +-
5 files changed, 27 insertions(+), 13 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-12-08 18:56:12 | Re: [COMMITTERS] pgsql: Optimize commit_siblings in two ways to improve group commit. |
Previous Message | User Mhasegawa | 2010-12-08 06:55:02 | pgbulkload - pgbulkload: backport two bugs. |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-12-08 18:56:12 | Re: [COMMITTERS] pgsql: Optimize commit_siblings in two ways to improve group commit. |
Previous Message | Robert Haas | 2010-12-08 18:40:04 | Re: Review: Extensions Patch |