Partition segmentation method and device, server and storage medium

A partitioning and splitting point technology, applied in the field of Internet technology applications, can solve problems such as uneven partitioning, partition fragmentation, unfavorable cluster region management and performance load, etc., to reduce region fragmentation, maintain balanced load, and facilitate region management Effect
CN111966693APending Publication Date: 2020-11-20CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD
Publication Date
2020-11-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

An embodiment of the invention relates to the field of Internet technology application, and discloses a partition segmentation method and device, a server and a storage medium. The method comprises the steps: acquiring a first critical point set, wherein the row key prefix of a row identified by a critical point is different from the previous row key prefix of the row identified by the critical point; obtaining the distance between the row of the critical point identifier and the partition center; obtaining a second critical point set of which the distance meets a preset distance range from the first critical point set; selecting a segmentation point according to the second critical point set. According to the method and the device, region fragments caused by non-uniform segmentation can be reduced, empty partitions caused by continuous splitting are reduced, meanwhile, the balanced load of the data on the partition level is kept as much as possible, and the region management of the cluster is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to the field of Internet technology applications, and in particular, to a method, device, server, and storage medium for partitioning and dividing. Background technique

[0002] Hbase is a distributed, column-oriented open source database. The scalability of the HBase cluster is mainly realized by partitions. The partition automatic segmentation mechanism ensures the scalability of the HBase table in the cluster. The theory of partition segmentation involves the triggering of segmentation. Timing, determination of segmentation point, transactional guarantee and exception handling of segmentation, and optimal selection of segmentation. Currently, HBase provides a variety of optional partition segmentation strategies, which determine the selection of segmentation thresholds and segmentation points.

[0003] However, the inventors found the following problems in related technologies: Since Hbase row keys ar...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More