RethinkDB
Initial release | 24 July 2009 [1] |
---|---|
Stable release | 2.2.0 / November 12, 2015 |
Development status | Active |
Written in | C++, JavaScript, Bash |
Operating system | Unix, Linux, OS X, BSD |
Available in | English |
License | AGPL |
Website |
rethinkdb |
RethinkDB is an open source, NoSQL, distributed document-oriented database. It stores JSON documents with dynamic schemas, and is designed to facilitate pushing real-time updates for query results to applications.
History
RethinkDB was founded in 2009, and open-sourced at version 1.2 in 2012. In 2015, RethinkDB released version 2.0, announcing that it was production-ready.[2]
ReQL
RethinkDB uses the ReQL query language, an internal (embedded) domain-specific language officially available for Ruby, Python and JavaScript (including Node.js). It has support for table joins, groupings, aggregations and functions. There are also unofficial, community-supported drivers for other languages, including C#, Go and PHP.
Popularity
According to the DB-Engines.com rankings, as of February 2016, it was the 46th most popular database.[3] The most recent major version 2.2 was released in November 2015[4]
Comparison with SQL databases
RethinkDB works with JSON documents. This allows for nested data structures, in contrast with SQL databases where data is stored as rows and columns. A strong schema is not enforced, so two documents stored in the same collection may have different structure. Updates on multiple documents are not atomic, and RethinkDB does not provide full ACID support.
When a strong schema is needed, relational databases (such as PostgreSQL or MySQL) will typically provide better performance, and will provide full ACID support.[5]
Comparison with other NoSQL databases
RethinkDB can also be significantly slower than other NoSQL databases like MongoDB. But it provides a helpful web-based administrative user interface for managing the database. Some of its API syntax can result in code that is visually messy.[6]
See also
References
- ↑ Jeremy Zawodny, RethinkDB: Rethinking the Database using Modern Assumptions, Linux Magazine, August 24, 2009
- ↑ "RethinkDB releases first production version of its real-time database". SiliconANGLE. Retrieved 2016-02-09.
- ↑ "DB-Engines Ranking". work=db-engines.com. Retrieved 26 December 2015.
- ↑ "RethinkDB 2.2: atomic changefeeds, parallel scans, improved runtime". rethinkdb.com. Retrieved 17 August 2015.
- ↑ "When RethinkDB is not a good choice". rethinkdb.com. Retrieved 19 April 2015.
- ↑ Jake Bailey. "Juristat | A Comparison of MongoDB and RethinkDB with Patent Data". Retrieved 21 April 2015.