Time sequence database data partition distribution method and system

The invention discloses a time sequence database data partition distribution method and system, and belongs to the technical field of databases, the method comprises the following steps: 1) pre-partitioning and pre-distributing in a table building process; 2) data writing operation: writing the data...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: GUAN YANXIN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a time sequence database data partition distribution method and system, and belongs to the technical field of databases, the method comprises the following steps: 1) pre-partitioning and pre-distributing in a table building process; 2) data writing operation: writing the data into a specific partition node; 3) data reading operation: reading data of specific partition nodes; 4) node capacity expansion: adding nodes to the data cluster, and moving the partition to a new node; and 5) reducing the capacity of the nodes, deleting the nodes by the data cluster, and moving the partitions on the deleted nodes to the remaining nodes. According to the method, pre-partitioning and pre-distribution are carried out immediately after table establishment, so that long time consumption and excessive resource occupation are avoided. 本发明公开了一种时序数据库数据分区分布方法及系统,属于数据库技术领域,该方法的实现包括:1)建表过程中进行预分区和预分布;2)数据的写操作,将数据写入到特定的分区节点;3)数据的读操作,读取特定分区节点的数据;4)节点扩容,数据集群增加节点,将分区移至新的节点上;5)节点缩容,数据集群删除节点,将被删除节点上的分区移至剩余节点。本发明通过建