Nova Patents
EP0336580A2

Relational databases.

Abstract

A plurality of packed descriptions is provided as a column in a table each entry containing data defining attributes associated with a different object (such as a table or view defined to the database) and all its component objects (such as related columns and indexes). Accessing the row corresponding to a particular object returns a des­cription of all of the attributes of the object's component objects, as well as information describing the object itself. The packed descrip­tion information is redundantly stored conventionally in other system catalogs for use IN at IN querying physical definitions of objects in a manner consistent with other database products. The database state information comprising the packed descriptions is retained in internal format whereas the correlative redundant information is in a user-­readable external format. By denormalising the schema for schema data whereby identifying relationships between objects is simplified, time required for compilation of statements referencing objects is substantially reduced. All information concerning attributes of an object specified in statement and its component objects necessary to compile the statement may thereby be fetched from the packed description field corresponding to the object in one I/O operation. Objects' descriptions must otherwise be retrieved from numerous I/Os to separate system catalogs and rows collectively containing the descriptions.

EP0336580A2, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 16 March 2009, 17.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

31 claims: 11 independent, 20 dependent

  1. 1
    A method for implementing a computerised relational database system comprising:generating state information defining the relational database;and storing the state information as a plurality of packed descrip­tions.
  2. 5
    A method as claimed in any preceding claim wherein the state information is stored in internal format.
  3. 6
    A method as claimed in any preceding claim wherein each the packed description is a different long field.
  4. 7
    A method as claimed in any preceding claim wherein each the packed description is associated with a different object of the relational database and includes data defining component objects of the object.
  5. 10
    A method as claimed in any preceding claim including the step of redundantly storing the state information as a set of system catalogs of the relational database in external format.
  6. 11
    A method as claimed in any preceding claim wherein each the packed description is accessible by substantially a single I/O operation.
  7. 15
    A method as claimed in any preceding claim further comprising the steps of:generating a query statement;retrieving at least one of the packed descriptions as a function of the query statement;and compiling the query statement in functional response to the retrieved at least one of the packed descriptions.
  8. 17
    A method as claimed in any one of the preceding claims, for imple­menting a relational database system of the type having a plurality of system catalogs and wherein a statement referencing a database object is compiled, the method, comprising:a.) generating representations of attributes of an object of one of the system catalogs;b.) initialising a packed description field;and c.) storing the representations of attributes of the object of one of the system catalogs in the packed description field.
  9. 18
    The method of Claim 17 further including d.) redundantly storing the representations of attributes of an object of the one of the system catalogs in the one of the system catalogs.
  10. 19
    The method of Claim 18 further including e.) generating representations functionally related to changes in at least one of the attributes;and f.) modifying the packed description field with the representa­tions functionally related to the changes.
  11. 20
    The method of Claim 19 further including g.) redundantly storing the representations functionally related to the changes in the one of the system catalogs.
  12. 21
    The method of Claim 20 further including h.) generating representations of attributes of a component object the object;and i.) storing the representations of attributes of the component object of the object in the packed description field.
  13. 22
    The method of Claim 21 further including:j.) redundantly storing the representations of attributes of the component object of the object in a corresponding one of the system catalogs.
  14. 23
    The method of Claim 22 further including k.) repeating steps h.), i.) and j.) for next component objects of the object until the packed description and the system catalogs contain attributes of the object and substantially all the component objects corresponding to the object.
  15. 24
    A method as claimed in any one of claims 21 to 23 wherein the data defining the object and the functionally related component objects are stored as a row in a system catalog.
  16. 26
    A relational database system comprising a plurality of packed descriptions for defining state information for the database.
  17. 28
    A system as claimed in Claim 27 further comprising a plurality of second fields of representations redundantly defining the attributes of the plurality of objects.
  18. 29
    A system as claimed in Claim 28 wherein portions of the plurality of second fields each define attributes corresponding to a correlative different system catalog of the system.
  19. 30
    A system as claimed in Claim 29 wherein the different system catalogs correspond to members selected from a group including SYS.VIEWS, SYS.TABLES, SYS.COLUMNS, and SYS.INDEXES.
  20. 31
    A system as claimed in any of claims 27 to 30, wherein the first field contains substantially all data corresponding to the attributes of the objects required to compile one of the statements specifying the objects.
Independent claims20