Efficient implementation of typed view hierarchies for ORDBMS
First Claim
1. In a relational database management system, a method for creating a hierarchy view on top of a table hierarchy, comprising:
- (a) storing a user definition for a table hierarchy and a table type hierarchy, wherein the table hierarchy includes a physical table storing all columns of one or more typed tables in the table type hierarchy; and
(b) generating a hierarchy view from the table hierarchy and table type hierarchy, wherein the hierarchy view comprises a single unified view on the table hierarchy comprised of one or more logical views for each of the typed tables in the table type hierarchy.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for typed view hierarchies for an object-relational database management (OPDBMS). The views in the hierarchy are merged into a unified hierarchy view through case expressions for mapping and wrapping of overloaded columns. During the merge, the underlying logical tables are eliminated which results in a simplified query graph. The transformation is a non-loss operation which condenses the type information within the case expressions. This allows update, delete and insert operations to be resolved on the query graph on a local level. Using query rewrite rules, the case expressions may be simplified further.
-
Citations
19 Claims
-
1. In a relational database management system, a method for creating a hierarchy view on top of a table hierarchy, comprising:
-
(a) storing a user definition for a table hierarchy and a table type hierarchy, wherein the table hierarchy includes a physical table storing all columns of one or more typed tables in the table type hierarchy; and
(b) generating a hierarchy view from the table hierarchy and table type hierarchy, wherein the hierarchy view comprises a single unified view on the table hierarchy comprised of one or more logical views for each of the typed tables in the table type hierarchy. - View Dependent Claims (2, 3, 4, 5, 6, 7, 18, 19)
-
-
8. A computer program product for use on a computer wherein queries are entered for retrieving data from tables stored in memory and wherein means are included for defining a table hierarchy for retrieving data from the tables, said computer program product comprising:
-
a recording medium;
means recorded on said medium for instructing said computer to perform the steps of, (a) storing a user definition for a table hierarchy and a table type hierarchy, wherein the table hierarchy includes a physical table storing all columns of one or more typed tables in the table type hierarchy; and
(b) generating a hierarchy view from the table hierarchy and table type hierarchy, wherein the hierarchy view comprises a single unified view on the table hierarchy comprised of one or more logical views for each of the typed tables in the table type hierarchy. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A relational database management system for use with a computer system wherein queries are entered for retrieving data from tables and wherein means are included for defining a table hierarchy for retrieving data from the tables, said system comprising:
-
(a) means for receiving a user definition for a table hierarchy and a table type hierarchy, wherein the table hierarchy includes a physical table storing all columns of one or more typed tables in the table type hierarchy; and
(b) means for generating a hierarchy view from the table hierarchy and the table type hierarchy, wherein the hierarchy view comprises a single unified view on the table hierarchy comprised of one or more logical views for each of the typed tables in table type hierarchy. - View Dependent Claims (16, 17)
-
Specification