作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 人工智能及识别技术 • 上一篇    下一篇

分布式数据库事务分类策略研究

童记超 1a,林基明 1a,陈鹤 2,张向利 1b,班文娇 1a   

  1. (1.桂林电子科技大学 a.教育部认知无线电与信息处理重点实验室;b.广西高校云计算与复杂系统重点实验室,广西 桂林 541000;2.中国电子科技集团公司第五十四研究所,石家庄 050000)
  • 收稿日期:2015-11-09 出版日期:2017-01-15 发布日期:2017-01-13
  • 作者简介:童记超(1991—),男,硕士研究生,主研方向为分布式数据库、云计算;林基明,教授、博士生导师;陈鹤,工程师;张向利,教授;班文娇,硕士研究生。
  • 基金资助:
    国家自然科学基金(6136031);广西自然科学基金(2014GXNSFAA118387);广西信息科学实验中心资助项目(KF1408)。

Study of Transaction Classification Strategy in Distributed Database

TONG Jichao  1a,LIN Jiming  1a,CHEN He  2,ZHANG Xiangli  1b,BAN Wenjiao  1a   

  1. (1a.Key Laboratory of Cognitive Radio and Information Processing,Ministry of Education; 1b.Guangxi Colleges and Universities Key Laboratory of Cloud Computing and Complex Systems, Guilin University of Electronic Technology,Guilin,Guangxi 541000,China;2.The 54th Research Institute of China Electronics Technology Group Corporation,Shijiazhuang 050000,China)
  • Received:2015-11-09 Online:2017-01-15 Published:2017-01-13

摘要: 针对分布式数据库系统在使用分配算法时需要预先指定事务执行站点的情况,通过分析分布式数据库查询代价模型,提出一种事务分类部署策略。利用层次聚类算法对查询事务进行分类并将同类事务部署至同一站点,在聚类过程中为查询事务构造查询矩阵和相似度矩阵,降低查询事务执行时间。实验结果表明,在相同的分片冗余条件下,当测试表数据量大于100万条且并发人数为100人时,与集中式数据库系统相比,基于该策略的分布式数据库系统具有更短的并发查询时间和更快的系统响应速率。

关键词: 分布式数据库, 层次聚类算法, 查询矩阵, 相似度矩阵, 事务聚类, 并发查询时间

Abstract: In view of the problem that the distributed database system needs to specify the execution site for transactions in advance,this paper proposes a transaction classification deployment strategy of distributed database by analyzing the distributed database query cost model.The similar transactions which are clustered by hierarchical clustering algorithm are deployed to the same site.Query matrix and similarity matrix are constructed for query transaction in the clustering process.Experimental results show that under the conditions that each slice has the same redundancy,test table data are more than 1 million and the number of concurrent people is 100,the distributed database system based on this strategy has shorter concurrent query time and faster system response rate than centralized database system.

Key words: distributed database, hierarchical clustering algorithm, query matrix, similarity matrix, transaction clustering, concurrent query time

中图分类号: