US6728719B1
Expired / Lapsed
US
⏱️ 0.0 years remaining
Method and mechanism for dependency tracking for unique constraints
Assignee: Oracle International Corp
•
Filing: 2001-01-31
•
Granted: 2004-04-27
•
Expires: 2021-01-31
Abstract
Abstract A method and mechanism for dependency tracking in a database system is disclosed. According to an embodiment, dependency tracking is performed for a uniqueness constrained object by tracking change or commit values for a key range associated with the uniqueness constrained object. For uniqueness constrained tables, this type of key range can be associated with a column or set of columns in the uniqueness constrained table.
Inventors
- 👤 Amit Ganesh
- 👤 Jonathan D. Klein
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-03 18:40
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/24; G06F16/245; G06F16/2455; G06F16/24552; G06F16/23; G06F16/2379; G06F16/24564; G06F16/24565; Y; Y10; Y10S; Y10S707/00; Y10S707/99951; Y10S707/99952; Y10S707/99953
Claims Analysis
Total Claims: 26
Claim 1
Independent Claim
138 words
A process for tracking dependencies for uniqueness constrained tables in a database system, comprising: identifying a key range in a set of key ranges; maintaining a data structure to hold latest commit time information for said key range; deleting a row from a table at a commit time, said row having a first key value within said key range; updating said data structure based upon said commit time; determining a dependency value for one or more data operations operating upon a second key value in said key range based upon said commit time stored in said data structure; assigning said dependency value to at least one of said one or more data operations operating upon said second key value in said key range; and executing said at least one data operation after deleting said row from said table.
Claim 2
Dependent Claim
138 words
A process for tracking dependencies for uniqueness constrained tables in a database system, comprising: identifying a key range in a set of key ranges; maintaining a data structure to hold latest commit time information for said key range; deleting a row from a table at a commit time, said row having a first key value within said key range; updating said data structure based upon said commit time; determining a dependency value for one or more data operations operating upon a second key value in said key range based upon said commit time stored in said data structure; assigning said dependency value to at least one of said one or more data operations operating upon said second key value in said key range; and executing said at least one data operation after deleting said row from said table.
Claim 3
Dependent Claim
18 words
The process of claim 1 in which said second key value is equal to said first key value.
Claim 4
Dependent Claim
27 words
The process of claim 1 in which an index exists with respect to said table and said key range corresponds to a range of index key values.
Claim 5
Dependent Claim
20 words
The process of claim 3 in which said range of index key values is related to an index leaf block.
Claim 6
Dependent Claim
46 words
The process of claim 4 further comprising: splitting said index leaf block into a plurality of index blocks; maintaining a separate data structure for each of said plurality of index blocks, each of said separate data structures having an identical pre-split value from said data structure.
Claim 7
Dependent Claim
86 words
The process of claim 4 further comprising: coalescing a second index leaf block into said index leaf block to form a coalesced index block, said second index block having a second data structure to track commit times deletions from said second index leaf block, said second data structure having a second commit time; and maintaining a single data structure for coalesced index block, said single data structure updated with the later of either the first or second commit times from the first and second data structures.
Claim 8
Dependent Claim
23 words
The process of claim 4 in which said range of index key values comprises a subset of keys in said index leaf block.
Claim 9
Dependent Claim
23 words
The process of claim 4 in which said range of index key values matches a range of keys in said index leaf block.
Claim 10
Dependent Claim
33 words
The process of claim 1 in which said at least one data operation is an insert operation, said insert operation inserting a second row having said second key value in said key range.
Claim 11
Dependent Claim
29 words
The process of claim 1 in which said at least one operation is considered dependent upon one or more data operations that commit on or before said commit time.
Claim 12
Dependent Claim
28 words
The process of claim 1 in which said at least one operation is considered not to be dependent upon any data operation that commits after said commit time.
Claim 13
Dependent Claim
16 words
The process of claim 1 in which said table has a uniqueness constraint upon said key.
Claim 14
Dependent Claim
161 words
A computer program product that includes a computer-usable medium having a sequence of instructions which, when executed by a processor, causes said processor to execute a process for tracking dependencies in a database system, said process comprising: identifying a key range in a set of key ranges; maintaining a data structure to hold latest commit time information for said key range; deleting a row from a table at a commit time, said row having a first key value within said key range; updating said data structure based upon said commit time; determining a dependency value for one or more data operations operating upon a second key value in said key range based upon said commit time stored in said data structure; assigning said dependency value to at least one of said one or more data operations operating upon said second key value in said key range; and executing said at least one data operation after deleting said row from said table.
Claim 15
Dependent Claim
161 words
A computer program product that includes a computer-usable medium having a sequence of instructions which, when executed by a processor, causes said processor to execute a process for tracking dependencies in a database system, said process comprising: identifying a key range in a set of key ranges; maintaining a data structure to hold latest commit time information for said key range; deleting a row from a table at a commit time, said row having a first key value within said key range; updating said data structure based upon said commit time; determining a dependency value for one or more data operations operating upon a second key value in said key range based upon said commit time stored in said data structure; assigning said dependency value to at least one of said one or more data operations operating upon said second key value in said key range; and executing said at least one data operation after deleting said row from said table.
Claim 16
Dependent Claim
20 words
The computer program product of claim 1 in which said second key value is equal to said first key value.
Claim 17
Dependent Claim
29 words
The computer program product of claim 1 in which an index exists with respect to said table and said key range corresponds to a range of index key values.
Claim 18
Dependent Claim
22 words
The computer program product of claim 15 in which said range of index key values is related to an index leaf block.
Claim 19
Dependent Claim
48 words
The computer program product of claim 16 further comprising: splitting said index leaf block into a plurality of index blocks; maintaining a separate data structure for each of said plurality of index blocks, each of said separate data structures having an identical pre-split value from said data structure.
Claim 20
Dependent Claim
87 words
The computer program product of claim 16 further comprising: coalescing a second index leaf block into said index leaf block to form a coalesced index block, said second index block having a second data structure to track commit times deletions from said second index leaf block, said second data structure having a second commit time; maintaining a single data structure for coalesced index block, said single data structure updated with the later of either the first or second commit times from the first and second data structures.
Claim 21
Dependent Claim
25 words
The computer program product of claim 16 in which said range of index key values comprises a subset of keys in said index leaf block.
Claim 22
Dependent Claim
25 words
The computer program product of claim 16 in which said range of index key values matches a range of keys in said index leaf block.
Claim 23
Dependent Claim
35 words
The computer program product of claim 13 in which said at least one data operation is an insert operation, said insert operation inserting a second row having said second key value in said key range.
Claim 24
Dependent Claim
31 words
The computer program product of claim 13 in which said at least one operation is considered dependent upon one or more data operations that commit on or before said commit time.
Claim 25
Dependent Claim
30 words
The computer program product of claim 13 in which said at least one operation is considered not to be dependent upon any data operation that commits after said commit time.
Claim 26
Dependent Claim
18 words
The computer program product of claim 13 in which said table has a uniqueness constraint upon said key.
References Cited (Backward Citations)
US5504917A
Cited
US5634124A
Cited
US5140685A
Cited
US5260697A
Cited
US5398183A
Cited
US5481712A
Cited
US5794229A
Cited
US5737601A
Cited
US5577240A
Cited
US5781912A
Cited
US5940826A
Cited
US6349310B1
Cited
US6397227B1
Cited
US6434568B1
Cited
US6442748B1
Cited
US6496850B1
Cited
US6493701B2
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2007-04-27 | 2007-10-27 | 2008-04-27 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2011-04-27 | 2011-10-27 | 2012-04-27 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2015-04-27 | 2015-10-27 | 2016-04-27 | $7700.00 | Window Closed / Lapsed |