mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -1816,7 +1816,7 @@ static struct config_int ConfigureNamesInt[] =
|
||||
NULL
|
||||
},
|
||||
&CommitSiblings,
|
||||
5, 1, 1000, NULL, NULL
|
||||
5, 0, 1000, NULL, NULL
|
||||
},
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user