Hi Navin,
Is this the correct behavior of BaseX to block whole database (even for reading)? or I am doing something wrong? Please suggest.
This depends on your queries (see [1]). You can use jobs:list-details() to check if your jobs lead to local or global locks.
Best, Christian