view_name | TEXT | - | ✔ | The name of the view to be altered. |
timescaledb.materialized_only | BOOLEAN | true | - | Enable real-time aggregation. |
timescaledb.enable_columnstore | BOOLEAN | true | - | Enable . Effectively the same as timescaledb.compress. Since 2.18.0 |
timescaledb.compress | TEXT | Disabled | - | Enable compression. |
timescaledb.orderby | TEXT | Descending order on the time column in table_name. | - | Set the order in which items are used in the . Specified in the same way as an ORDER BY clause in a SELECT query. Since 2.18.0 |
timescaledb.compress_orderby | TEXT | Descending order on the time column in table_name. | - | Set the order used by compression. Specified in the same way as the ORDER BY clause in a SELECT query. |
timescaledb.segmentby | TEXT | No segementation by column. | - | Set the list of columns used to segment data in the for table. An identifier representing the source of the data such as device_id or tags_id is usually a good candidate. Since 2.18.0 |
timescaledb.compress_segmentby | TEXT | No segementation by column. | - | Set the list of columns used to segment the compressed data. An identifier representing the source of the data such as device_id or tags_id is usually a good candidate. |
column_name | TEXT | - | - | Set the name of the column to order by or segment by. |
timescaledb.compress_chunk_time_interval | TEXT | - | - | Reduce the total number of compressed/ s for table. If you set compress_chunk_time_interval, compressed/ s are merged with the previous adjacent within chunk_time_interval whenever possible. These s are irreversibly merged. If you call to decompress/convert_to_rowstore, merged s are not split up. You can call compress_chunk_time_interval independently of other compression settings; timescaledb.compress/timescaledb.enable_columnstore is not required. |
timescaledb.enable_cagg_window_functions | BOOLEAN | false | - | EXPERIMENTAL: enable window functions on s. Support is experimental, as there is a risk of data inconsistency. For example, in backfill scenarios, buckets could be missed. |
timescaledb.chunk_interval (formerly timescaledb.chunk_time_interval) | INTERVAL | 10x the original . | - | Set the interval. Renamed in V2.20. |