v.24.4New Feature

Modifying Memory Table Settings with ALTER MODIFY SETTING Supported

Modifying memory table settings through ALTER MODIFY SETTING is now supported. Example: ALTER TABLE memory MODIFY SETTING min_rows_to_keep = 100, max_rows_to_keep = 1000;. #62039 (zhongyuankai).
Support for modifying settings of Memory tables using ALTER MODIFY SETTING has been added.

Why it matters

This feature allows users to change runtime parameters of Memory 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 the ALTER 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;