摘要:
A database system includes an enhanced optimizer module that is able to consider group-by operations as part of the optimization of a join. Given a query that performs a join of multiple tables and that includes an aggregation function as well as at one of a Where clause and a Group-by clause, a partial group-by is performed on at least one of the tables of the join query to reduce the number of rows for the join. Group-by can also be performed on intermediate results of intermediate joins.
摘要:
A database system includes an enhanced optimizer module that is able to consider group-by operations as part of the optimization of a join. Given a query that performs a join of multiple tables and that includes an aggregation function as well as at one of a Where clause and a Group-by clause, a partial group-by is performed on at least one of the tables of the join query to reduce the number of rows for the join. Group-by can also be performed on intermediate results of intermediate joins.
摘要:
A database system includes a storage that contains plural tables as well as a predefined data structure. The database system is able to, in response to a join query, perform a join of two or more tables. The database system also is able to determine, based on values contained in the predefined data structure, whether a group-by operation can be skipped.
摘要:
A database system includes a storage that contains plural tables as well as a predefined data structure. The database system is able to, in response to a join query, perform a join of two or more tables. The database system also is able to determine, based on values contained in the predefined data structure, whether a group-by operation can be skipped.