Updated on 2024-08-29 GMT+08:00
Creating a Table
A data table consists of basic information, fields, and indexes. As a supplement to table information, indexes are optional and can be configured based on service requirements.
Procedure
- Log in to the DAS console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner, and under Databases, click Data Admin Service.
- In the navigation pane on the left, choose Development Tool.
You can also click Go to Development Tool on the overview page.
- Locate the DB instance that you want to log in to and click Log In in the Operation column.
- On the top menu bar, choose Keyspace Management.
- Click Change Keyspace on the right of the current keyspace to switch to the keyspace where you want to create a table.
Figure 1 Switching the keyspace
- On the Objects tab page, choose Tables.
- Click Create Table.
- After configuring basic information, click Next.
- On the Column page, click Add and set parameters as needed.
- If you need to add indexes, click Next and specify index parameters.
- Click Create.
- In the SQL Preview dialog box, click Execute.
Parent topic: Table Management
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot