Recent studies have addressed that the cache be havior is important in the design of main memory index structures. Cache-conscious indices such as the CSB^+-tree are shown to outperform conventional main memory indic...Recent studies have addressed that the cache be havior is important in the design of main memory index structures. Cache-conscious indices such as the CSB^+-tree are shown to outperform conventional main memory indices such as the AVL-tree and the T-tree. This paper proposes a cacheconscious version of the T-tree, CST-tree, defined according to the cache-conscious definition. To separate the keys within a node into two parts, the CST-tree can gain higher cache hit ratio.展开更多
This paper presents an efficient recovery scheme suitable for real-time mainmemory database. In the recovery scheme, log records are stored in non-volatile RAM which is dividedinto four different partitions based on t...This paper presents an efficient recovery scheme suitable for real-time mainmemory database. In the recovery scheme, log records are stored in non-volatile RAM which is dividedinto four different partitions based on transaction types. Similarly, a main memory database isdivided into four partitions based data types. When the using ratio of log store area exceeds thethreshold value, checkpoint procedure is triggered. During executing checkpoint procedure, someuseless log records are deleted. During restart recovery after a crash, partition reloading policyis adopted to assure that critical data are reloaded and restored in advance, so that the databasesystem can be brought up before the entire database is reloaded into main memory. Therefore downtime is obvionsly reduced. Simulation experiments show our recovery scheme obviously improves thesystem performance, and does a favor to meet the dtadlints of real-time transactions.展开更多
As the speed gap between main memory and modern processors continues to widen,the cache behavior becomes more important for main memory database systems(MMDBs).Indexing technique is a key component of MMDBs.Unfortunat...As the speed gap between main memory and modern processors continues to widen,the cache behavior becomes more important for main memory database systems(MMDBs).Indexing technique is a key component of MMDBs.Unfortunately,the predominant indexes-B^+-trees and T-trees--have been shown to utilize cache poorly,which triggers the development of many cache-conscious indexes,such as CSB^+-trees and pB^+-trees.Most of these cache-conscious indexes are variants of conventional B^+-trees,and have better cache performance than B^+-trees.In this paper,we develop a novel J^+-tree index,inspired by the Judy structure which is an associative array data structure,and propose a more cacheoptimized index--Prefetching J^+-tree(pJ^+-tree),which applies prefetching to J^+-tree to accelerate range scan operations.The J^+-tree stores all the keys in its leaf nodes and keeps the reference values of leaf nodes in a Judy structure,which makes J^+-tree not only hold the advantages of Judy(such as fast single value search)but also outperform it in other aspects.For example,J^+-trees can achieve better performance on range queries than Judy.The pJ^+-tree index exploits prefetching techniques to further improve the cache behavior of J^+-trees and yields a speedup of 2.0 on range scans.Compared with B^+-trees,CSB^+-trees,pB^+-trees and T-trees,our extensive experimental Study shows that pJ^+-trees can provide better performance on both time(search,scan,update)and space aspects.展开更多
Storing the whole database in the main-memory is a common method to processreal-time transaction in real-time database systems. The recovery mechanism of Main-memory Real-timeDatabase Systems (MMRTDBS) should reflect ...Storing the whole database in the main-memory is a common method to processreal-time transaction in real-time database systems. The recovery mechanism of Main-memory Real-timeDatabase Systems (MMRTDBS) should reflect the characteristics of the main-memory database andreal-time database because their structures are quite different from other conventional databasesystems. In this paper, therefore, we propose a multi-level recovery mechanism for main-memoryreal-time database systems with Extendable Chained Bucket Hashing (ECBH). Owing to the occurrence ofreal-time data in real-time systems, we should also consider it in our recovery mechanism .According to our performance test, this mechanism can improve the transaction concurrency, reducingtransactions ' deadline missing rate.展开更多
基金Supported bythe National High Technology of 863Project (2002AA1Z2308 ,2002AA118030)
文摘Recent studies have addressed that the cache be havior is important in the design of main memory index structures. Cache-conscious indices such as the CSB^+-tree are shown to outperform conventional main memory indices such as the AVL-tree and the T-tree. This paper proposes a cacheconscious version of the T-tree, CST-tree, defined according to the cache-conscious definition. To separate the keys within a node into two parts, the CST-tree can gain higher cache hit ratio.
文摘This paper presents an efficient recovery scheme suitable for real-time mainmemory database. In the recovery scheme, log records are stored in non-volatile RAM which is dividedinto four different partitions based on transaction types. Similarly, a main memory database isdivided into four partitions based data types. When the using ratio of log store area exceeds thethreshold value, checkpoint procedure is triggered. During executing checkpoint procedure, someuseless log records are deleted. During restart recovery after a crash, partition reloading policyis adopted to assure that critical data are reloaded and restored in advance, so that the databasesystem can be brought up before the entire database is reloaded into main memory. Therefore downtime is obvionsly reduced. Simulation experiments show our recovery scheme obviously improves thesystem performance, and does a favor to meet the dtadlints of real-time transactions.
基金supported by a grant from HP Lab China,and the National Natural Science Foundation of China under Grant Nos.60496325 and 60573092
文摘As the speed gap between main memory and modern processors continues to widen,the cache behavior becomes more important for main memory database systems(MMDBs).Indexing technique is a key component of MMDBs.Unfortunately,the predominant indexes-B^+-trees and T-trees--have been shown to utilize cache poorly,which triggers the development of many cache-conscious indexes,such as CSB^+-trees and pB^+-trees.Most of these cache-conscious indexes are variants of conventional B^+-trees,and have better cache performance than B^+-trees.In this paper,we develop a novel J^+-tree index,inspired by the Judy structure which is an associative array data structure,and propose a more cacheoptimized index--Prefetching J^+-tree(pJ^+-tree),which applies prefetching to J^+-tree to accelerate range scan operations.The J^+-tree stores all the keys in its leaf nodes and keeps the reference values of leaf nodes in a Judy structure,which makes J^+-tree not only hold the advantages of Judy(such as fast single value search)but also outperform it in other aspects.For example,J^+-trees can achieve better performance on range queries than Judy.The pJ^+-tree index exploits prefetching techniques to further improve the cache behavior of J^+-trees and yields a speedup of 2.0 on range scans.Compared with B^+-trees,CSB^+-trees,pB^+-trees and T-trees,our extensive experimental Study shows that pJ^+-trees can provide better performance on both time(search,scan,update)and space aspects.
文摘Storing the whole database in the main-memory is a common method to processreal-time transaction in real-time database systems. The recovery mechanism of Main-memory Real-timeDatabase Systems (MMRTDBS) should reflect the characteristics of the main-memory database andreal-time database because their structures are quite different from other conventional databasesystems. In this paper, therefore, we propose a multi-level recovery mechanism for main-memoryreal-time database systems with Extendable Chained Bucket Hashing (ECBH). Owing to the occurrence ofreal-time data in real-time systems, we should also consider it in our recovery mechanism .According to our performance test, this mechanism can improve the transaction concurrency, reducingtransactions ' deadline missing rate.
文摘基于集群(Cluster)环境的并行内存数据库系统,不仅可以管理更大规模的数据,提高事务处理效率,而且可以大大降低系统成本.面向集群环境的并行内存数据库系统,提出一种高效率的单阶段事务提交协议,该协议通过减少提交过程的消息数量,节省了网络开销;事务协调者负责进行日志的记录,利用差分日志内在的并行特点,使用多路日志磁盘进行日志写入,充分利用IO带宽,加快事务的提交,减少事务的响应时间.结果表明:通过该协议,8个站点2 GB的内存数据库系统的恢复总时间从65 s减少为28 s.
基金Supported by the National Natural Science Foundation of China under Grant No.6073045 (国家自然科学基金)the Defense Pre-Research Project of the ‘Tenth Five-Year-Plan’ of China under Grant No.413150403 (国家"十五"国防预研基金)