Abstract
BigDAWG is a polystore system designed to work on complex problems that naturally span across different processing or storage engines. BigDAWG provides an architecture that supports diverse database systems working with different data models, support for the competing notions of location transparency and semantic completeness via islands of information and a middleware that provides a uniform multi-island interface. In this article, we describe the current architecture of BigDAWG, its application on the MIMIC II medical dataset, and our plans for the mechanics of cross-system queries.
Introduction
In the modern data landscape, the "one size fits all" database is a myth. Organizations increasingly rely on specialized engines: relational databases (SQL) for structured data, array stores for sensor logs, and key-value stores for unstructured text. However, real-world analytical problems often require correlating information across all these disparate formats. Traditionally, this led to either manual, error-prone data migration or the use of federated databases that force data into a "lowest common denominator" model, sacrificing the performance benefits of specialized engines.
BigDAWG (Big Data Analytics Working Group) addresses this by creating a "polystore" middleware that manages multiple disparate engines without forcing them into a single mold.
The BigDAWG Architecture
The BigDAWG system is built upon a four-layer architecture designed to bridge the gap between specialized storage and unified querying.
- Database and Storage Engines: The foundation consists of "vertically-integrated" systems like PostgreSQL (relational), SciDB (array), and Accumulo (key-value).
- Islands of Information: This is the core innovation. An "island" is a user-facing abstraction providing a specific data model and query language. An island can span multiple engines; for instance, a "Relational Island" might interface with both PostgreSQL and Myria.
- BigDAWG API: Users interact with the system via two primary commands:
SCOPE, which defines the island or context for a query, andCAST, which facilitates data movement between islands or engines. - Middleware/Shim Layer: Lightweight connectors called "shims" translate island-level queries into engine-specific commands.
The system also employs a dual-phase execution strategy. A Training Phase records performance "signatures" for new queries, while a Production Phase utilizes these signatures to select the most efficient execution plan based on real-time system load.
Islands of Information and Semantic Completeness
A fundamental challenge in polystore systems is the trade-off between location transparency (the user not needing to know where data resides) and semantic completeness (utilizing the full power of a specific engine). BigDAWG’s "islands" allow users to navigate this spectrum.
While a general island provides broad access, the system also supports "degenerate islands" that map to a single engine. This preserves 100% of the engine's native functionality for specialized tasks. Furthermore, by treating data movement as a first-class citizen through the CAST operation, BigDAWG acknowledges that cross-engine migration is often the most significant performance bottleneck and seeks to optimize it.
Application: The MIMIC II Dataset
The primary testbed for BigDAWG is the MIMIC II (Medical Information Mart for Intensive Care) dataset. This massive, de-identified public dataset exemplifies the need for polystore systems, as it contains:
- Structured data: Patient demographics and medications (PostgreSQL/Myria).
- Unstructured text: Clinical notes from doctors and nurses (Apache Accumulo).
- Waveform data: High-frequency ECG signals (SciDB).
- Streaming data: Real-time vital signs (S-Store).
BigDAWG enables cross-modal analytics, such as correlating unstructured text notes with structured clinical data or joining historical waveform analysis with real-time streaming vitals.
Conclusion and Future Work
The BigDAWG prototype successfully integrates five distinct database engines, demonstrating the feasibility of the island-based polystore approach. Future development focuses on refining the mechanics of cross-system queries, particularly high-performance joins across different islands. Additionally, the team aims to further automate the CASTING process to make data movement even more transparent to the end-user, while continuing to evaluate the system's scalability in exabyte-scale environments.
Summary updated