All Products
Search
Document Center

Tablestore:TimeseriesTableMeta

Last Updated:Apr 28, 2025

TimeseriesTableMeta specifies the schema and configurations of a time series table.

Data structure

message TimeseriesTableMeta {
  required string table_name = 1;
  optional TimeseriesTableOptions table_options = 2;
  optional string status = 3;
  optional TimeseriesMetaOptions meta_options = 4;
  repeated string timeseries_key_schema = 5;
  repeated PrimaryKeySchema field_primary_key_schema = 6;
}

Parameter

Type

Required

Description

table_name

string

Yes

The name of the time series table.

table_options

TimeseriesTableOptions

No

The configurations of the time series table.

status

string

No

The status of the time series table. Valid values:

  • CREATING: The time series table is being created.

  • CREATED: The time series table is created.

  • DELETING: The time series table is being deleted.

meta_options

TimeseriesMetaOptions

No

The configurations of the time series metadata in the time series table.

timeseries_key_schema

string

No

The time series identifiers. By default, the time series identifiers consist of the metric name, data source, and tags. You can specify custom time series identifiers based on your business requirements.

field_primary_key_schema

PrimaryKeySchema

No

The data fields that are specified as the primary key columns of the time series table.

If you want to store multiple rows of time series data with the same time series identifiers and timestamp, you can add custom data fields as the primary key columns of the time series table.