Patent US5481703A successfully refreshed from Google Patents.
US5481703A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Database restructuring system for detecting functionally dependent relations and converting them into third normal form
Assignee: Toshiba Corp
•
Filing: 1993-09-29
•
Granted: 1996-01-02
•
Expires: 2013-09-29
Abstract
Abstract A database restructuring system normalizes a table of a relational database to generate a third normal form relation. The database restructuring system is present independently of a database management system. The database restructuring system accesses a database using a data manipulation language such as an SQL supplied from the database management system. When the database is to be restructured, a database manager requests the database restructuring system to normalize a designated relation. The database restructuring system provides a function of converting the designated relation into a third normal form relation in accordance with a functional dependency.
Inventors
- 👤 Nobuhiro Kato
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-30 18:43
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/28; G06F16/284; Y; Y10; Y10S; Y10S707/00; Y10S707/99941; Y10S707/99942
Claims Analysis
Total Claims: 36
Claim 1
Independent Claim
221 words
A database restructuring system comprising: a relational database having at least one relation, each said relation having a plurality of tuples, a set of candidate keys, and a set of non-key attributes; extraction means for extracting a set of candidate keys and non-key attributes from each said relation of said relational database; formation means for forming a combination between a proper subset of said candidate keys extracted by said extraction means and a subset of said non-key attributes; determination means for checking, with reference to values of said tuples which are present in said relation whether said subset of non-key attributes is functionally dependent on said proper subset of candidate keys in each of said combinations, and storing a determination result as dependency information; and division means for dividing said relation into a first relation generated by a projection to an attribute set with non-key attributes having a functional dependency and a second relation generated by a projection to an attribute set without non-key attributes having a functional dependency said division means operating in accordance with said dependency information; and means for checking whether each said relation generated by said division means has at least two non-key attributes, and executing said formation means, said determination means and said division means automatically on each said relation having at least two non-key attributes.
Claim 2
Dependent Claim
221 words
A database restructuring system comprising: a relational database having at least one relation, each said relation having a plurality of tuples, a set of candidate keys, and a set of non-key attributes; extraction means for extracting a set of candidate keys and non-key attributes from each said relation of said relational database; formation means for forming a combination between a proper subset of said candidate keys extracted by said extraction means and a subset of said non-key attributes; determination means for checking, with reference to values of said tuples which are present in said relation whether said subset of non-key attributes is functionally dependent on said proper subset of candidate keys in each of said combinations, and storing a determination result as dependency information; and division means for dividing said relation into a first relation generated by a projection to an attribute set with non-key attributes having a functional dependency and a second relation generated by a projection to an attribute set without non-key attributes having a functional dependency said division means operating in accordance with said dependency information; and means for checking whether each said relation generated by said division means has at least two non-key attributes, and executing said formation means, said determination means and said division means automatically on each said relation having at least two non-key attributes.
Claim 3
Dependent Claim
34 words
A system according to claim 1, wherein said system further comprises at least one terminal, and a host computer having view means for supplying a table visible image based on relations to said terminal.
Claim 4
Dependent Claim
59 words
A system according to claim 1, further comprising means for calculating a tuple count of each of said relations of said relational database in response to an interruption signal from a CPU and using a relation having said tuple count as a relation to be restructured when the tuple count is equal to or greater than a predetermined value.
Claim 5
Dependent Claim
63 words
A system according to claim 2, wherein said system further comprises means for detecting a predetermined character of attributes of said relation of said relational database, means for informing said terminal by said view means of said detection and inputting an instruction from said terminal, and means for converting a non-normal form into a first normal form in accordance with said input instruction.
Claim 6
Dependent Claim
59 words
A system according to claim 1, wherein said extraction means has means for inputting designation of a relation to be restructured from a terminal, and said division means has means for informing said terminal of attribute information generated by said determination means, inputting an enable/disable division instruction from said terminal, and controlling division processing in accordance with said instruction.
Claim 7
Dependent Claim
46 words
A system according to claim 1, wherein said system further comprises means for converting each of at least one third normal form relations divided by said division means into a relation having a normal form at a level higher than that of said third normal form.
Claim 8
Dependent Claim
55 words
A system according to claim 1, wherein said database management system has detection means for detecting an abnormality occurring when said tuples are updated, and said system further comprises means for using, as a relation to be restructured, a relation related to a tuple in which said abnormality is detected by said abnormality detection means.
Claim 9
Dependent Claim
37 words
A system according to claim 1, wherein said system further comprises means for detecting a null value in values of said tuples and eliminating an attribute corresponding to said null value from a relation to be restructured.
Claim 10
Dependent Claim
326 words
A relational database restructuring system, having at least one relation, each said relation having a plurality of tuples, a set of attributes, a set of candidate keys and a set of non-key attributes, wherein each said tuple is managed as a two-dimensional relation for each said attribute and wherein each said relation has a candidate key serving as a set of attributes which can uniquely identify one of said tuples, comprising: first determination means for checking, with reference to values of tuples which are present in said relations, whether a first set of attributes is functionally dependent on a second set of attributes; division means for dividing a first relation into a second and a third relation by a projecting operation for a designated attribute set; second determination means for determining, from attribute sets A and B which are included in a relation and are mutually primary, whether said attribute sets A and B satisfy at least one of a first condition and a second condition, said first condition being that said attribute set A is a proper subset of said set of candidate keys and said attribute set B is a subset of a non-key attribute set serving as a subset of said set of candidate keys said second condition being that both the attribute sets A and B are proper subsets of said non-key attribute set; and means for checking whether said attribute set B is functionally dependent on said attribute set A once said second determination means has determined that said attribute sets A and B satisfy at least one of said first condition and said second condition, and dividing said relation including said attribute sets A and B, when said attribute set A is functionally dependent on attribute set B, into a relation formed by a projection to a subset of the attribute set B and, a relation formed by a projection to a union between said attribute sets A and B.
Claim 11
Dependent Claim
326 words
A relational database restructuring system, having at least one relation, each said relation having a plurality of tuples, a set of attributes, a set of candidate keys and a set of non-key attributes, wherein each said tuple is managed as a two-dimensional relation for each said attribute and wherein each said relation has a candidate key serving as a set of attributes which can uniquely identify one of said tuples, comprising: first determination means for checking, with reference to values of tuples which are present in said relations, whether a first set of attributes is functionally dependent on a second set of attributes; division means for dividing a first relation into a second and a third relation by a projecting operation for a designated attribute set; second determination means for determining, from attribute sets A and B which are included in a relation and are mutually primary, whether said attribute sets A and B satisfy at least one of a first condition and a second condition, said first condition being that said attribute set A is a proper subset of said set of candidate keys and said attribute set B is a subset of a non-key attribute set serving as a subset of said set of candidate keys said second condition being that both the attribute sets A and B are proper subsets of said non-key attribute set; and means for checking whether said attribute set B is functionally dependent on said attribute set A once said second determination means has determined that said attribute sets A and B satisfy at least one of said first condition and said second condition, and dividing said relation including said attribute sets A and B, when said attribute set A is functionally dependent on attribute set B, into a relation formed by a projection to a subset of the attribute set B and, a relation formed by a projection to a union between said attribute sets A and B.
Claim 12
Dependent Claim
34 words
A system according to claim 9, wherein said system further comprises at least one terminal and a host computer having view means for supplying a table visible image based on relations to said terminal.
Claim 13
Dependent Claim
52 words
A system according to claim 9, wherein said system further comprises means for calculating a tuple count of each relation of said relational database every predetermined time and, if the calculation result is not less than a predetermined value, causing said second determination means to operate a relation having the tuple count.
Claim 14
Dependent Claim
90 words
A system according to claim 9, wherein said system further comprises means for detecting a predetermined character of attributes of said relation of said relational database, means for informing said terminal by said view means of said detection and inputting an instruction from said terminal, means for converting a non-normal relation into first normal form in accordance with said input instruction and means for converting, when a relation of said relational database has a non-normal form, said non-normal form into a first normal form in accordance with said input instruction.
Claim 15
Dependent Claim
43 words
A system according to claim 9, wherein said division means has means for informing an operator of a result determined by said first determination means, inputting an enable/disable a division instruction from said operator, and controlling division processing in accordance with said instruction.
Claim 16
Dependent Claim
46 words
A system according to claim 9, wherein said system further comprises means for converting each of at least one third normal form relations divided by said division means into a relation having a normal form at a level higher than that of said third normal form.
Claim 17
Dependent Claim
33 words
A system according to claim 9, wherein said system further comprises means for detecting an abnormality occurring when said tuples are updated and per forming determination processing in accordance with said updating abnormality.
Claim 18
Dependent Claim
44 words
A system according to claim 9, wherein said system further comprises means for detecting a null value in values of said tuples and eliminating an attribute corresponding to said null value from relations determined by said first determination means and said second determination means.
Claim 19
Independent Claim
209 words
A method for restructuring a relational database comprising the steps of: a) extracting an attribute set of candidate keys and non-key attributes except for the candidate keys from a relation to be restructured; b) forming a plurality of combinations between a proper subset of the candidate keys extracted in said step a) and a subset of said non-key attributes; c) checking, with reference to values of tuples which are present in said relation, whether said subset of non-key attributes is functionally dependent on said proper subset of candidate keys in each of the combinations formed in said step b), and storing a determination result as dependency information, and storing attribute information representing the determination result; and d) dividing said relation into a relation generated by a projection to an attribute set having a functional dependency and a relation generated by a projection to an attribute set of attributes except for non-key attributes having a functional dependency in accordance with said dependency information; e) checking whether said relation generated by said division in said step d) has at least two non-key attributes., and executing said formation step b), said determination step c) and said division step d) automatically on said relation when said relation has at least two non-key attributes.
Claim 20
Independent Claim
209 words
A method for restructuring a relational database comprising the steps of: a) extracting an attribute set of candidate keys and non-key attributes except for the candidate keys from a relation to be restructured; b) forming a plurality of combinations between a proper subset of the candidate keys extracted in said step a) and a subset of said non-key attributes; c) checking, with reference to values of tuples which are present in said relation, whether said subset of non-key attributes is functionally dependent on said proper subset of candidate keys in each of the combinations formed in said step b), and storing a determination result as dependency information, and storing attribute information representing the determination result; and d) dividing said relation into a relation generated by a projection to an attribute set having a functional dependency and a relation generated by a projection to an attribute set of attributes except for non-key attributes having a functional dependency in accordance with said dependency information; e) checking whether said relation generated by said division in said step d) has at least two non-key attributes., and executing said formation step b), said determination step c) and said division step d) automatically on said relation when said relation has at least two non-key attributes.
Claim 21
Dependent Claim
25 words
A method according to claim 17, wherein the method further comprises a step for supplying a table visible image based on relations to said terminal.
Claim 22
Dependent Claim
53 words
A method according to claim 17 further comprising the step of calculating a tuple count of each said relation of said relational database in response to an interruption signal and using a relation having said tuple count as a relation to be structured, when said tuple count is greater than a predetermined value.
Claim 23
Dependent Claim
77 words
A method according to claim 18, wherein the method further comprises a step for detecting a predetermined character of attributes of said relation of said relational database, a step for informing a terminal of said detection results, a step for inputting an instruction from said terminal, a step of converting, when a relation to be restructured of said relational database has a non-normal form, said non-normal form into a first normal form in accordance with said instruction.
Claim 24
Dependent Claim
59 words
A method according to claim 17, wherein step a) comprises a step of inputting designation of a relation to be restructured from a terminal, and step d) further comprises a step of informing said terminal of attribute information generated in step c), inputting an enable/disable division instruction from said terminal, and controlling division processing in accordance with said instruction.
Claim 25
Dependent Claim
41 words
A method according to claim 17, further comprising the step of converting each of at least one third normal form relations divided in step d) into a relation having a form at a level higher than that of third normal form.
Claim 26
Dependent Claim
61 words
A method according to claim 17, wherein said database management system has detection means for detecting an abnormality occurring when tuples are updated, and said method further comprises a step of using, as a relation to be restructured, a relation related to a tuple in which said abnormality is detected in accordance with said abnormality detection performed by said detection means.
Claim 27
Dependent Claim
38 words
A method according to claim 17, wherein the method further comprises a step of detecting a null value in values of said tuples and eliminating an attribute corresponding to said null value from a relation to be restructured.
Claim 28
Independent Claim
225 words
A method of restructuring a relational database having at least one relation, each said relation having a plurality of tuples, a set of attributes, a set of candidate keys and a set of non-key attributes; wherein each tuple is managed as a two-dimensional relation for each attribute and each relation has a candidate key serving as a set of attributes which can uniquely identify one of said tuples, comprising the steps of: a) checking, with reference to values of tuples which are present in the relations, whether a first set of attributes is functionally dependent on a second set of attributes; b) dividing a first relation into a second and a third relation by a projecting operation for a designated attribute set; c) performing said steps a) and b) in order to determine from attribute sets A and B which are included in said relation and are mutually primary, when said attribute set A is a proper subset of said set of candidate keys and when said attribute set B is a subset of a non-key attribute set serving as a subset of the candidate key; and d) performing said steps a) and b) when said attribute sets A and B are proper subsets of said non-key attribute set in said attribute sets A and B which are mutually primary and included in a relation.
Claim 29
Independent Claim
225 words
A method of restructuring a relational database having at least one relation, each said relation having a plurality of tuples, a set of attributes, a set of candidate keys and a set of non-key attributes; wherein each tuple is managed as a two-dimensional relation for each attribute and each relation has a candidate key serving as a set of attributes which can uniquely identify one of said tuples, comprising the steps of: a) checking, with reference to values of tuples which are present in the relations, whether a first set of attributes is functionally dependent on a second set of attributes; b) dividing a first relation into a second and a third relation by a projecting operation for a designated attribute set; c) performing said steps a) and b) in order to determine from attribute sets A and B which are included in said relation and are mutually primary, when said attribute set A is a proper subset of said set of candidate keys and when said attribute set B is a subset of a non-key attribute set serving as a subset of the candidate key; and d) performing said steps a) and b) when said attribute sets A and B are proper subsets of said non-key attribute set in said attribute sets A and B which are mutually primary and included in a relation.
Claim 30
Dependent Claim
25 words
A method according to claim 25, wherein the method further comprises the step of supplying a table visible image based on relations to a terminal.
Claim 31
Dependent Claim
56 words
A method according to claim 25, wherein the method further comprises the steps of calculating a tuple count for each said relation of said relational database at a predetermined time and, if the calculation result is greater than a predetermined value, performing said step c) and/or said step d) on a relation having said tuple count.
Claim 32
Dependent Claim
74 words
A method according to claim 25, further comprising a step for detecting a predetermined character of attributes of said relation of said relational database,.. a step for informing a terminal of said detection results, a step for inputting an instruction from said terminal, a, step for converting, when a relation to be restructured of said relational database has a non-normal form, said non-normal form into a first normal form in accordance with the instruction.
Claim 33
Dependent Claim
41 words
A method according to claim 25, wherein step b) further comprises the step of informing an operator of a result determined in step a), inputting an enable/disable division instruction from the operator, and controlling division processing in accordance with the instruction.
Claim 34
Dependent Claim
51 words
A system according to claim 25, wherein the method further comprises the step of converting each of at least one third normal form relations divided by the step b) in the step d) into a relation having a normal form at a level higher than that of said third normal form.
Claim 35
Dependent Claim
33 words
A system according to claim 25, wherein the method further comprises the step of detecting an abnormality occurring when tuples are updated and performing the step c) in accordance with the updating abnormality.
Claim 36
Dependent Claim
38 words
A system according to claim 25, wherein the method further comprises the step of detecting a null value in values of said tuples and eliminating an attribute corresponding to said null value from a relation to be restructured.
References Cited (Backward Citations)
US5283894A
Cited
US5247665A
Cited
US5369761A
Cited
US5295261A
Cited
US5261093A
Cited
US5295256A
Cited
US5367675A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1999-01-01 | 1999-07-03 | 2000-01-02 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2003-01-01 | 2003-07-03 | 2004-01-02 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2007-01-01 | 2007-07-03 | 2008-01-02 | $7700.00 | Window Closed / Lapsed |