Summary table query routing
    1.
    发明授权
    Summary table query routing 失效
    汇总表查询路由

    公开(公告)号:US6023696A

    公开(公告)日:2000-02-08

    申请号:US962533

    申请日:1997-10-31

    IPC分类号: G06F17/30

    摘要: Methods and apparatus for effective and efficient usage of summary tables in a computer system including a database. In a computer system it is common for a database to include one or more summary tables which have pre-generated aggregations of data from one or more original, detailed database tables. In order to achieve the benefits of summary tables, they must be accessed when appropriate. Thus, information regarding the available summary database tables, including summary bitmaps for all the summary tables, is maintained in the metadata of a computer system. This information is updated whenever a summary table is created. The summary bitmaps are a main key for determining if any summary table is responsive to a user query to the computer system. The summary bitmaps map to corresponding SQL statements, which are generated to access the respective summary tables in the database. Once an SQL statement for accessing a respective summary table is identified for a particular user query, that SQL statement is then incorporated in the executable SQL query that is thereafter executed.

    摘要翻译: 在包括数据库的计算机系统中有效和高效地使用汇总表的方法和装置。 在计算机系统中,数据库通常包括具有来自一个或多个原始详细数据库表的预先生成的数据聚集的一个或多个摘要表。 为了实现汇总表的好处,必须在适当的时候访问它们。 因此,有关可用的摘要数据库表的信息(包括所有汇总表的摘要位图)都保留在计算机系统的元数据中。 每当创建汇总表时,都会更新此信息。 摘要位图是确定任何汇总表是否响应于对计算机系统的用户查询的主要关键。 摘要位图映射到相应的SQL语句,这些SQL语句被生成以访问数据库中的相应摘要表。 一旦为特定的用户查询识别了用于访问相应的摘要表的SQL语句,则该SQL语句将被并入此后执行的可执行SQL查询中。