Patent ID: 8195905

Claim:
A system for implementing domain quotas in a data storage system, the system comprising: a memory configured to store a domain data structure, the domain data structure comprising: a domain size field, the domain size field comprising a value that reflects a size of a data domain comprising committed transactions; a bounded size field, the bounded size field comprising a value that reflects a maximum possible size or a minimum possible size of the data domain based on a plurality of pending data transactions that have not committed or aborted; an incremental value field, the incremental value field comprising a value that reflects a change in the size of the data domain caused by a data transaction; an operation type field, the operation type field comprising a value that indicates whether the change in the size of the data domain caused by the data transaction is either an increment or a decrement; and a quota field, the quota field comprising a value that indicates a size threshold for either a minimum or maximum size for the size of the data domain to be within a quota defined for the data domain; and a processor configured to communicate with the memory, the processor further configured to execute a quota module configured to: access the domain data structure for a pending data transaction; determine, based at least in part on the accessed domain data structure, whether a temporary domain size field passes the quota field if the pending data transaction is applied to the data domain; if the temporary domain size field does not pass the quota field, apply the pending data transaction to the data domain; and if the temporary domain size field passes the quota field, suspend the pending data transaction.