Trekking Through Siberia: Managing Cold Data in a Memory-Optimized Database

Ahmed Eldawy, Justin Levandoski, and Paul Larson

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 still more economical to store the coldest records on secondary storage such as flash. This paper introduces Siberia, a framework for managing cold data in the Microsoft Hekaton main-memory database engine. We discuss how to migrate cold data to secondary storage while providing an interface to the user to manipulate both hot and cold data that hides the actual data location. We describe how queries of different isolation levels can read and modify data stored in both hot and cold stores without restriction while minimizing number of accesses to cold storage. We also show how records can be migrated between hot and cold stores while the DBMS is online and active. Experiments reveal that for cold data access rates appropriate for main-memory optimized databases, we incur an acceptable 7-14% throughput loss.

Details

Publication typeInproceedings
Published inInternational Conference on Very Large Databases (PVLDB Vol. 7, Issue. 11), June 2014
PublisherVLDB – Very Large Data Bases
> Publications > Trekking Through Siberia: Managing Cold Data in a Memory-Optimized Database