A fast database for constant data with memory sharing across processes
CHDB (constant hash database) is a fast key-value database for constant data,
realized by using a memory-mapped file and thus providing the following
functionalities:
- Extremely fast initial load, regardless of the size of the database.
- Only the pages of the file which are actually used are loaded from the disk.
- Once a page is loaded it is shared across multiple processes.
- Loaded pages are cached across multiple requests and even process recycling.
A typical use of CHDB is as a faster alternative to defining many PHP
constants.
CHDB is internally implemented as a hash-table using a perfect hashing function,
thus guaranteeing worst case O(1) lookup time.
License: BSD
This package is not maintained, if you would like to take over please go to this page.
Version | Release | Download |
1.0.3 | 2013-04-07 | chdb-1.0.3.tgz |
1.0.2 | 2012-04-18 | chdb-1.0.2.tgz |
1.0.1 | 2011-03-19 | chdb-1.0.1.tgz |
1.0.0 | 2011-03-10 | chdb-1.0.0.tgz |
0.2.0 | 2010-07-21 | chdb-0.2.0.tgz |
Version | Message |
1.0.3 | - Use the right variable when adding the library path for CMPH (thanks to Jille Timmermans). |
1.0.2 |
- Fix compilation for PHP 5.4 (thanks to Sebastian Volland). - Use RuntimeException instead of Exception for runtime errors. - Generate slightly better error in case of input size of 1. |
1.0.1 |
- Fix bug #22600: possible crash when throwing an exception on 64-bit systems. - Fix decoding of error messages in some cases. |
1.0.0 | Bump version number to reflect stable state. |
0.2.0 | Allow unloading of chdb files. |