Updated on 2026-02-25 GMT+08:00

Naming Conventions

This topic describes the rules and suggestions for naming databases and tables.

Doris Naming Rules

The database character set must be UTF-8 and only UTF-8 is supported.

Doris Naming Suggestions

  • Set database names in lowercase and use underscores (_) to link words. A name must be less than 62 bytes.
  • It is recommended to use lowercase letters for naming Doris tables, columns, views, and the names should consist of English letters, numbers, and underscores, with a maximum length of 64 bytes.