v.21.4Performance Improvements
Avoid Using Codec NONE for Data Compression
Avoid unnecessary data copy when using codecNONE. Please note that codecNONEis mostly useless - it's recommended to always use compression (LZ4is by default). Despite the common belief, disabling compression may not improve performance (the opposite effect is possible). TheNONEcodec is useful in some cases: - when data is uncompressable; - for synthetic benchmarks. #22145 (alexey-milovidov).