From 140cd4f4aebe83bc1f61baa0429194c9911a5572 Mon Sep 17 00:00:00 2001 From: Anton Kolesnikov Date: Wed, 5 Jun 2024 18:00:52 +0800 Subject: [PATCH] fix: increase the default stream batch size --- pkg/phlaredb/block_querier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/phlaredb/block_querier.go b/pkg/phlaredb/block_querier.go index 33afa3cf36..c74eb90326 100644 --- a/pkg/phlaredb/block_querier.go +++ b/pkg/phlaredb/block_querier.go @@ -49,7 +49,7 @@ import ( ) const ( - defaultBatchSize = 4096 + defaultBatchSize = 64 << 10 // This controls the buffer size for reads to a parquet io.Reader. This value should be small for memory or // disk backed readers, but when the reader is backed by network storage a larger size will be advantageous.