Abstract
Currently, the document-oriented database supported by Apache Drill is only MongoDB. However, due to the lack of data model, application interface, security and usability of MongoDB, Apache Drill is limited in querying and processing document data. CouchDB is an emerging document-oriented database. Compared to MongoDB, CouchDB has the advantage of supporting triggers, running in Android and BSD environments, rendering in JSON format, and supporting any language that supports HTTP requests, but CouchDB has low query performance and does not support standard SQL queries. Therefore, the research on the CouchDB storage plugin for Apache Drill makes sense. This paper first researches the basic architecture of CouchDB and Apache Drill and the query flow of Apache Drill, and the ValueVector data structure, then designs and implements CouchDB storage plugin based on Apache Drill’s storage plugin specification and CouchDB’s application programming interface. With a simple configuration, users can use CouchDB as a data source for the Apache Drill query engine. Experiments show that the CouchDB Storage Plugin not only further enhances Apache Drill’s query and management capabilities for document-oriented data, but also enables quick query of CouchDB with SQL and greatly improves CouchDB’s query performance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Melnik, S., et al.: Dremel: interactive analysis of web-scale datasets. Proc. VLDB Endow. 3(1–2), 330–339 (2010)
Hausenblas, M., Nadeau, J.: Apache drill: interactive ad-hoc analysis at scale. Big Data 1(2), 100–104 (2013)
Liu, T., Martonosi, M.: Impala: a middleware system for managing autonomic, parallel sensor systems. ACM SIGPLAN Not. 38(10), 107–118 (2003)
Zaharia, M., Chowdhury, M., Franklin, M.J., et al.: Spark: cluster computing with working sets. In: Usenix Conference on Hot Topics in Cloud Computing (2010)
Zaharia, M., et al.: Spark: cluster computing with working sets. In: HotCloud 2010, vol. 10, p. 95 (2010)
Kimball, R., Caserta, J.: The Data Warehouse ETL Toolkit: Practical Techniques for Extracting, Cleaning, Conforming, and Delivering Data. Wiley, Hoboken (2011)
Vora, M.N.: Hadoop-HBase for large-scale data. In: Proceedings of 2011 International Conference on Computer Science and Network Technology, vol. 1, pp. 601–605. IEEE, December 2011
Thusoo, A., et al.: Hive: a warehousing solution over a map-reduce framework. Proc. VLDB Endow. 2(2), 1626–1629 (2009)
Chodorow, K.: MongoDB: The Definitive Guide: Powerful and Scalable Data Storage. O’Reilly Media, Inc., Sebastopol (2013)
CouchDB vs. MongoDB Comparison. https://db-engines.com/en/system/CouchDB%3BCouchbase%3BMongoDB. Accessed 17 Apr 2019
Lamb, J.P., Lew, P.W.: Lotus Notes Network Design. McGraw-Hill, Inc., New York (1996)
Androulaki, E., et al.: Hyperledger fabric: a distributed operating system for permissioned blockchains. In: Proceedings of the Thirteenth EuroSys Conference, p. 30. ACM, April 2018
Using CouchDB—hyperledger-fabricdocs master documentation. https://hyperledger-fabric.readthedocs.io/en/release-1.4/couchdb_tutorial.html. Accessed 15 July 2019
HBase Storage Plugin - Apache Drill. http://drill.apache.org/docs/hbase-storage-plugin/. Accessed 15 July 2019
Hive Storage Plugin - Apache Drill. http://drill.apache.org/docs/hive-storage-plugin/. Accessed 15 July 2019
RDBMS Storage Plugin - Apache Drill. http://drill.apache.org/docs/rdbms-storage-plugin/. Accessed 15 July 2019
MongoDB Storage Plugin - Apache Drill. http://drill.apache.org/docs/mongodb-storage-plugin/. Accessed 15 July 2019
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Liao, Y., Tan, L. (2019). Research of CouchDB Storage Plugin for Big Data Query Engine Apache Drill. In: Jin, H., Lin, X., Cheng, X., Shi, X., Xiao, N., Huang, Y. (eds) Big Data. BigData 2019. Communications in Computer and Information Science, vol 1120. Springer, Singapore. https://doi.org/10.1007/978-981-15-1899-7_16
Download citation
DOI: https://doi.org/10.1007/978-981-15-1899-7_16
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-1898-0
Online ISBN: 978-981-15-1899-7
eBook Packages: Computer ScienceComputer Science (R0)