首页 | 官方网站   微博 | 高级检索  
     

IP交换机中嵌入式内存数据库HSQL的索引优化
引用本文:黄明飞,徐学洲.IP交换机中嵌入式内存数据库HSQL的索引优化[J].计算机工程与应用,2002,38(23):194-196,203.
作者姓名:黄明飞  徐学洲
作者单位:西安电子科技大学软件工程研究所,西安,710071
摘    要:该文分析总结了当前在内存数据库中提高树索引的缓存敏感性的主要技术,设计并实现了一个具有缓存敏感性的AVL树,即CC-AVL树。CC-AVL树合理利用缓存行的大小,并构造父子节点在内存中连续存储的结构,从而使一个缓存行中包含正要访问的节点和其左孩子节点,同时使用CPU支持的数据预取技术获得右孩子节点。从而使CC-AVL树比AVL树具有更高的缓存敏感性。CC-AVL树被用于一个运行在IP交换机中的嵌入式内存数据库HSQL中。

关 键 词:IP交换机  HSQL  缓存敏感性  CC-AVL树  缓存行
文章编号:1002-8331-(2002)23-0194-03

Optimizing Index of Embedded Main Memory Database HSQL in IP Switch
Huang Mingfei Xu,Xuezhou.Optimizing Index of Embedded Main Memory Database HSQL in IP Switch[J].Computer Engineering and Applications,2002,38(23):194-196,203.
Authors:Huang Mingfei Xu  Xuezhou
Abstract:This paper describes recent main techniques of cache-conscious index in detail.We design and implement a cache-conscious AVL tree structure,CC-AVL tree.CC-AVL trees construct a consecutive memory for a parent node and its left child node in a tree of which a cache line is composed.It utilizes the prefetching instructions provided by CPU to prefetch the right node.Therefore,CC-AVL trees are more cache-conscious than AVL trees.CC-AVL trees are used in HSQL,which is an embedded main memory database used in an IP switch.
Keywords:IP Switch  HSQL  Cache conscious  CC-AVL Trees  Cache line  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号