How to unlock a locked database?
Tuesday, 10 December 2024 · 1 message
EK
Eliot Kimber10 Dec 2024 15:49 #
BaseX 11.6 on Redhat Linux.
I have long-running update processes that are failing at some point, leaving databases in a locked state that is not cleared by restarting the server.
Short of manually deleting the database from the file system, how can I clear these locks or determine what process has the lock?
I do not have
FAIRLOCK turned on.
This is in the context of my Mirabel system, which loads content into one database and then creates secondary link data databases, which requires lots of data processing and may take several hours to complete.
Thanks,
Eliot
_____________________________________________
Eliot Kimber
Sr. Staff Content Engineer
O: 512 554 9368
servicenow
servicenow.com<https://www.servicenow.com>
LinkedIn<https://www.linkedin.com/company/servicenow> | X<https://twitter.com/servicenow> | YouTube<https://www.youtube.com/user/servicenowinc> | Instagram<https://www.instagram.com/servicenow>Written for BaseX 11.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery