You can access Tablestore in the Tablestore console or by using the Tablestore CLI or Tablestore SDKs. This topic describes how to access Tablestore in the Tablestore console.
Preparations
Before you use Tablestore, you must activate Tablestore and create a Tablestore instance. For more information, see Activate Tablestore and create an instance.
An instance is a logical entity used in Tablestore to manage tables. Each instance is equivalent to a database. For more information, see Instances.
Procedure for using the Wide Column model
You can quickly get started with the Wide Column model in the Tablestore console.
The following table describes the steps.
Step | Operation | Description |
1 | Create a data table | Create a data table to store business-related data. If you want to use attribute columns as query conditions to query data, you can create secondary indexes when you create data tables to accelerate data queries. |
2 | Insert data | Write data to the data table. |
3 | Query, update, or delete data | Update, read, or delete data in the data table. |
For more information, see Get started with the Wide Column model.
For information about how to get started with the Wide Column model by using the Tablestore CLI, see Get started with the Wide Column model.
Procedure for using the TimeSeries model
You can quickly get started with the TimeSeries model in the Tablestore console.
The following table describes the steps.
Step | Operation | Description |
1 | Create a time series table | Create a time series table to store business-related data. You can also create a test table to experience the TimeSeries module with ease. |
2 | Add time series | Add time series identifiers and property information to the time series table. |
3 | Insert data | Write time series data to the time series table. Time series data consists of metadata and data. |
4 | Query time series data | If you are unsure about the information of the time series that you want to query, such as the metric name and data source, you can specify multiple conditions to retrieve time series and then query time series data. After you specify the time series, you can query time series data within a specific time range. |
For more information, see Get started with the TimeSeries model.
For information about how to get started with the TimeSeries model by using the Tablestore CLI, see Get started with the TimeSeries model.
References
For information about how to use the Timeline model, see Getting started.