v.21.6Improvement
Correct calculation of bytes_allocated for sparse_hashed dictionaries in system.dictionaries
Correct calculation of bytes_allocated field in system.dictionaries for sparse_hashed dictionaries. #22867 (Azat Khuzhin).Why it matters
This feature fixes the inaccurate reporting of memory usage by sparse_hashed dictionaries in thesystem.dictionaries table, providing users with precise information about the memory allocated by these dictionaries. Accurate memory metrics help in better monitoring and optimizing resources.How to use it
Users do not need to take any specific action to enable this feature. The correction is applied automatically in the calculation of thebytes_allocated field for sparse_hashed dictionaries in the system.dictionaries system table.