All Products
Search
Document Center

ApsaraDB RDS:ST_CreateChunkTable

Last Updated:Mar 28, 2026

Creates a chunk table in the current database.

Syntax

boolean ST_CreateChunkTable(cstring tableName)

Parameters

ParameterDescription
tableNameThe name of the chunk table.

The tableName value must meet the following requirements:

  • Starts with a letter and ends with a letter or digit.

  • Contains only lowercase letters, digits, and underscores (_).

  • Is 2 to 64 characters in length.

  • Is unique in the current database.

Return value

Returns true if the chunk table is created successfully.

Examples

SELECT ST_CreateChunkTable('t_chunk');

Output:

t