v.25.4Performance Improvement

Improve performance

Preallocate memory used by asynchronous inserts to improve performance. #74945 (Ilya Golshtein).