@inproceedings{li2016accelerating, author = {Li, Feng and Das, Sudipto and Syamala, Manoj and Narasayya, Vivek}, title = {Accelerating Relational Databases by Leveraging Remote Memory and RDMA}, booktitle = {ACM International Conference on Management of Data (SIGMOD) 2016}, year = {2016}, month = {June}, abstract = {Memory is a crucial resource in relational databases (RDBMSs). When there is insufficient memory, RDBMSs are forced to use slower media such as SSDs or HDDs, which can significantly degrade workload performance. Cloud database services are deployed in data centers where network adapters supporting remote direct memory access (RDMA) at low latency and high bandwidth are becoming prevalent. We study the novel problem of how a Symmetric Multi-Processing (SMP) RDBMS, whose memory demands exceed locally-available memory, can leverage available remote memory in the cluster accessed via RDMA to improve query performance. We expose available memory on remote servers using a lightweight file API that allows an SMP RDBMS to leverage the benefits of remote memory with modest changes. We identify and implement several novel scenarios to demonstrate these benefits, and address design challenges that are crucial for efficient implementation. We implemented the scenarios in Microsoft SQL Server engine and present the first end-to-end study to demonstrate benefits of remote memory for a variety of micro-benchmarks and industry-standard benchmarks. Compared to using disks when memory is insufficient, we improve the throughput and latency of queries with short reads and writes by 3× to 10×, while improving the latency of multiple TPC-H and TPC-DS queries by 2× to 100×.}, publisher = {ACM – Association for Computing Machinery}, url = {http://approjects.co.za/?big=en-us/research/publication/accelerating-relational-databases-by-leveraging-remote-memory-and-rdma-2/}, edition = {ACM International Conference on Management of Data (SIGMOD) 2016}, }