Replies: 2 comments 1 reply
-
Indeed the clear operation is currently removing all triples one by one. It seems like I wrote a dumb implementation to get something working and forgot to optimize it. I am going to fix that. I have open #1239 to track this |
Beta Was this translation helpful? Give feedback.
1 reply
-
I achieved a workaround like this
this is unlocking the Store. But it's not ideal... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With big stores, update
CLEAR ALL
queries or pyOxigraphStore.clear()
commands take very long (>2 hours). Deleting the store folder, however, is done swiftly.Yet, if you're running oxigraph as a docker service, deleting all files isn't possible, and thus an OS error will prevent populating/loading the store again. Stopping the service before removing files works, but this is inconvenient. I wonder if pyOxigraph might get a function to remove files directly or to
close()
a Store so that the RocksDB is not preventing OS file operations.My current deletion loops for the Store folder is
Beta Was this translation helpful? Give feedback.
All reactions