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

TinyDB is a document-oriented database management system written in Python with no external dependencies.[03]

Source Code
https://github.com/msiemens/tinydb[02]
Developer
Country of Origin
DE
Start Year
2013 [09]
Project Type
Open Source
Written in
Python
Supported Languages
Python
Inspired By
MongoDB
License
MIT License

TinyDB is a document-oriented database management system written in Python with no external dependencies.[03]

History[04]


TinyDB was created in 2013 by Markus Siemens, designed with ease of use in mind at the sacrifice of performance and ACID guarantees (targeting small, standalone apps).

Checkpoints


Concurrency Control[05]


TinyDB does not support concurrent database accesses in general.

Data Model[06][04]


Similar to MongoDB, TinyDB relies on a document-oriented store.

Indexes


Isolation Levels


Logging


TinyDB does not support logging.

Query Interface[07][08]


TinyDB supports queries via its own custom Query class, through which users can construct and execute most of the standard SQL queries involving string operations and numerical comparisons. It also implements its own query caching mechanism.

Storage Architecture[06]


Users have the option of either storing their data in a JSON file on disk, or in-memory.

Storage Model[06]


Stored document data is represented internally as a dictionary.

Stored Procedures


System Architecture


Views


Citations

9 sources
  1. Welcome to TinyDB! — TinyDB 4.8.2 documentation readthedocs.io
  2. GitHub - msiemens/tinydb: TinyDB is a lightweight document oriented database optimized for your happiness :) · GitHub github.com
  3. Introduction — TinyDB 4.8.2 documentation readthedocs.io
  4. Introduction — TinyDB 4.8.2 documentation readthedocs.io
  5. Introduction — TinyDB 4.8.2 documentation readthedocs.io
  6. tinydb/tinydb/storages.py at master · msiemens/tinydb · GitHub github.com
  7. API Documentation — TinyDB 4.8.2 documentation readthedocs.io
  8. API Documentation — TinyDB 4.8.2 documentation readthedocs.io
  9. Initial commit :) github.com
Revision #3