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']
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. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot