The Notions Of Consistency And Predicate Locks In A Database System