首页> 外国专利> LOG ANALYSIS-BASED MONGODB DATA MIGRATION MONITORING METHOD AND APPARATUS

LOG ANALYSIS-BASED MONGODB DATA MIGRATION MONITORING METHOD AND APPARATUS

机译:基于日志分析的MONGODB数据迁移监测方法及装置

摘要

A log analysis-based MongoDB data migration monitoring method and apparatus, relating to the field of electronic information technologies. Said method comprises: constructing a MongoDB shard cluster (S101); enabling the accumulation sum of the amount of the data subjected to secondary data migration in the MongoDB shard cluster to be within a preset threshold range (S102); acquiring dynamic splitting and migration information of historical data blocks in the MongoDB shard cluster (S103); and dividing a data migration route into different stages by taking a successful migration of the historical data blocks as a boundary, and drawing data block key value intervals of all the stages in sequence according to proportions (S104). Said method and apparatus use log data in a MongoDB configuration server, observe the existing distribution, history distribution and migration condition of data blocks between different servers, and define a write amplification estimation formula to evaluate the quality of a splitting and migration policy, and help a MongoDB database better perform pre-division and resource allocation. Compared with traditional observation methods, the present invention is not interfered by other factors, and uses historical log data, achieving an accurate result.
机译:基于日志分析的MongoDB数据迁移监控方法和装置,涉及电子信息技术领域。所述方法包括:构造MongoDB分片集群(S101);以及使MongoDB分片集群中经历二次数据迁移的数据量的累加总和在预设阈值范围内(S102);获取MongoDB分片集群中历史数据块的动态拆分和迁移信息(S103);以历史数据块的成功迁移为边界,并按照比例依次绘制所有阶段的数据块关键值区间,将数据迁移路径划分为不同的阶段(S104)。所述方法和装置使用MongoDB配置服务器中的日志数据,观察不同服务器之间数据块的现有分布,历史分布和迁移情况,定义写放大估计公式,以评价分裂和迁移策略的质量,并提供帮助。 MongoDB数据库可以更好地执行预划分和资源分配。与传统的观测方法相比,本发明不受其他因素的干扰,使用历史记录数据,可以得到准确的结果。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号