Automatically determining a database representation for an abstract datatype
First Claim
1. A method comprising:
- receiving a logical description that references an abstract datatype in a database system, wherein the database system supports multiple database representations for the abstract datatype;
receiving one or more sample queries that reference the abstract datatype; and
based on the logical description and the one or more sample queries, determining a database representation for the abstract datatype.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for determining a database representation for an abstract datatype that may have more than one database representation. A user supplies a logical description that references the abstract datatype, along with one or more sample queries that reference the abstract datatype. For example, the user supplies a DDL statement to create a table using that abstract datatype as a column, without specifying any database representation for the abstract datatype. Also the user supplies a set of queries that reference the abstract datatype columns. Based on the user information, a database representation for the abstract datatype is determined. A script file containing code to create one or more base structures for the abstract datatype and to create zero or more indexes for the base structures is generated. The script file may be commented to explain to the user why a particular base structure or index was included in the script file.
-
Citations
21 Claims
-
1. A method comprising:
-
receiving a logical description that references an abstract datatype in a database system, wherein the database system supports multiple database representations for the abstract datatype; receiving one or more sample queries that reference the abstract datatype; and based on the logical description and the one or more sample queries, determining a database representation for the abstract datatype. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
receiving a logical description that references an XML datatype, wherein the database system supports multiple database representations for the XML datatype; receiving one or more Data Manipulation Language (DML) queries that reference the XML datatype; based on the logical description and the one or more DML queries, determining a database representation for the XML datatype. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification