Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embeddable document store database [closed]

Is there something akin to SQLite but a document-oriented database as opposed to an RDBMS?

Orient seemed to be something similar to what I was looking for, but it is written in Java, and I'm looking for something I can use from C++.

Ideally this would be a serverless system, like SQLite.

like image 435
Varun Madiath Avatar asked May 21 '11 07:05

Varun Madiath


People also ask

What kind of database is used to store documents?

Document databases are considered to be non-relational (or NoSQL) databases. Instead of storing data in fixed rows and columns, document databases use flexible documents. Document databases are the most popular alternative to tabular, relational databases. Learn more about NoSQL databases.


2 Answers

UnQLite

UnQLite is a in-process software library which implements a self-contained, serverless, zero-configuration, transactional NoSQL database engine. UnQLite is a document store database similar to MongoDB, Redis, CouchDB etc. as well a standard Key/Value store similar to BerkeleyDB, LevelDB, etc.

UnQLite is 100% hand-coded, written in ANSI C, Thread-safe, Full reentrant, compiles unmodified and should run in most platforms including restricted embedded devices with a C compiler. UnQLite is extensively tested on Windows and UNIX systems especially Linux, FreeBSD, Oracle Solaris and Mac OS X.

like image 52
Houman Javidpour Avatar answered Sep 19 '22 18:09

Houman Javidpour


Actually CouchDB is not strictly server-oriented. It's intended to run on a variety of environments. See here for couch on mobile.

Erlang, CouchDB’s implementation language has been designed to run on embedded devices magnitudes smaller and less powerful than today’s phones.

From http://guide.couchdb.org/draft/why.html

Tokyo/Kyoto Cabinet is written in C++, but is a simple key-value store.

See the complete nosql list for other alternatives: http://nosql-database.org/

like image 43
Ricardo Tomasi Avatar answered Sep 18 '22 18:09

Ricardo Tomasi