From 1d6ee4792b822f319f46380a11b870936cbff3d2 Mon Sep 17 00:00:00 2001 From: tangcheng Date: Tue, 14 Nov 2023 18:09:53 +0800 Subject: [PATCH] increase insert xxx select xxx speed --- src/backend/storage/buffer/freelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/storage/buffer/freelist.c b/src/backend/storage/buffer/freelist.c index 1bf757668e9..67864df5c0a 100644 --- a/src/backend/storage/buffer/freelist.c +++ b/src/backend/storage/buffer/freelist.c @@ -581,7 +581,7 @@ GetAccessStrategy(BufferAccessStrategyType btype) return NULL; case BAS_BULKREAD: - ring_size = 256 * 1024 / BLCKSZ; + ring_size = 1024 * 1024 / BLCKSZ; break; case BAS_BULKWRITE: ring_size = 16 * 1024 * 1024 / BLCKSZ;