[Paper Review] AsterixDB: A Scalable, Open Source BDMS
AsterixDB is an open-source, scalable Big Data Management System (BDMS) that combines the flexibility of NoSQL with the query power of SQL, supporting complex data types, secondary indexing, continuous data ingestion, and ACID-like transactions. It achieves competitive performance against mature systems like MongoDB and Hive, demonstrating that a unified platform can efficiently handle diverse Big Data workloads from schema-first to schema-never use cases.
AsterixDB is a new, full-function BDMS (Big Data Management System) with a feature set that distinguishes it from other platforms in today's open source Big Data ecosystem. Its features make it well-suited to applications like web data warehousing, social data storage and analysis, and other use cases related to Big Data. AsterixDB has a flexible NoSQL style data model; a query language that supports a wide range of queries; a scalable runtime; partitioned, LSM-based data storage and indexing (including B+-tree, R-tree, and text indexes); support for external as well as natively stored data; a rich set of built-in types; support for fuzzy, spatial, and temporal types and queries; a built-in notion of data feeds for ingestion of data; and transaction support akin to that of a NoSQL store. Development of AsterixDB began in 2009 and led to a mid-2013 initial open source release. This paper is the first complete description of the resulting open source AsterixDB system. Covered herein are the system's data model, its query language, and its software architecture. Also included are a summary of the current status of the project and a first glimpse into how AsterixDB performs when compared to alternative technologies, including a parallel relational DBMS, a popular NoSQL store, and a popular Hadoop-based SQL data analytics platform, for things that both technologies can do. Also included is a brief description of some initial trials that the system has undergone and the lessons learned (and plans laid) based on those early "customer" engagements.
Motivation & Objective
- To design and implement a full-function Big Data Management System (BDMS) that supports flexible data modeling, complex queries, and scalable data management.
- To address the limitations of existing systems—such as analytics platforms lacking storage, NoSQL stores lacking full query languages, and RDBMSs lacking schema flexibility—by unifying their strengths.
- To enable efficient management and querying of semi-structured, nested, and complex data (e.g., text, spatial, temporal) in large-scale, shared-nothing clusters.
- To support continuous data ingestion via built-in data feeds and provide transactional semantics akin to NoSQL stores.
- To evaluate AsterixDB’s performance against established systems (Hive, MongoDB, System-X) across diverse query types and data ingestion workloads.
Proposed method
- AsterixDB uses a JSON-based, flexible data model (ADM) that supports both schema-first and schema-never data use cases.
- It employs a declarative query language (AQL) with full SQL-like capabilities, including complex joins, grouping, and window functions.
- The system is built on a scalable, parallel runtime engine using Hyracks, with a shared-nothing architecture for horizontal scaling.
- Data storage is based on an all-LSM (Log-Structured Merge) structure, supporting B+tree, R-tree, and full-text indexes for efficient secondary indexing.
- It supports continuous data ingestion via built-in data feeds, enabling real-time data loading with minimal latency.
- Transaction support is provided through a NoSQL-style ACID model, ensuring consistency and durability for updates and inserts.
Experimental results
Research questions
- RQ1Can a single BDMS effectively unify the capabilities of NoSQL stores, parallel RDBMSs, and Big Data analytics platforms?
- RQ2How does AsterixDB’s performance compare to established systems like Hive, MongoDB, and a commercial parallel DBMS across diverse query types and data ingestion workloads?
- RQ3To what extent does AsterixDB’s flexible data model and rich type system support complex, semi-structured data workloads such as web data warehousing and social media analysis?
- RQ4How efficiently does AsterixDB handle indexing and query optimization for both selective and full-table scans?
- RQ5What are the performance bottlenecks in query execution and data ingestion, and how can they be mitigated?
Key findings
- For full-table scans without indexing, AsterixDB’s query performance is comparable to that of Hive, MongoDB, and the commercial System-X.
- With secondary indexes, AsterixDB achieves performance on par with other systems, demonstrating effective index utilization for selective queries.
- For small-selectivity queries, AsterixDB incurs higher response times due to lack of limit pushdown into sort operations and result fetching overhead, which are under active optimization.
- For batched inserts, AsterixDB outperforms MongoDB and System-X when using a batch size of 20 records, due to better distribution of job generation overhead.
- Bulk load and data feed capabilities in AsterixDB offer even better performance for high-volume, continuous data ingestion, making it suitable for real-time workloads.
- Overall, early benchmarks show that AsterixDB is surprisingly competitive with mature systems, supporting the claim that a single platform can effectively serve a broad range of Big Data use cases.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.