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: | E1PQP72-0001uS-0d@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | 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
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e620ee35b249b0af255ef788003d1c9edb815a35
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 |