Effects of locking granularity in a database management system | Synapse