Creates a time series table. When you create a time series table, you can also create an analytical store to store time series data at a low cost and perform queries and analysis. Additionally, you can create a Lastpoint index to quickly query data of the latest point in time in time series.
Request syntax
message CreateTimeseriesTableRequest {
required TimeseriesTableMeta table_meta = 1;
repeated TimeseriesAnalyticalStore analytical_stores = 3;
optional bool enable_analytical_store = 4;
repeated LastpointIndexMetaForCreate lastpoint_index_metas = 5;
}
Name | Type | Required | Description |
table_meta | Yes | The configurations of the time series table. | |
analytical_stores | No | The configuration information of the analytical store. | |
enable_analytical_store | bool | No | Specifies whether to create the default analytical store. Default value: true. |
lastpoint_index_metas | No | The Lastpoint index configuration. |
Response syntax
message CreateTimeseriesTableResponse {
}
Use Tablestore SDKs
You can use the following Tablestore SDKs to create a time series table: