There is considerable overlap between strategies proposed for subquery evaluation, and those for grouping and aggre-gation. In this paper we show how a number of small, inde-pendent primitives generate a rich set of efficient execution strategies —covering standard proposals for subquery evalu-ation suggested in earlier literature. These small primitives fall into two main, orthogonal areas: Correlation removal, and efficient processing of outerjoins and GroupBy. An op-timization approach based on these pieces provides syntax-independence of query processing with respect to subqueries, i. e. equivalent queries written with or without subquery produce the same efficient plan. We describe techniques implemented in Microsoft SQL Server (releas...
Query processing in databases can be divided into two steps: selecting an 'optimal' evaluation strat...
The query optimization phase within a database management system (DBMS) ostensibly finds the fastest...
Testing an SQL database system by running large sets of deterministic or stochastic SQL statements i...
Optimizing SQL subqueries has been an active area in database research and the database industry thr...
Complex queries often contain common or similar subexpressions, either within a single query or amon...
Complex queries often contain common or similar subexpressions, either within a single query or amon...
Groupjoins, the combined execution of a join and a subsequent group by, are common in analytical que...
Aggregations are almost always done at the top of operator tree after all selections and joins in a ...
textabstractTesting an SQL database system by running large sets of deterministic or stochastic SQL ...
Database systems frequently have to execute a set of related queries, which share several common sub...
It has been a recognized fact for many years that query execution can benefit from pushing grouping ...
Existing SQL aggregate functions present important limi-tations to compute percentages. This article...
Testing an SQL database system by running large sets of de-terministic or stochastic SQL statements ...
Subquery is widely used in database. It can be divided into related subquery and non-related subquer...
This paper is based on relatively newer approach for query optimization in object databases, which u...
Query processing in databases can be divided into two steps: selecting an 'optimal' evaluation strat...
The query optimization phase within a database management system (DBMS) ostensibly finds the fastest...
Testing an SQL database system by running large sets of deterministic or stochastic SQL statements i...
Optimizing SQL subqueries has been an active area in database research and the database industry thr...
Complex queries often contain common or similar subexpressions, either within a single query or amon...
Complex queries often contain common or similar subexpressions, either within a single query or amon...
Groupjoins, the combined execution of a join and a subsequent group by, are common in analytical que...
Aggregations are almost always done at the top of operator tree after all selections and joins in a ...
textabstractTesting an SQL database system by running large sets of deterministic or stochastic SQL ...
Database systems frequently have to execute a set of related queries, which share several common sub...
It has been a recognized fact for many years that query execution can benefit from pushing grouping ...
Existing SQL aggregate functions present important limi-tations to compute percentages. This article...
Testing an SQL database system by running large sets of de-terministic or stochastic SQL statements ...
Subquery is widely used in database. It can be divided into related subquery and non-related subquer...
This paper is based on relatively newer approach for query optimization in object databases, which u...
Query processing in databases can be divided into two steps: selecting an 'optimal' evaluation strat...
The query optimization phase within a database management system (DBMS) ostensibly finds the fastest...
Testing an SQL database system by running large sets of deterministic or stochastic SQL statements i...