-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you persist a BTree on disk? #145
Comments
Hossein Moein wrote at 2020-10-27 13:49 -0700:
Sorry if this question is already answered. But how do you persist/retrieve a BTree to/from disk? Can it be memory-mapped and brought in partially to memory?
Python's "pickle" module contains functionality to persist/retrieve
a wide variety of Python objects to/from disk, among them `BTrees`.
|
Except that pickling large BTrees does not actually work outside a system like ZODB. You get stack overflow errors if you try. I’m sure I opened an issue about that before. (Edit : #44) |
ok, I was under the impression that BTree itself has persistence mechanism. I don't like pickle, but will look into it |
BTrees is part of a persistence mechanism called ZODB. ZODB happens to be based on pickles. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry if this question is already answered. But how do you persist/retrieve a BTree to/from disk? Can it be memory-mapped and brought in partially to memory?
Regards,
HM
The text was updated successfully, but these errors were encountered: