首页> 外文会议> >Cache optimization for memory-resident decision support commercial workloads
【24h】

Cache optimization for memory-resident decision support commercial workloads

机译:用于内存驻留决策的缓存优化可支持商业工作负载

获取原文

摘要

Dramatic increases in the main-memory size of computers is allowing some applications to shift their main data storage area from disk to main memory and, as a result, increase their performance. This trend is at work in some databases, resulting in what is called memory-resident databases. However, because of the increasing gap between processor and main memory speed, in these systems, effective use of the cache hierarchy is crucial to high performance. Unfortunately, there has been relatively little work on building cache-friendly database systems. We present several cache-oriented optimizations to enable effective exploitation of caches in memory-resident decision support databases. The main optimization involves developing a query optimizer that includes the cost of cache misses in its cost metrics. The other optimizations are sophisticated data blocking and software prefetching. These optimizations require no custom-designed hardware support and are effective for the more complicated TPC-D queries. In a simple database, these queries run about 13% faster with the cache-oriented optimizer and blocking, and a total of 31% faster if, in addition, we add prefetching. The effectiveness of these optimizations is stable across a range of cache sizes, cache line sizes, and miss penalties.
机译:计算机主内存大小的急剧增加使某些应用程序可以将其主数据存储区域从磁盘转移到主内存,从而提高其性能。这种趋势在某些数据库中起作用,这导致了所谓的驻留内存的数据库。但是,由于处理器和主内存速度之间的差距越来越大,因此在这些系统中,有效使用高速缓存层次结构对于高性能至关重要。不幸的是,构建缓存友好的数据库系统的工作相对较少。我们提出了几种面向缓存的优化,以使内存驻留决策支持数据库中的缓存得到有效利用。主要优化涉及开发查询优化器,该优化器将高速缓存未命中的成本包括在其成本指标中。其他优化是复杂的数据阻止和软件预取。这些优化不需要自定义设计的硬件支持,并且对于更复杂的TPC-D查询是有效的。在一个简单的数据库中,使用面向缓存的优化器和阻塞,这些查询的运行速度提高了约13%,如果另外添加了预取功能,则这些查询的运行速度总共提高了31%。这些优化的有效性在一系列高速缓存大小,高速缓存行大小和未命中罚款中保持稳定。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号