Create a table
Updated at:
Copy as MD
AnalyticDB tables are divided into dimension tables and standard tables. For more information, see Glossary. You can create tables on the Data Management (DMS) page or using Data Definition Language (DDL) statements.
Notes
- A table name must start with a letter, end with a letter or a number, and be no more than 64 characters long. The name can contain letters, numbers, and underscores (_).
- A table name cannot contain double underscores (__).
Create a dimension table on the DMS page
- Log on to the AnalyticDB Data Management console.
- In the upper-left corner of the console, select the region where the database resides.
- To the right of the target database, click Log on to Database. On the DMS for AnalyticDB page, click Create > Table in the top menu bar.
- On the Create: Table page, configure the parameters.
On the Create: Table page, configure the required parameters.
Basic Information:


Partition Configuration:


- After you configure the parameters, click Save.
Create a standard table on the DMS page
- Log on to the AnalyticDB Data Management console.
- In the upper-left corner of the console, select the region where the database resides.
- To the right of the target database, click Log on to Database. On the DMS for AnalyticDB page, click Create > Table in the top menu bar.
- On the Create: Table page, configure the parameters.
Basic Information:



Subpartitions are optional. This is an advanced feature. For more information, see Subpartitioned Tables.

- After you configure the parameters, click Save.
Create a table using a DDL statement
For more information, see CREATE TABLE.
References
Is this page helpful?

