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

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


The following commit(s) were added to refs/heads/main by this push:
     new 6645aa4a0ec gpfdist: set default compression level to 3
6645aa4a0ec is described below

commit 6645aa4a0ec2a2312f4a24c0bae7e40c7cdac353
Author: Jianghua Yang <[email protected]>
AuthorDate: Fri Jun 27 02:20:37 2025 +0800

    gpfdist: set default compression level to 3
    
    The previous default compression level of 1 for gpfdist provides only
    minimal data reduction while still incurring CPU overhead for compression.
    
    This commit changes the default level to 3. This value represents a
    better general-purpose trade-off, offering a more significant
    reduction in network traffic for a modest increase in CPU cost.
    This should improve performance for most network-bound ETL workloads
    that use gpfdist with compression enabled.
---
 src/bin/gpfdist/gpfdist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/gpfdist/gpfdist.c b/src/bin/gpfdist/gpfdist.c
index 78fc2abc26b..4a38bc21a58 100644
--- a/src/bin/gpfdist/gpfdist.c
+++ b/src/bin/gpfdist/gpfdist.c
@@ -71,7 +71,7 @@
 #include <openssl/err.h>
 #endif
 
-#define DEFAULT_COMPRESS_LEVEL 1
+#define DEFAULT_COMPRESS_LEVEL 3
 #define MAX_FRAME_SIZE 65536
 
 /*  A data block */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to