v.24.4New Feature
Modifying Memory Table Settings with ALTER MODIFY SETTING Supported
Modifying memory table settings throughALTER MODIFY SETTINGis now supported. Example:ALTER TABLE memory MODIFY SETTING min_rows_to_keep = 100, max_rows_to_keep = 1000;. #62039 (zhongyuankai).
Why it matters
This feature allows users to change runtime parameters ofMemory tables such as min_rows_to_keep and max_rows_to_keep without recreating the table, providing greater flexibility and control over in-memory data retention.How to use it
Use theALTER TABLE <table_name> MODIFY SETTING statement to change memory table settings. For example:ALTER TABLE memory MODIFY SETTING min_rows_to_keep = 100, max_rows_to_keep = 1000;