Hi Christine,

It is global lock. How can I prevent it? Should I need to avoid access database while running jobs. It will work, or there is something else.

Regards,
Navin

On 08-Nov-2017 9:33 PM, "Christian GrĂ¼n" <christian.gruen@gmail.com> wrote:
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

[1] http://docs.basex.org/wiki/Transaction_Management