Create a table group
Updated at:
Copy as MD
A table group is a collection of related data tables. AnalyticDB for MySQL uses table groups to manage these related tables.
Note
Creating an AnalyticDB for MySQL database automatically creates a dimension table group.
Naming conventions
- A table group name must start with a letter, contain only letters, digits, and underscores (_), and end with a letter or a digit. The name must be 64 characters or less.
- A table group name cannot contain double underscores (__).
- A table group name must be unique within a database.
Create a table group with the DMS console
- Log on to the AnalyticDB for MySQL console. For instructions, see AnalyticDB Console.
- In the upper-left corner of the console, select a region.
- Click Log on to Database next to your target database to open the DMS for AnalyticDB page. The name of the system-created dimension table group, such as ads_sz_test_dimer, appears in the Table Group drop-down list in the left-side navigation pane. Expand the Table tab to view the dimension tables in the table group.
- In the top menu bar, choose Create > Table Group.
- In the Create Table Group dialog box, enter a Table Group Name.
- Click Submit to create a common table group.
Create a table group with a DDL statement
CREATE TABLEGROUP (Version 2.0)Is this page helpful?