This repository provides a set of handy ZODB utilities. We initially tried to
put them into ZODB itself, but Jim Fulton adviced not to load ZODB with
scripts anymore. So we are here:
- zodb analyze - analyze ZODB database or repozo deltafs usage.
- zodb cmp - compare content of two ZODB databases bit-to-bit.
- zodb commit - commit new transaction into a ZODB database.
- zodb dump - dump content of a ZODB database.
- zodb info - print general information about a ZODB database.
Zodbtools change history
- Fix zodbtools to work with all ZODB3, ZODB4 and ZODB5 (commit 1, 2,
- Fix zodb analyze for the case when history range is empty (commit 1,
- Zodbtools is not yet Python3-ready (commit), but we started to fix it
step-by-step (commit 1, 2, 3, 4).
- zodb analyze can now work with any ZODB storage and supports analyzing a
particular range of history (commit 1, 2).
- Add help for specifying TID ranges (commit).
- Always close opened storages (commit).
- Start to stabilize zodb dump format. The format is close to be stable now
and will likely be changed, if at all, only in minor ways (commit 1, 2,
- Add DumpReader - class to read/parse input in zodbdump format (commit).
- Add zodb commit subcommand to commit new transaction into ZODB (commit).
- Clarify licensing (commit 1, 2).
- Add zodb tool to drive all subcommands (commit).
- Add zodb info subcommand to print general information about a ZODB database
- Switch to open ZODB storages by URL, not only via ZConfig files. URL support
comes from zodburi (commit 1, 2).
Move Nexedi version of zodbanalyze from ERP5 into zodbtools.
Compared to original zodbanalyze Nexedi version is faster, prints not only
total, but also current sizes, and supports running on bigger databases where
keeping all working set to analyze in RAM is not feasible. It also supports
analyzing a Repozo deltafs file directly.
(commit 1, 2, 3, 4, 5, 6, 7, 8, 9)
- Add initial draft of zodbdump - tool to dump content of a ZODB database
(commit 1, 2).
Initial release of zodbtools with zodbcmp (commit 1, 2, 3).
We originally tried to put zodbcmp into ZODB itself, but Jim Fulton asked
not to load ZODB with scripts anymore. This way zodbtools was created.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.