A backend for ZODB that stores pickles in a relational database.
Project description
RelStorage is a storage implementation for ZODB that stores pickles in a relational database. PostgreSQL 9.6 and above, MySQL 5.7.9 / 8.0, and Oracle 10g and 11g are currently supported. RelStorage replaced the PGStorage project.
Features
It is a drop-in replacement for FileStorage and ZEO.
There is a simple way to convert FileStorage to RelStorage and back again. You can also convert a RelStorage instance to a different relational database.
Designed for high volume sites: multiple ZODB instances can share the same database. This is similar to ZEO, but RelStorage does not require ZEO.
According to some tests, RelStorage handles high concurrency better than the standard combination of ZEO and FileStorage.
Whereas FileStorage takes longer to start as the database grows due to an in-memory index of all objects, RelStorage starts quickly regardless of database size.
Supports undo, packing, and filesystem-based ZODB blobs.
Both history-preserving and history-free storage are available.
Capable of failover to replicated SQL databases.
zodbconvert utility to copy databases.
Free, open source (ZPL 2.1)
Documentation
Documentation including installation instructions is hosted on readthedocs.
The complete changelog is also there.
Development
RelStorage is hosted at GitHub:
Continuous integration
A test suite is run for every push and pull request submitted. Travis CI is used to test on Linux, and AppVeyor runs the builds on Windows.
Builds on Travis CI automatically submit updates to coveralls.io to monitor test coverage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for RelStorage-3.0a5-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead718d5bd4548ef4d5dbd58d37f30050d642e6a80070dae97b2c010a1516f9b |
|
MD5 | 43ba6f3e10e2aea5c611460e0700b264 |
|
BLAKE2b-256 | 6b093cac52093b5c0d4ee13aef1d2bbc776493bb8daf6f0cc2d59329e7db35c1 |