期刊文献+

基于K-means的SAMP系统数据库查询性能优化策略 被引量:6

Optimal Strategy of Query Performance Based on K-means for SAMP System
下载PDF
导出
摘要 中科院仪器设备共享管理平台(以下简称为SAMP)系统有效解决了各科研单位间仪器设备管理封闭、共享困难和运行效率低的棘手问题.同时,可以及时了解各类仪器的使用情况、共享情况,为各级业务主管部门展开科学高效的管理工作提供良好的决策依据.当SAMP系统应用数据库中存储的数据量达到百万级时,对数据库中预约表和用户表(或仪器表)进行连接查询时,将导致数据表查询性能的下降,从而影响整个SAMP系统的性能.目前主流的解决方案是采用Hash取模算法对数据表进行水平切分,但预约表中的主键为自动递增的整数,并没有实际意义,所以优化效果不理想.由于预约的用户和被预约的仪器在地理区域上呈现一定的聚集性,因此本文提出了一种基于K-means聚类算法的分表策略,采用该策略能够将预约表的查询性能提升至少70%. Instrument and equipment sharing management platform for Chinese Academy of Sciences can solve the problems of closed management, difficult sharing, and low operation efficiency of instruments and equipment among scientific units effectively. Meanwhile, users can learn the using and the sharing situation of various instruments through the system. The SAMP system can provide decent decision-making basis for scientific and efficient management work of competent business departments at all levels. So when the data, which belong to the apparatus apply info table, reaches the million scale, the query performance will decline quickly because of using joining query. At present, the solution is using sharding, just like Hash fetching algorithm. Because of the meaningless ID, this way is ineffective. There is a certain degree of aggregation in geographical areas between users and instruments, so a strategy that based on the K-means algorithm is used in this study. The result shows it can improve the query performance at least 70%.
作者 马跃 王喆峰 尹震宇 王春晓 李明时 廉梦佳 MA Yue;WANG Zhe-Feng;YIN Zhen-Yu;WANG Chun-Xiao;LI Ming-Shi;LIAN Meng-Jia(School of Computer and Control Engineering,Universiy of Chinese Academy of Sciences,Beijing 100049,China;Shenyang Institute of Computing Technology,Chinese Academy of Sciences,Shenyang 110168,China)
出处 《计算机系统应用》 2019年第6期69-75,共7页 Computer Systems & Applications
基金 核高基重大专项(2017ZX01030-201)~~
关键词 SAMP系统 数据库切分 K-MEANS聚类算法 查询性能 并发 SAMP system sharding K-means algorithm query performance concurrency
  • 相关文献

参考文献8

二级参考文献42

共引文献48

同被引文献55

引证文献6

二级引证文献35

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部