{"repo":"cojen/TuplDB","free":true,"listed":false,"github":"https://github.com/cojen/TuplDB","clone":"git clone https://github.com/cojen/TuplDB.git","description":"TuplDB is a high-performance, concurrent, transactional, scalable, low-level embedded database.","language":"Java","stars":126,"topics":["database","concurrency","acid","nosql","transaction","transactions","java","cursor","durable","persistence"],"license":"AGPL-3.0","category":"databases-storage","readme_excerpt":"TuplDB is a high-performance, concurrent, transactional, scalable, low-level embedded database. Features include record-level locking, upgradable locks, deadlock detection, cursors, hot backups, striped files, encryption, replication, compression, nested transaction scopes, direct lock control, sorting, views, filters, transforms, unions, intersections, and full memory mapped support. Javadocs FAQ Replication TuplDB can be used directly, or it can be used for implementing a high-level database. TuplDB is powerful enough for supporting all the requirements of relational SQL databases as well as NoSQL databases. Because TuplDB doesn't impose any structure or encoding for data, a high-level database is free to implement the most efficient format it requires. The main entry point is the Database class. Here is a simple example for opening a non-durable database: To open a durable database, a base file path must be provided. Database files are created using the base as a prefix. Notice that a fixed cache size is set, and also notice the durability mode. A weak durability mode improves the performance of transactional changes, by not immediately flushing those changes to the underlying files. Setting a fixed cache size is generally preferred over setting a maximum size, because it pre-allocates the cache when the Database is opened. This allows any heap size limits to be detected early, yielding an OutOfMemoryError. The default cache size is 1000 pages, and the default page size is","default_branch":null,"files":null,"tree":[],"storefront":"/r/cojen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cojen/TuplDB/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}