Tablestore CLI provides developers and O&M personnel with a simple and efficient command-line interface to manage data. This improves work efficiency. This topic describes how to use the Tablestore CLI.
Preparations
An instance is a logical entity used in Tablestore to manage tables. Each instance is equivalent to a database. Before you use Tablestore, you must activate Tablestore and create a Tablestore instance. For more information, see Activate Tablestore and Create an instance.
Flowchart for using the Wide Column model
The following table describes the main steps in the flowchart.
Step | Operation | Description |
1 | Configure instance access information | Specify the AccessKey pair of your Alibaba Cloud account or RAM user to access the created Tablestore instance. |
2 | Create and use a data table | Create a data table to store business-related data. After you create a data table, you can select the data table so that you can perform subsequent data operations on the data table. |
3 | Perform data operations | You can insert, update, read, and delete a row of data, and import or export data based on your business requirements. |
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.
Flowchart for using the TimeSeries model
The following table describes the main steps in the flowchart.
Step | Operation | Description |
1 | Configure instance access information | Specify the AccessKey pair of your Alibaba Cloud account or RAM user to access the created Tablestore instance. |
2 | Create and use 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. After you create a time series table, you can select the time series table so that you can perform subsequent data operations on the time series table. |
3 | Perform data operations | Perform operations on data based on your business requirements. You can write time series data, import time series data, query time series data, retrieve a time series, scan a time series, and update a time series. |
For information about how to get started with the TimeSeries model by using the Tablestore CLI, see Get started with the TimeSeries model.
Billing rules
When you use the Tablestore CLI to perform operations on Tablestore data, you are charged for the fees that are generated for reading and writing data. For more information, see Billing overview.