synchronized db