Single thread DB