Updated on 2024-10-30 GMT+08:00

Pre-partitioning Tables

Tables compatible with GeminiDB HBase can be pre-partitioned to properly design a rowkey and prevent data hotspots.

Method

Run the following statement to partition the test table compatible with GeminiDB HBase.

create 'test', {NAME => 'cf1'}, SPLITS => ['1111', '2222', '3333']
Table 1 Fields in the test table

Field

Description

NAME

Column family name of a table

SPLITS

Pre-partition boundary. Data is distributed in preset partitions based on the byte order of rowkeys.