期刊文献+

基于哈希算法的脏数据回写磁盘实时调优策略

Real-time Tuning Strategy of Dirty Data Writing Back to Disk Based on Hash Algorithm
下载PDF
导出
摘要 针对传统数据库缓冲池脏数据回写磁盘策略实时性与安全性差的问题,提出基于Hash算法与先入先出(FIFO)双向链表的数据库缓冲池脏数据回写磁盘实时调优策略。利用基于负载的调优策略创建多个内存FIFO队列链表,通过Hash算法将数据库缓冲区内的脏数据块按最后修改时间随机分配到不同队列负载中,实现FIFO队列链表的负载均衡,并利用全局时序约束将链表队列中的脏数据块分批回写磁盘,以解决传统脏数据回写磁盘策略系统资源消耗大与宕机后数据丢失风险高的问题。实验结果证明,该策略能提高脏数据回写的实时性及安全性,降低数据丢失率。 Aiming at the problem of low real-time performance and poor security during the period when the traditional database writes dirty data in the buffer pool back to disk, a database buffer pool real-time tuning strategy of dirty data writing back to disk is proposed in this paper on the basis of Hash algorithm and the First In First Out(FIFO) doubly-linked list. Multiple FIFO queue lists are created in the memory according to the tuning strategy based on workload, and the dirty data blocks in the buffer are randomly distributed in different lists by Hash algorithm according to their last modified time, in order to do load balancing across those FIFO queue lists. Meanwhile, the global timing constraints are built to help writing the dirty data blocks back to disk in batches to solve the problem of high resource consumption and high risk of data loss in downtime when adopting the traditional writing back strategy. Experimental results prove that this strategy can improve the real-time performance and security when writing back the dirty data, and reduce the loss rate of data.
作者 刘志 张晶
出处 《计算机工程》 CAS CSCD 2014年第6期5-7,12,共4页 Computer Engineering
基金 云南省自然科学基金资助项目(2012FB137 2011FZ060)
关键词 脏数据块 先入先出队列链表 哈希算法 缓冲池 时序约束 dirty data block First In First Out(FIFO) queue list Hash algorithm buffer pool timing constraint
  • 相关文献

参考文献11

二级参考文献34

  • 1何月顺,丁秋林.调整优化Oracle 9i数据库的性能[J].计算机应用与软件,2004,21(6):10-11. 被引量:15
  • 2蒋蜀,陈佩佩,谢立.并行数据库的研究[J].计算机研究与发展,1994,31(1):1-10. 被引量:6
  • 3何丽萍,刘立程.改进的基于Ganglia的网格监控系统[J].广东工业大学学报,2006,23(1):85-89. 被引量:9
  • 4[5]Rob Snevely, Enterprise Data Center Design and Methodolgy, Sun Microsystems Press,2002.1.
  • 5[6]http : ∥www. yesky. com.
  • 6[1]Steve Bobrowski, Oracle 9i for Windows NT Starter Kit, The McGraw-Hill Companies,2000.
  • 7[3]Peter Gregory, Sun Certified System Administrator For Solaris[tm]8 Study Guide,Sun Microsystems Press,2001.10.
  • 8[4]John S, Howard, A Guide for the Solaris[trm] Operating EnvirOnment, Sun Microsystems Press,2001.10.
  • 9屠立德.屠祁.操作系统基础[M] 北京:清华大学出版社,2000.
  • 10王东升.FIFO页面置换算法-改进版[EB/OL].(2007-08-13).http://blog.csdn.net/ceamky/archive/2007/08/13/1741674.aspx.

共引文献29

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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