Skip to content

Commit d4ca192

Browse files
committed
Extend multixact SLRU (#3)
1 parent 25e0663 commit d4ca192

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/include/access/multixact.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
#define MaxMultiXactOffset ((MultiXactOffset) 0xFFFFFFFF)
3131

3232
/* Number of SLRU buffers to use for multixact */
33-
#define NUM_MULTIXACTOFFSET_BUFFERS 8
34-
#define NUM_MULTIXACTMEMBER_BUFFERS 16
33+
#define NUM_MULTIXACTOFFSET_BUFFERS 32
34+
#define NUM_MULTIXACTMEMBER_BUFFERS 64
3535

3636
/*
3737
* Possible multixact lock modes ("status"). The first four modes are for

src/include/access/subtrans.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define SUBTRANS_H
1313

1414
/* Number of SLRU buffers to use for subtrans */
15-
#define NUM_SUBTRANS_BUFFERS 32
15+
#define NUM_SUBTRANS_BUFFERS 64
1616

1717
typedef struct SubTransData
1818
{

0 commit comments

Comments
 (0)