ST_CreateChunkTable

更新时间: 2026-03-28 13:56:02

Creates a chunk table in the current PolarDB for PostgreSQL database.

Syntax

boolean ST_CreateChunkTable(cstring tableName)

Parameters

ParameterTypeDescription
tableNamecstringThe name of the chunk table to create. The name must meet all of 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 within the current database.

Return value

Returns true if the chunk table is created successfully.

Examples

Create a chunk table named t_chunk:

SELECT ST_CreateChunkTable('t_chunk');

Output:

t
上一篇: Auxiliary functions 下一篇: ST_CheckGPU
阿里云首页 云原生数据库 PolarDB 相关技术圈