• DocumentCode
    610306
  • Title

    Identifying hot and cold data in main-memory databases

  • Author

    Levandoski, Justin J. ; Larson, P.-A. ; Stoica, R.

  • fYear
    2013
  • fDate
    8-12 April 2013
  • Firstpage
    26
  • Lastpage
    37
  • Abstract
    Main memories are becoming sufficiently large that most OLTP databases can be stored entirely in main memory, but this may not be the best solution. OLTP workloads typically exhibit skewed access patterns where some records are hot (frequently accessed) but many records are cold (infrequently or never accessed). It is more economical to store the coldest records on secondary storage such as flash. As a first step towards managing cold data in databases optimized for main memory we investigate how to efficiently identify hot and cold data. We propose to log record accesses - possibly only a sample to reduce overhead - and perform offline analysis to estimate record access frequencies. We present four estimation algorithms based on exponential smoothing and experimentally evaluate their efficiency and accuracy. We find that exponential smoothing produces very accurate estimates, leading to higher hit rates than the best caching techniques. Our most efficient algorithm is able to analyze a log of 1B accesses in sub-second time on a workstation-class machine.
  • Keywords
    data handling; database management systems; estimation theory; OLTP databases; estimation algorithms; exponential smoothing; identifying cold data; identifying hot data; main memory databases; record access frequencies; secondary storage; skewed access patterns; Classification algorithms; Databases; Engines; Equations; Frequency estimation; Random access memory; Smoothing methods;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Data Engineering (ICDE), 2013 IEEE 29th International Conference on
  • Conference_Location
    Brisbane, QLD
  • ISSN
    1063-6382
  • Print_ISBN
    978-1-4673-4909-3
  • Electronic_ISBN
    1063-6382
  • Type

    conf

  • DOI
    10.1109/ICDE.2013.6544811
  • Filename
    6544811