v.24.9Performance Improvement

Reduce Memory Usage of JSON Inserts with Adaptive Write Buffer Size

Reduce memory usage of inserts to JSON by using adaptive write buffer size. A lot of files created by JSON column in wide part contains small amount of data and it doesn't make sense to allocate 1MB buffer for them. #69272 (Kruglov Pavel).