1. A method for calculating a probability of a consistency violation of a transaction in a database management system, the method comprising: receiving, by one or more processors, a plurality of transactions within a predetermined time period; identifying, by one or more processors, a first pattern in a first transaction of the plurality of transactions based on at least an isolation level of the transaction; identifying, by one or more processors, a second pattern, wherein the second pattern is the cooperation between the first transaction and a second transaction within the plurality of relevant transactions; determining, by one or more processors, that the first pattern of the first transaction substantially matches a preexisting pattern, wherein the preexisting pattern corresponds to values for a mathematical model for estimating a percentage of transactions in violation of consistency criteria; extracting, by one or more processors, values from the first transaction based on the determined preexisting pattern; and calculating, by one or more processors, the mathematical model using the values from the first transaction and the values from the preexisting pattern.