Lindorm wide tables expose attributes — such as consistency level, data versions, TTL, and compression — that you may need to tune as your workload evolves. You can change these attributes on an existing table through the cluster management system without rebuilding the table.
Prerequisites
Before you begin, make sure you have:
Access to the cluster management system of Lindorm
An existing wide table in the cluster whose attributes you want to modify
Modifiable attributes
| Attribute | Default | Description |
|---|---|---|
| Consistency | eventual | Consistency level between the base table and index table. eventual: the two tables become consistent after a point in time. strong: the two tables are consistent at all times. |
| Mutability | — | Controls how the index handles row mutations. Valid values: IMMUTABLE, IMMUTABLE_ROWS, MUTABLE_LATEST, MUTABLE_ALL. For details, see Secondary indexes. |
| Enable dynamic columns | — | Specifies whether dynamic columns are enabled for the table. For details, see Dynamic columns. |
| modify version | 1 | Number of versions retained per column. Must be an integer greater than or equal to 1. |
| modify TTL | — | Time to live (TTL) for data, in seconds. Set to -1 to retain data permanently. |
| modify compression type | NONE | Compression algorithm for table data. Supported algorithms: SNAPPY, ZSTD, and LZ4. |
For the full list of table options and their semantics, see the "Table options" section in CREATE TABLE.
Modify a table attribute
Log on to the cluster management system of Lindorm.
In the left navigation pane, choose Data Manager > Table Alter Manager.
From the Alter Type drop-down list, select the attribute to change.
From the Namespace drop-down list, select the namespace, then select the table to modify.
Specify the new attribute value, then click submit.
What's next
Secondary indexes — understand how mutability settings affect index behavior
Dynamic columns — learn about dynamic column usage
CREATE TABLE — full reference for all table options