在过去的10年间,随着硬件技术不断发展,内存价格越来越低,许多计算机系统均布置了大容量内存.数据库系统开发商和研究人员认识到这一趋势,并开发出多款内存数据库产品,其特点在于先将数据装载到内存之中,再执行相应的数据管理任务.随着内存数据库的出现,如何客观、公正地评测它的性能显得愈发重要.尽管当前不乏关于关系型数据库系统的评测基准,例如威斯康星测试基准和TPC-X系列等,但是这些基准并未充分考虑内存数据库的重要特性,因此不适合评测内存数据库.本文提出了一种面向内存数据库的评测基准(InMemBench),与传统的关系数据库基准显著不同,它综合考虑了内存数据库特有的数据预取过程、物理组织方式和压缩能力等方面的重要特点.最后,本文还通过新基准比较了4款内存数据库的性能.
The hardware technology continues to develop in the past decade, and the price of memory gets lower so that many computer systems tend to deployhuge-size memory. To fulfill this benefit, the researchers also developed several in-memory databases (IMDB) that execute workloads after pre-loading the whole data into memory. The bloom of various in-memory databases shows the necessity of testing and evaluating their performance objectively and fairly. Although the existing database benchmarks have shown great success during the development of the database technologies, including Wisconsin benchmark, TPC-X series, and so on, such work cannot be applied straightforwardly due to the lack of consideration of several unique characteris- tics of in-memory databases. In this article, we propose a novel benchmark, called InMemBench,to test and evaluate the performance of an from traditional database benchmarks, we tion, and data compression. Moreover, we tiveness and efficiency of our proposal. in-memory database objectively and fairly. Different take special consideration of startup, data organiza conduct extensive experiments to illustrate the effectiveness and efficiency of our proposal.