Hi Vladimir,
I have an error "[db:lock] Database 'db' cannot be updated, it is opened by another process". While client's "reading" query from 'db' in progress, I query "db:alter('newdb','db')" for the same database. How can I wait for ending client's query and then "db:alter('newdb','db')"?
Which client/interface did you use to send db:alter? See [1] for more information on concurrent operations on databases.
Best, Christian
[1] https://docs.basex.org/wiki/Startup#Concurrent_Operations