zodb / relstorage

A backend for ZODB that stores pickles in a relational database.
Other
54 stars 46 forks source link

Make copyTransactionsFrom much faster in history-free storages when possible #431

Closed jamadden closed 3 years ago

jamadden commented 3 years ago

By using record_iternext and only copying current objects. The big win comes from batching up the transaction commits. The speed increase seems to be at least 5x or more.

Disabled with the --incremental option of zodbconvert; see updated documenattion.

There are additional tests to make sure blobs are copied, and for the handling of storage wrappers like zc.zlibstorage.

Fixes #425