CHARACTER_SETS

The CHARACTER_SETS provides the available character sets that GreptimeDB supports.

  1. USE INFORMATION_SCHEMA;
  2. SELECT * FROM CHARACTER_SETS;

The output is as follows:

  1. +--------------------+----------------------+---------------+--------+
  2. | character_set_name | default_collate_name | description | maxlen |
  3. +--------------------+----------------------+---------------+--------+
  4. | utf8 | utf8_bin | UTF-8 Unicode | 4 |
  5. +--------------------+----------------------+---------------+--------+

The columns in the output:

  • character_set_name: the name of the character set.
  • default_collate_name: the default collation name of the character set.
  • description: the description of the character set.
  • MAXLEN: the maximum number of bytes required to store one character.