v.24.6Performance Improvement
Add Row Reshuffling During Insert for Size Optimization in ClickHouse
Add the ability to reshuffle rows during insert to optimize for size without violating the order set byPRIMARY KEY. It's controlled by the settingoptimize_row_order(off by default). #63578 (Igor Markelov).