- Notifications
You must be signed in to change notification settings - Fork4.9k
Commite620ee3
committed
Optimize commit_siblings in two ways to improve group commit.
First, avoid scanning the whole ProcArray once we know thereare at least commit_siblings active; second, skip the checkaltogether if commit_siblings = 0.Greg Smith1 parent5a031a5 commite620ee3
File tree
5 files changed
+27
-13
lines changed- doc/src/sgml
- src
- backend
- access/transam
- storage/ipc
- utils/misc
- include/storage
5 files changed
+27
-13
lines changedLines changed: 12 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1683 | 1683 |
| |
1684 | 1684 |
| |
1685 | 1685 |
| |
1686 |
| - | |
1687 |
| - | |
1688 |
| - | |
1689 |
| - | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
1690 | 1693 |
| |
1691 | 1694 |
| |
1692 | 1695 |
| |
1693 | 1696 |
| |
1694 | 1697 |
| |
1695 | 1698 |
| |
1696 |
| - | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
1697 | 1704 |
| |
1698 | 1705 |
| |
1699 | 1706 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1052 | 1052 |
| |
1053 | 1053 |
| |
1054 | 1054 |
| |
1055 |
| - | |
| 1055 | + | |
1056 | 1056 |
| |
1057 | 1057 |
| |
1058 | 1058 |
| |
|
Lines changed: 12 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1886 | 1886 |
| |
1887 | 1887 |
| |
1888 | 1888 |
| |
1889 |
| - | |
1890 |
| - | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
1891 | 1892 |
| |
1892 | 1893 |
| |
1893 | 1894 |
| |
1894 | 1895 |
| |
1895 | 1896 |
| |
1896 |
| - | |
1897 |
| - | |
| 1897 | + | |
| 1898 | + | |
1898 | 1899 |
| |
1899 | 1900 |
| |
1900 | 1901 |
| |
1901 | 1902 |
| |
1902 | 1903 |
| |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
1903 | 1908 |
| |
1904 | 1909 |
| |
1905 | 1910 |
| |
| |||
1932 | 1937 |
| |
1933 | 1938 |
| |
1934 | 1939 |
| |
| 1940 | + | |
| 1941 | + | |
1935 | 1942 |
| |
1936 | 1943 |
| |
1937 |
| - | |
| 1944 | + | |
1938 | 1945 |
| |
1939 | 1946 |
| |
1940 | 1947 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1816 | 1816 |
| |
1817 | 1817 |
| |
1818 | 1818 |
| |
1819 |
| - | |
| 1819 | + | |
1820 | 1820 |
| |
1821 | 1821 |
| |
1822 | 1822 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
|
0 commit comments
Comments
(0)