SharkDB: an in-memory column-oriented storage for trajectory analysis

Bolong Zheng, Haozhou Wang, Kai Zheng, Han Su, Kuien Liu, Shuo Shang

Research output: Contribution to journalArticlepeer-review

23 Scopus citations

Abstract

The last decade has witnessed the prevalence of sensor and GPS technologies that produce a high volume of trajectory data representing the motion history of moving objects. However some characteristics of trajectories such as variable lengths and asynchronous sampling rates make it difficult to fit into traditional database systems that are disk-based and tuple-oriented. Motivated by the success of column store and recent development of in-memory databases, we try to explore the potential opportunities of boosting the performance of trajectory data processing by designing a novel trajectory storage within main memory. In contrast to most existing trajectory indexing methods that keep consecutive samples of the same trajectory in the same disk page, we partition the database into frames in which the positions of all moving objects at the same time instant are stored together and aligned in main memory. We found this column-wise storage to be surprisingly well suited for in-memory computing since most frames can be stored in highly compressed form, which is pivotal for increasing the memory throughput and reducing CPU-cache miss. The independence between frames also makes them natural working units when parallelizing data processing on a multi-core environment. Lastly we run a variety of common trajectory queries on both real and synthetic datasets in order to demonstrate advantages and study the limitations of our proposed storage.
Original languageEnglish (US)
Pages (from-to)455-485
Number of pages31
JournalWorld Wide Web
Volume21
Issue number2
DOIs
StatePublished - May 5 2017

Fingerprint

Dive into the research topics of 'SharkDB: an in-memory column-oriented storage for trajectory analysis'. Together they form a unique fingerprint.

Cite this