#database lock analysis