请输入您要查询的百科知识:

 

词条 MonetDB
释义

  1. History

  2. Architecture

      Query Recycling    Database Cracking  

  3. Components

      SQL    GIS    SciQL    Data Vaults    SAM/BAM    RDF/SPARQL    R integration   Python integration  MonetDBLite  Former extensions 

  4. See also

  5. References

  6. Bibliography

  7. External links

{{Infobox software
| name = MonetDB
| logo =
| developer = MonetDB B.V.
| latest_release_version = Aug2018-SP2
| latest_release_date = {{release date |2019|01|14}}
| programming language = C
| operating_system = Cross-platform
| genre = Column-oriented DBMS
RDBMS
| license = Mozilla Public License, version 2.0
| website = {{URL|https://www.monetdb.org}}
}}

MonetDB is an open-source column-oriented database management system developed at the Centrum Wiskunde & Informatica (CWI) in the Netherlands.

It was designed to provide high performance on complex queries against large databases, such as combining tables with hundreds of columns and millions of rows.

MonetDB has been applied in high-performance applications for online analytical processing, data mining, geographic information system (GIS),[1] Resource Description Framework (RDF),[2] text retrieval and sequence alignment processing.[3]

History

Data mining projects in the 1990s required improved analytical database support. This resulted in a CWI spin-off called Data Distilleries, which used early MonetDB implementations in its analytical suite. Data Distilleries eventually became a subsidiary of SPSS in 2003, which in turn was acquired by IBM in 2009.[4]

MonetDB in its current form was first created in 2002 by doctoral student Peter Boncz and professor Martin L. Kersten as part of the 1990s' MAGNUM research project at University of Amsterdam.[5] It was initially called simply Monet, after the French impressionist painter Claude Monet. The first version under an open-source software license (a modified version of the Mozilla Public License) was released on September 30, 2004. When MonetDB version 4 was released into the open-source domain and many extensions to the code base were added by the MonetDB/CWI team. These included a new SQL frontend, supporting the 2003 standard.[6]

MonetDB introduced innovations in all layers of the DBMS: a storage model based on vertical fragmentation, a modern CPU-tuned query execution architecture that often gave MonetDB a speed advantage over the same algorithm over a typical interpreter-based RDBMS. It was one of the first database systems to tune query optimization for CPU caches. MonetDB includes automatic and self-tuning indexes, run-time query optimization, and a modular software architecture.[7][8]

By 2008, a follow-on project called X100 (MonetDB/X100) started, which evolved into the VectorWise technology. VectorWise was acquired by Actian Corporation, integrated with the Ingres database and sold as a commercial product.[9][10]

In 2011 a major effort to renovate the MonetDB codebase was started. As part of it, the code for the MonetDB 4 kernel and its XQuery components were frozen. In MonetDB 5, parts of the SQL layer were pushed into the kernel.[6] The resulting changes created a difference in internal APIs, as it transitioned from MonetDB Instruction Language (MIL) to MonetDB Assembly Language (MAL). Older, no-longer maintained top-level query interfaces were also removed. First was XQuery, which relied on MonetDB 4 and was never ported to version 5.[11] The experimental Jaql interface support was removed with the October 2014 release.[12] With the July 2015 release, MonetDB gained support for read-only data sharding and persistent indices. In this release the deprecated streaming data module DataCell was also removed from the main codebase in an effort to streamline the code.[13] In addition, the license has been changed into the [https://www.mozilla.org/en-US/MPL/2.0/ Mozilla Public License, version 2.0].

Architecture

{{update|type=section|date=June 2017}}

MonetDB architecture is represented in three layers, each with its own set of optimizers.[14]

The front-end is the top layer, providing query interface for SQL, with SciQL and SPARQL interfaces under development. Queries are parsed into domain-specific representations, like relational algebra for SQL, and optimized. The generated logical execution plans are then translated into MonetDB Assembly Language (MAL) instructions, which are passed to the next layer. The middle or back-end layer provides a number of cost-based optimizers for the MAL. The bottom layer is the database kernel, which provides access to the data stored in Binary Association Tables (BATs). Each BAT is a table consisting of an Object-identifier and value columns, representing a single column in the database.[14]

MonetDB internal data representation also relies on the memory addressing ranges of contemporary CPUs using demand paging of memory mapped files, and thus departing from traditional DBMS designs involving complex management of large data stores in limited memory.

Query Recycling

Query recycling is an architecture for reusing the byproducts of the operator-at-a-time paradigm in a column store DBMS. Recycling makes use of the generic idea of storing and reusing the results of expensive computations. Unlike low-level instruction caches, query recycling uses an optimizer to pre-select instructions to cache. The technique is designed to improve query response times and throughput, while working in a self-organizing fashion.[15] The authors from the CWI Database Architectures group, composed of Milena Ivanova, Martin Kersten, Niels Nes and Romulo Goncalves, won the "Best Paper Runner Up" at the ACM SIGMOD 2009 conference for their work on Query Recycling.[16][17]

Database Cracking

MonetDB was one of the first databases to introduce Database Cracking. Database Cracking is an incremental partial indexing and/or sorting of the data. It directly exploits the columnar nature of MonetDB. Cracking is a technique that shifts the cost of index maintenance from updates to query processing. The query pipeline optimizers are used to massage the query plans to crack and to propagate this information. The technique allows for improved access times and self-organized behavior.[18] Database Cracking received the ACM SIGMOD 2011 J.Gray best dissertation award.[19]

Components

A number of extensions exist for MonetDB that extend the functionality of the database engine. Due to the three-layer architecture, top-level query interfaces can benefit from optimizations done in the backend and kernel layers.

SQL

MonetDB/SQL is a top-level extension, which provides complete support for transactions in compliance with the 2003 standard.[14]

GIS

MonetDB/GIS is an extension to MonetDB/SQL with support for the Simple Features Access standard of Open Geospatial Consortium (OGC).[1]

SciQL

SciQL an SQL-based query language for science applications with arrays as first class citizens. SciQL allows MonetDB to effectively function as an array database. SciQL is used in the European Union PlanetData and TELEIOS project, together with the Data Vault technology, providing transparent access to large scientific data repositories.[20] Data Vaults map the data from the distributed repositories to SciQL arrays, allowing for improved handling of spatio-temporal data in MonetDB.[21] SciQL will be further extended for the Human Brain Project.[22]

Data Vaults

Data Vault is a database-attached external file repository for MonetDB, similar to the SQL/MED standard. The Data Vault technology allows for transparent integration with distributed/remote file repositories. It is designed for scientific data data exploration and mining, specifically for remote sensing data.[21] There is support for the GeoTIFF (Earth observation), FITS (astronomy), MiniSEED (seismology) and NetCDF formats.[21][23]

The data is stored in the file repository in the original format, and loaded in the database in a lazy fashion, only when needed. The system can also process the data upon ingestion, if the data format requires it.

[24]

As a result, even very large file repositories can be efficiently analyzed, as only the required data is processed in the database. The data can be accessed through either the MonetDB SQL or SciQL interfaces. The Data Vault technology was used in the European Union's TELEIOS project, which was aimed at building a virtual observatory for Earth observation data.[23] Data Vaults for FITS files have also been used for processing astronomical survey data for The INT Photometric H-Alpha Survey (IPHAS) [25][26]

SAM/BAM

MonetDB has a SAM/BAM module for efficient processing of sequence alignment data. Aimed at the bioinformatics research, the module has a SAM/BAM data loader and a set of SQL UDFs for working with DNA data.[3] The module uses the popular SAMtools library.[27]

RDF/SPARQL

MonetDB/RDF is a SPARQL-based extension for working with linked data, which adds support for RDF and allowing MonetDB to function as a triplestore. Under development for the Linked Open Data 2 project.[2]

R integration

MonetDB/R module allows for UDFs written in R to be executed in the SQL layer of the system. This is done using the native R support for running embedded in another application, inside the RDBMS in this case. Previously the MonetDB.R connector allowed the using MonetDB data sources and process them in an R session. The newer R integration feature of MonetDB does not require data to be transferred between the RDBMS and the R session, reducing overhead and improving performance. The feature is intended to give users access to functions of the R statistical software for in-line analysis of data stored in the RDBMS. It complements the existing support for C UDFs and is intended to be used for in-database processing.[28]

Python integration

Similarly to the embedded R UDFs in MonetDB, the database now has support for UDFs written in Python/NumPy. The implementation uses Numpy arrays (themselves Python wrappers for C arrays), as a result there is limited overhead - providing a functional Python integration with speed matching native SQL functions. The Embedded Python functions also support mapped operations, allowing user to execute Python functions in parallel within SQL queries. The practical side of the feature gives users access to Python/NumPy/SciPy libraries, which can provide a large selection of statistical/analytical functions.[29]

MonetDBLite

Following the release of remote driver for R (MonetDB.R) and R UDFs in MonetDB (MonetDB/R), the authors created an embedded version of MonetDB in R called MonetDBLite. It is distributed as an R package, removing the need to manage a database server, required for the previous R integrations. The DBMS runs within the R process itself, eliminating socket communication and serialisation overhead - greatly improving efficiency. The idea behind it is to deliver an SQLite-like package for R, with the performance of an in-memory optimized columnar store.[30]

Former extensions

A number of former extensions have been deprecated and removed from the stable code base over time. Some notable examples include an XQuery extension removed in MonetDB version 5; a JAQL extension, and a streaming data extension called Data Cell.[14]

[31][32]

See also

  • List of relational database management systems
  • Comparison of relational database management systems
  • Database management system
  • Column-oriented DBMS
  • Array DBMS

References

1. ^{{cite web | url = http://www.monetdb.org/Documentation/Extensions/GIS | title = GeoSpatial - MonetDB | date = 4 March 2014}}
2. ^{{cite web | url = http://lod2.eu/Project/MonetDB.html | title = MonetDB - LOD2 - Creating Knowledge out of Interlined Data | date = 6 March 2014}}
3. ^{{cite web | url = https://www.monetdb.org/Documentation/Extensions/LifeScience | title = Life Sciences in MonetDB | date = 24 November 2014}}
4. ^{{cite web | url = http://www.monetdb.org/AboutUs | title = A short history about us - MonetDB | date = 6 March 2014}}
5. ^{{Cite book |title= Monet: A Next-Generation DBMS Kernel For Query-Intensive Applications |work= Ph.D. Thesis |publisher= Universiteit van Amsterdam |date= May 2002 |url= http://oai.cwi.nl/oai/asset/14832/14832A.pdf }}
6. ^[https://www.monetdb.org/AboutUs MonetDB historic background]
7. ^{{Cite journal |author= Stefan Manegold |title= An Empirical Evaluation of XQuery Processors |journal= Proceedings of the International Workshop on Performance and Evaluation of Data Management Systems (ExpDB) |publisher= ACM |date= June 2006 |url= http://oai.cwi.nl/oai/asset/19337/19337B.pdf |accessdate= December 11, 2013 |doi= 10.1016/j.is.2007.05.004 |volume=33 |issue= 2 |pages=203–220}}
8. ^P. A. Boncz, T. Grust, M. van Keulen, S. Manegold, J. Rittinger, J. Teubner. MonetDB/XQuery: A Fast XQuery Processor Powered by a Relational Engine. In Proceedings of the ACM SIGMOD International Conference on Management of Data, Chicago, IL, USA, June 2006.
9. ^{{Cite journal |title= From x100 to vectorwise: opportunities, challenges and things most researchers do not think about, chapter: From x100 to vectorwise |author1=Marcin Zukowski |author2=Peter Boncz |publisher= ACM |journal= Proceedings of the 2012 ACM SIGMOD International Conference on Management of Data |date= May 20, 2012 |pages=861–862 |doi=10.1145/2213836.2213967 |isbn= 978-1-4503-1247-9}}
10. ^{{Cite journal | title = Integration of VectorWise with Ingres |author1=Inkster, D. |author2=Zukowski, M. |author3=Boncz, P. A. |publisher= ACM | journal= ACM SIGMOD Record |date= September 20, 2011 | url = http://www.sigmod.org/publications/sigmod-record/1109/pdfs/08.industry.inkster.pdf | doi=10.1145/2070736.2070747 | volume=40 | issue = 3 | pages=45|citeseerx=10.1.1.297.4985 }}
11. ^{{cite web |url=https://www.monetdb.org/XQuery/ |title=XQuery |date=12 December 2014}}
12. ^{{cite web |url=https://www.monetdb.org/OldReleaseNotes/Oct2014 |title=MonetDB Oct2014 Release Notes |date=12 December 2014}}
13. ^{{cite web |url=https://www.monetdb.org/blog/monetdb-jul2015-released |title= MonetDB July 2015 Released |date=31 August 2015}}
14. ^{{Cite journal |author1=Idreos, S. |author2=Groffen, F. E. |author3=Nes, N. J. |author4=Manegold, S. |author5=Mullender, K. S. |author6=Kersten, M. L. |title= MonetDB: Two Decades of Research in Column-oriented Database Architectures |journal= IEEE Data Engineering Bulletin |publisher= IEEE |date= March 2012 |url= http://oai.cwi.nl/oai/asset/19929/19929B.pdf |accessdate= March 6, 2014 |pages= 40–45}}
15. ^* {{cite journal| title=An architecture for recycling intermediates in a column-store| author1=Ivanova, Milena G |author2=Kersten, Martin L |author3=Nes, Niels J |author4=Goncalves, Romulo AP| journal=ACM Transactions on Database Systems| volume=35| issue=4| pages=24| year=2010| publisher=ACM| doi=10.1145/1862919.1862921}}
16. ^{{cite web|url=https://www.cwi.nl/news/2009/1017/CWI-database-team-wins-Best-Paper-Runner-Up-at-SIGMOD-2009|title=CWI database team wins Best Paper Runner Up at SIGMOD 2009|publisher = CWI Amsterdam|accessdate=2009-07-01|date=}}
17. ^{{cite web| url = http://www.sigmod.org/sigmod-awards/sigmod-awards#bestpaper| title = SIGMOD Awards| website = ACM SIGMOD| accessdate = 2014-07-01}}
18. ^{{cite conference| title=Database cracking| author1=Idreos, Stratos |author2=Kersten, Martin L |author3=Manegold, Stefan| journal=Proceedings of CIDR| year=2007}}
19. ^{{cite web| url = http://www.sigmod.org/sigmod-awards/sigmod-awards#dissertation| title = SIGMOD Awards| website = ACM SIGMOD| accessdate = 2014-12-12}}
20. ^{{cite conference| author1 = Zhang, Y. |author2=Scheers, L. H. A. |author3=Kersten, M. L. |author4=Ivanova, M. |author5=Nes, N. J.| title = Astronomical Data Processing Using SciQL, an SQL Based Query Language for Array Data| booktitle = Astronomical Data Analysis Software and Systems| year = 2011}}
21. ^{{cite book| title=Data vaults: a symbiosis between database technology and scientific file repositories| author1=Ivanova, Milena |author2=Kersten, Martin |author3=Manegold, Stefan| booktitle=Scientific and Statistical Database Management| pages=485–494| year=2012| publisher=Springer Berlin Heidelberg}}
22. ^{{cite web | url = http://www.sciql.org | title = SCIQL.ORG | date = 4 March 2014}}
23. ^{{cite news| author1= Ivanova, Milena |author2=Kargin, Yagiz |author3=Kersten, Martin |author4=Manegold, Stefan |author5=Zhang, Ying |author6=Datcu, Mihai |author7=Molina, Daniela Espinoza| title = Data Vaults: A Database Welcome to Scientific File Repositories| booktitle = Proceedings of the 25th International Conference on Scientific and Statistical Database Management| series = SSDBM| year = 2013| isbn = 978-1-4503-1921-8| doi = 10.1145/2484838.2484876| publisher = ACM}}
24. ^{{cite news| author1= Kargin, Yagiz |author2=Ivanova, Milena |author3=Zhang, Ying |author4=Manegold, Stefan |author5=Kersten, Martin| title = Lazy ETL in Action: ETL Technology Dates Scientific Data| journal = Proceedings VLDB Endowment| volume = 6| number = 12|date=August 2013| issn = 2150-8097| pages = 1286–1289| doi = 10.14778/2536274.2536297| publisher = VLDB Endowment}}
25. ^{{cite web | url = https://www.monetdb.org/blog/astronomical-data-analysis-monetdb-data-vaults | title = Astronomical data analysis with MonetDB Data Vaults | date = 2015-09-09}}
26. ^{{cite web | url = https://www.monetdb.org/Documentation/Extensions/DataVaults | title = Data Vaults | date = 2015-09-09}}
27. ^{{cite web | url = https://www.monetdb.org/Documentation/Extensions/LifeScience/install | title = SAM/BAM installation | date = 24 November 2014}}
28. ^{{cite web | url = https://www.monetdb.org/content/embedded-r-monetdb | title = Embedded R in MonetDB | date = 13 November 2014}}
29. ^{{cite web | url = https://www.monetdb.org/blog/embedded-pythonnumpy-monetdb | title = Embedded Python/NumPy in MonetDB | date = 11 January 2015}}
30. ^{{cite web | url = https://www.monetdb.org/blog/monetdblite-r | title = MonetDBLite for R | date = 25 November 2015}}
31. ^{{cite web| url=https://www.monetdb.org/XQuery/| title=Xquery (obsolete)| publisher=MonetDB| access-date=2015-05-26}}
32. ^{{cite web| url=https://www.monetdb.org/pipermail/announce-list/2014-October/000085.html| title=Announcement: New Oct2014 Feature release of MonetDB suite| publisher=MonetDB| access-date=2015-05-26}}

Bibliography

{{refbegin|2}}
  • {{cite conference

| title=Database architecture optimized for the new bottleneck: Memory access
| author1=Boncz, Peter |author2=Manegold, Stefan |author3=Kersten, Martin
| journal=Proceedings of International Conference on Very Large Data Bases
| pages=54–65
| year=1999
}}
  • {{cite journal

| title=Efficient relational storage and retrieval of XML documents
| author1=Schmidt, Albrecht |author2=Kersten, Martin |author3=Windhouwer, Menzo |author4=Waas, Florian
| journal=The World Wide Web and Databases
| volume=1997 | pages=137–150
| year=2001
| publisher=Springer
| doi=10.1007/3-540-45271-0_9 | series=Lecture Notes in Computer Science | isbn=978-3-540-41826-9 }}
  • {{cite conference

| title=Database cracking
| author1=Idreos, Stratos |author2=Kersten, Martin L |author3=Manegold, Stefan
| journal=Proceedings of CIDR
| year=2007
}}
  • {{cite journal

| title=Breaking the memory wall in MonetDB
| author1=Boncz, Peter A |author2=Kersten, Martin L |author3=Manegold, Stefan
| journal=Communications of the ACM
| volume=51
| issue=12
| pages=77–85
| year=2008
| publisher=ACM
| doi=10.1145/1409360.1409380
}}
  • {{cite journal

| title=Column-store support for RDF data management: not all swans are white
| author1=Sidirourgos, Lefteris |author2=Goncalves, Romulo |author3=Kersten, Martin |author4=Nes, Niels |author5=Manegold, Stefan
| journal=Proceedings of the VLDB Endowment
| volume=1
| issue=2
| pages=1553–1563
| year=2008
| publisher=VLDB Endowment
| doi=10.14778/1454159.1454227
}}
  • {{cite conference

| author1= Ivanova, Milena G. |author2=Kersten, Martin L. |author3=Nes, Niels J. |author4=Goncalves, Romulo A.P.
| title = An Architecture for Recycling Intermediates in a Column-store
| booktitle = Proceedings of the 2009 ACM SIGMOD International Conference on Management of Data
| series = SIGMOD '09
| year = 2009
| isbn = 978-1-60558-551-2
| pages = 309–320
| doi = 10.1145/1559845.1559879
| publisher = ACM
}}
  • {{cite journal

| author1= Manegold, Stefan |author2=Boncz, Peter A. |author3=Kersten, Martin L.
| title = Optimizing Database Architecture for the New Bottleneck: Memory Access
| journal = The VLDB Journal
| volume = 9
| issue = 3
| date = Dec 2000
| issn = 1066-8888
| pages = 231–246
| doi = 10.1007/s007780000031
| publisher = Springer-Verlag New York, Inc.
}}
  • {{cite journal

| title=An architecture for recycling intermediates in a column-store
| author1=Ivanova, Milena G |author2=Kersten, Martin L |author3=Nes, Niels J |author4=Goncalves, Romulo AP
| journal=ACM Transactions on Database Systems
| volume=35
| issue=4
| pages=24
| year=2010
| publisher=ACM
| doi=10.1145/1862919.1862921
}}
  • {{cite journal

| title=The data cyclotron query processing scheme
|author1=Goncalves, Romulo |author2=Kersten, Martin
|lastauthoramp=yes | journal=ACM Transactions on Database Systems
| volume=36
| number=4
| pages=27
| year=2011
| publisher=ACM
| doi=10.1145/2043652.2043660
}}
  • {{cite journal

| title=The researcher's guide to the data deluge: Querying a scientific database in just a few seconds
| author1=Kersten, Martin L |author2=Idreos, Stratos |author3=Manegold, Stefan |author4=Liarou, Erietta
| journal=PVLDB Challenges and Visions
| year=2011
}}
  • {{cite book

| title=SciQL, a query language for science applications
| author1=Kersten, M |author2=Zhang, Ying |author3=Ivanova, Milena |author4=Nes, Niels
| booktitle=Proceedings of the EDBT/ICDT 2011 Workshop on Array Databases
| pages=1–12
| year=2011
| publisher=ACM
}}
  • {{cite journal

| title=SciBORQ: Scientific data management with Bounds On Runtime and Quality
| author1=Sidirourgos, Lefteris |author2=Kersten, Martin |author3=Boncz, Peter
| year=2011
| publisher=Creative Commons
}}
  • {{cite journal

| title=MonetDB/DataCell: online analytics in a streaming column-store
| author1=Liarou, Erietta |author2=Idreos, Stratos |author3=Manegold, Stefan |author4=Kersten, Martin
| journal=Proceedings of the VLDB Endowment
| volume=5
| issue=12
| pages=1910–1913
| year=2012
| publisher=VLDB Endowment
| doi=10.14778/2367502.2367535
}}
  • {{cite book

| title=Data vaults: a symbiosis between database technology and scientific file repositories
| author1=Ivanova, Milena |author2=Kersten, Martin |author3=Manegold, Stefan
| booktitle=Scientific and Statistical Database Management
| pages=485–494
| year=2012
| publisher=Springer Berlin Heidelberg
}}
  • {{cite news

| author1= Kargin, Yagiz |author2=Ivanova, Milena |author3=Zhang, Ying |author4=Manegold, Stefan |author5=Kersten, Martin
| title = Lazy ETL in Action: ETL Technology Dates Scientific Data
| journal = Proceedings VLDB Endowment
| volume = 6
| number = 12
|date=August 2013
| issn = 2150-8097
| pages = 1286–1289
| doi = 10.14778/2536274.2536297
| publisher = VLDB Endowment
}}
  • {{cite conference

| title=Column imprints: a secondary index structure
|author1=Sidirourgos, Lefteris |author2=Kersten, Martin
|lastauthoramp=yes | booktitle=Proceedings of the 2013 international conference on Management of data
| pages=893–904
| year=2013
| publisher=ACM
}}
  • {{cite news

| author1= Ivanova, Milena |author2=Kargin, Yagiz |author3=Kersten, Martin |author4=Manegold, Stefan |author5=Zhang, Ying |author6=Datcu, Mihai |author7=Molina, Daniela Espinoza
| title = Data Vaults: A Database Welcome to Scientific File Repositories
| booktitle = Proceedings of the 25th International Conference on Scientific and Statistical Database Management
| series = SSDBM
| year = 2013
| isbn = 978-1-4503-1921-8
| doi = 10.1145/2484838.2484876
| publisher = ACM
}}{{refend}}

External links

  • [https://www.monetdb.org Official homepage of MonetDB]
  • [https://www.cwi.nl/research-groups/database-architectures Database Architectures group at CWI - the primary developers of MonetDB]
  • [https://www.monetdb.org/Home/ProjectGallery List of scientific projects using MonetDB]
  • MonetDB.R - MonetDB to R Connector
  • [https://www.monetdbsolutions.com MonetDB Solutions - MonetDB's professional services company]
{{FOLDOC}}{{Data warehouse}}

12 : Big data products|Client-server database management systems|Column-oriented DBMS software for Linux|Cross-platform free software|Cross-platform software|Data warehousing products|Database engines|Free database management systems|Free software programmed in C|Products introduced in 2004|Relational database management systems|Structured storage

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/26 0:31:51