×

View composition in a data base management system

  • US 5,276,870 A
  • Filed: 10/09/1990
  • Issued: 01/04/1994
  • Est. Priority Date: 12/11/1987
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a database system having data and a plurality of view definitions stored in a memory of a computer, the data arranged in base table and each view definition defining a view in terms of the base tables, a method of processing a query that reference one or more of the views, the method comprising:

  • classifying any view that is defined in terms of only one base table as a single-table view;

    classifying any view that is not a single-table view and that is defined in terms of execution of a predetermined operation on a base table as a complex view;

    classifying any view that is not a single-table view and that is not a complex view as a simple view;

    selecting every view that has been referenced by the query and that has been classified as a complex view;

    composing a view table according to the definition of each selected view by retrieving the stored data and manipulating the retrieved data in the computer according to said definition to provide tuples of the view table;

    evaluating the query by manipulating the provided view table tuples in the computer according to the query to obtain a result; and

    providing a result of the evaluation.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×