You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by re...@apache.org on 2025/09/19 13:24:23 UTC

(cloudberry) 02/03: Extend multixact SLRU (#3)

This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch mdb_admin_2
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit 75f734fcba3a3d8947ffe792a9b46bd66f48cb52
Author: reshke <re...@gmail.com>
AuthorDate: Fri Sep 19 18:13:31 2025 +0500

    Extend multixact SLRU (#3)
---
 src/include/access/multixact.h | 4 ++--
 src/include/access/subtrans.h  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h
index 4bbb035eaea..f053a30b009 100644
--- a/src/include/access/multixact.h
+++ b/src/include/access/multixact.h
@@ -30,8 +30,8 @@
 #define MaxMultiXactOffset	((MultiXactOffset) 0xFFFFFFFF)
 
 /* Number of SLRU buffers to use for multixact */
-#define NUM_MULTIXACTOFFSET_BUFFERS		8
-#define NUM_MULTIXACTMEMBER_BUFFERS		16
+#define NUM_MULTIXACTOFFSET_BUFFERS		32
+#define NUM_MULTIXACTMEMBER_BUFFERS		64
 
 /*
  * Possible multixact lock modes ("status").  The first four modes are for
diff --git a/src/include/access/subtrans.h b/src/include/access/subtrans.h
index 9a54dc0fb3b..73503a26dcc 100644
--- a/src/include/access/subtrans.h
+++ b/src/include/access/subtrans.h
@@ -12,7 +12,7 @@
 #define SUBTRANS_H
 
 /* Number of SLRU buffers to use for subtrans */
-#define NUM_SUBTRANS_BUFFERS	32
+#define NUM_SUBTRANS_BUFFERS	64
 
 typedef struct SubTransData
 {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org