DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

Drill


Drill is a database system designed for Big Data exploration. It is an open-source, distributed SQL query system based on Google's Dremel query system, and it features a columnar execution engine. Drill is the only distributed SQL engine in the world that does not require schemas. It was designed from the ground up, and it supports many NoSQL databases and file systems, with the ability for a single query to join data from multiple types of datastores, like MongoDB or HBase for instance.[05][06][04][01]

Source Code
https://github.com/apache/drill[02]
Country of Origin
US
Start Year
2012 [15]
Project Type
Open Source
Written in
Java
Supported Languages
SQL
Inspired By
BigQuery
Compatible With
HBase, MongoDB
Operating Systems
Linux, macOS, Windows
License
Apache v2

Database Entry

Drill


Drill is a database system designed for Big Data exploration. It is an open-source, distributed SQL query system based on Google's Dremel query system, and it features a columnar execution engine. Drill is the only distributed SQL engine in the world that does not require schemas. It was designed from the ground up, and it supports many NoSQL databases and file systems, with the ability for a single query to join data from multiple types of datastores, like MongoDB or HBase for instance.[05][06][04][01]

History[07][08][04]


In 2010, Google published a paper titled "Dremel: Interactive Analysis of Web-Scale Datasets" that described a scalable database system designed for "interactive analysis of nested data". The Dremel system is available today under Google's BigQuery system. Development of Apache Drill began in 2012, with the goal of replicating the capabilities of Dremel. Initial goals of the system included support for multiple storage systems, file formats, query languages, and data sources, as well as the ability to scale over 10,000 servers and process petabytes of data in seconds.

Checkpoints[09]


Drill adopts optimistic query execution, which assumes that failures occur rarely during queries. Therefore, it does not take checkpoints. With its pipelined query execution model, single queries are simply reran when they fail.

Concurrency Control[10]


Drill supports Optimistic Concurrency Control. It plans queries in fragments, assuming that all of the fragments can be completed in parallel without interfering with each other. Larger fragments are broken into smaller fragments, which are run in clusters until the whole fragment is complete.

Data Model[11][12][01]


Drill features a JSON self-describing data model that supports language independence and loosely defined, weak data typing. This data model uses on-the-fly schema discovery, also known as late binding, to begin the execution of queries without having to know the structure of the data. Through this data model, Drill can handle data with evolving schemas or even no schemas at all.

Drill's internal data representation is columnar and hierarchical, which allows for efficient SQL processing without the need to flatten data into rows. The data model supports queries on complex/nested data as well as evolving data structures.

Foreign Keys[13][14]


Drill supports the usage of foreign keys within the schemas of the datastores that it gathers data from.

Query Interface


SQL

System Architecture


Citations

15 sources
  1. https://drill.apache.org apache.org Dead — Check Archive
  2. GitHub - apache/drill: Apache Drill is a distributed MPP query layer for self describing data · GitHub github.com
  3. Documentation - Apache Drill apache.org
  4. Apache Drill - Wikipedia wikipedia.org
  5. Drill Introduction - Apache Drill apache.org
  6. https://mapr.com/products/apache-drill mapr.com Dead — Check Archive
  7. DrillProposal - INCUBATOR - Apache Software Foundation apache.org
  8. The Apache Software Foundation Announces Apache™ Drill™ as a Top-Level Project - The ASF Blog apache.org
  9. Architecture - Apache Drill apache.org
  10. Drill Query Execution - Apache Drill apache.org
  11. JSON Data Model - Apache Drill apache.org
  12. Frequently Asked Questions - Apache Drill apache.org
  13. LATERAL Join - Apache Drill apache.org
  14. [DRILL-4391] browsing metadata via SQLSquirrel shows Postgres indexes, primary and foreign keys as tables - ASF Jira apache.org
  15. First commit github.com
Revision #9