The VLDB Journal

, Volume 25, Issue 2, pp 151–169

RailwayDB: adaptive storage of interaction graphs

Regular Paper

DOI: 10.1007/s00778-015-0407-0

Cite this article as:
Soulé, R. & Gedik, B. The VLDB Journal (2016) 25: 151. doi:10.1007/s00778-015-0407-0


We are living in an ever more connected world, where data recording the interactions between people, software systems, and the physical world is becoming increasingly prevalent. These data often take the form of a temporally evolving graph, where entities are the vertices and the interactions between them are the edges. We call such graphs interaction graphs. Various domains, including telecommunications, transportation, and social media, depend on analytics performed on interaction graphs. The ability to efficiently support historical analysis over interaction graphs requires effective solutions for the problem of data layout on disk. This paper presents an adaptive disk layout called the railway layout for optimizing disk block storage for interaction graphs. The key idea is to divide blocks into one or more sub-blocks. Each sub-block contains the entire graph structure, but only a subset of the attributes. This improves query I/O, at the cost of increased storage overhead. We introduce optimal integer linear program (ILP) formulations for partitioning disk blocks into sub-blocks with overlapping and nonoverlapping attributes. Additionally, we present greedy heuristics that can scale better compared to the ILP alternatives, yet achieve close to optimal query I/O. We provide an implementation of the railway layout as part of RailwayDB—an open-source graph database we have developed. To demonstrate the benefits of the railway layout, we provide an extensive experimental evaluation, including model-based as well as empirical results comparing our approach to baseline alternatives.


Interaction graphs Adaptive storage I/O optimization 

Copyright information

© Springer-Verlag Berlin Heidelberg 2015

Authors and Affiliations

  1. 1.Faculty of InformaticsUniversità della Svizzera italianaLuganoSwitzerland
  2. 2.Department of Computer EngineeringBilkent UniversityAnkaraTurkey

Personalised recommendations