首页> 中文期刊>计算机应用 >分布式数据库聚合计算性能优化

分布式数据库聚合计算性能优化

     

摘要

Aiming at the problem of low computational performance of distributed database in analysis applications,taking MongoDB database as an example,a method was put forward to improve the performance of database based on chip and index.Firstly,the characteristics of the business was analyzed to guide the choice of shard key field,and the selected key field needed to ensure that the data is evenly distributed on the cluster nodes.Secondly,by studying the index efficiency of the distributed database,the method of deleting the query field index was used to further improve the computing performance,which could make full use of hardware resources to improve the performance of aggregation computing.The analysis and experimental results show that the shard key field with high cordinality can distribute data evenly on each data node in the cluster,and the use of full table query can effectively improve the convergence speed,thus the optimization method can effectively improve the performance of aggregation computing.%针对分布式数据库在分析应用方面的聚合计算性能较低的问题,以MongoDB数据库为研究实例,提出了一种基于片键和索引的数据库性能提升方法.首先,通过分析业务特征指导选择的片键字段,该字段需要保证数据在分片节点上的均匀布局;其次,通过研究分布式数据库的索引效率,利用删除查询字段索引的方法进一步提升计算性能,该方法能充分利用硬件资源提高聚合计算的性能.实验结果表明,采用高基数粒度的分片片键能够让数据在集群上均匀地分布在各个数据节点上,而舍弃索引使用全表查询能够有效提高聚合计算的速度,聚合计算优化方法能够有效提高聚合计算的性能.

著录项

  • 来源
    《计算机应用》|2017年第5期|1251-1256|共6页
  • 作者单位

    中国传媒大学计算机学院,北京100024;

    安防大数据处理与应用北京市重点实验室,北京100024;

    中国传媒大学计算机学院,北京100024;

    安防大数据处理与应用北京市重点实验室,北京100024;

    中国传媒大学计算机学院,北京100024;

    安防大数据处理与应用北京市重点实验室,北京100024;

    中国传媒大学计算机学院,北京100024;

    安防大数据处理与应用北京市重点实验室,北京100024;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 操作系统;
  • 关键词

    NoSQL; MongoDB; MapReduce; 聚合计算; 性能优化;

  • 入库时间 2022-08-18 04:49:08

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号