forked from aiidateam/aiida-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All attributes in AiiDA are stored in the SQL database, which can become inefficient for handling **large data**. For example, the `checkpoint` data in WorkChain, or the `pickled` binary data in WorkGraph. To improve performance, it would be beneficial to store large data in the file repository (`base.repository`) instead. However, unlike `attributes`, the repository does not support `updatable` objects in the same way as `updatable` attributes. This PR introduces `_updatable_objects` to enable **mutable** repository storage for active processes while preserving AiiDA's immutability rules.
- Loading branch information
1 parent
f4c55f5
commit 017d24a
Showing
3 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters