-
公开(公告)号:CA1304506C
公开(公告)日:1992-06-30
申请号:CA593250
申请日:1989-03-09
Applicant: IBM
Inventor: CHANG PHILIP Y , COYLE DANIEL J JR , HOWIE LAUREN D , LINDSAY BRUCE G
Abstract: AT9-88-013 SYSTEM AND METHOD FOR EFFICIENT ANALYSIS OF RELATIONAL DATABASE OBJECTS 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 description of all of the attributes of the object's component objects, as well as information describing the object itself. The packed description 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 denormalizing 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.
-
公开(公告)号:CA1290456C
公开(公告)日:1991-10-08
申请号:CA589118
申请日:1989-01-25
Applicant: IBM
Inventor: CHANG PHILIP Y , COYLE DANIEL J JR , MALKEMUS TIMOTHY R , RODRIGUEZ REBECCA A , WELTI PHILIP J
Abstract: AT9-88-011 In a relational database system, a method is utilized that increases the performance of the sort operation. An optimizer routine in the relational database manager analyzes a user's complete query to determine whether the final sorted results can be used directly by the user as sorting occurs. If the sort results can be used, the sort results are sent to Relational Data Services in the relational database manager for output to the user. Depending upon the determination made by the optimizer routine, one of two output modes for the final sorted sequence string of data are selected by the relational database manager. In disk output mode, the last pass of the final sorted sequence string is written to disk. In fast direct output mode, the records of data are sent to the user as the final sorted sequence string is being merged during the last pass. The system and method of this invention reduces the total sort time by eliminating the overhead of writing to disk during the fast direct output mode. Also, the response time, or availability for each record is reduced since each record is retrieved or sent to the Relational Data Services immediately after it has been sorted into the final sort order instead of completing the entire sort first, and then writing to disk.
-
公开(公告)号:CA2034905A1
公开(公告)日:1991-09-28
申请号:CA2034905
申请日:1991-01-24
Applicant: IBM
Inventor: ADAIR JOHN G , COYLE DANIEL J JR , GRAFE ROBERT J , LINDSAY BRUCE G , REINSCH ROGER A , RESCH ROBERT P , SELINGER PATRICIA G
Abstract: The invention relates to a system including a first database management system for managing a database (40) including data having a first data format and a second database management system for managing a database (50) including data having a second data format. The invention is a method for converting data transmitted between the first and second database management systems, the method including the steps of sending from the first to the second database management system a command containing data in a data format native to the first database management system; and at the second database management system, converting the data in the command into a data format native to the second database management system.
-
-