v.24.2Performance Improvement

Primary Key Memory Efficiency Improvement

Primary key will use less amount of memory. #60049 (Alexey Milovidov).