All Products
Search
Document Center

Tablestore:CreateTimeseriesTable

Last Updated:Apr 27, 2025

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

TimeseriesTableMeta

Yes

The configurations of the time series table.

analytical_stores

TimeseriesAnalyticalStore

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

LastpointIndexMetaForCreate

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: