Patent ReferencesRelational database management system and method for storing, retrieving and modifying directed graph data structures Methods and apparatus for accesssing non-relational data files using relational queries Database index design based upon request importance and the reuse and modification of similar existing indexes Extending the semantics of the outer join operator for un-nesting queries to a data base System for interactive graphical construction of a data base query and storing of the query object links as an object Patent #: 5421008 InventorsApplicationNo. 376026 filed on 01/20/1995US Classes:707/1DATABASE OR FILE ACCESSINGExaminersPrimary: Kulik, Paul V.Attorney, Agent or FirmInternational ClassG06F 017/30AbstractA structured query language (SQL) grouping and aggregation system and method that incorporates hash-based techniques, several overflow handling strategies and statistics-based process-selection criteria. The method can execute SQL group-by queries on distributed database tables or tables stored locally to the database management system (DBMS) processor executing the grouping method. Hash-based techniques allow groupings and aggregates to be generated on the fly through the use of partial aggregates maintained in primary memory. Where primary memory is limited, groups and aggregates are still generated for as many groups as can be maintained in primary memory, while various overflow procedures are provided for buffering ungrouped data and writing that data to an overflow disk file for later processing. In one overflow procedure, raw data from groups that cannot be aggregated in primary memory are buffered then written to the overflow disk file. In a second overflow procedure, ungroupable raw data is formatted the same as data being aggregated in the group table, buffered, and then written to the overflow file. In a third overflow procedure, ungroupable raw data is partially aggregated in an output buffer maintained in primary memory before being written to the overflow file maintained in secondary memory. Database table statistics maintained by a cataloger are consulted to determine whether hash-based grouping or conventional sort based grouping should be used to execute a group-by query. The system is adaptable to running a grouping query against a partitioned database on distributed processors.Other References
| |