Skip to main content

ZODB-related utilities

Project description

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

0.0.0.dev6 (2018-12-30)

  • 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).

0.0.0.dev5 (2018-12-13)

  • 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, 3, 4).

  • Add DumpReader - class to read/parse input in zodbdump format (commit).

  • Add zodb commit subcommand to commit new transaction into ZODB (commit).

0.0.0.dev4 (2017-04-05)

  • 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 (commit).

  • Switch to open ZODB storages by URL, not only via ZConfig files. URL support comes from zodburi (commit 1, 2).

0.0.0.dev3 (2016-11-17)

  • 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)

0.0.0.dev2 (2016-11-17)

  • Add initial draft of zodbdump - tool to dump content of a ZODB database (commit 1, 2).

0.0.0.dev1 (2016-11-16)

  • 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zodbtools-0.0.0.dev6.tar.gz (43.5 kB view details)

Uploaded Source

File details

Details for the file zodbtools-0.0.0.dev6.tar.gz.

File metadata

  • Download URL: zodbtools-0.0.0.dev6.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.7.2rc1

File hashes

Hashes for zodbtools-0.0.0.dev6.tar.gz
Algorithm Hash digest
SHA256 ca96dd4ba1ad4a4d87c2ba62a73a27fe6061fa2a27faee702bcf3825913880f1
MD5 ad9ccbdbcd897b425646d4cbcba24c12
BLAKE2b-256 5fabb52c6ea338ea276a763138e4b30509d39e1e2805f29a3322f1aab4fc08b4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page