Cost-based optimizations for join queries with union all views and derived tables
AssigneeTeradata US, Inc.
InventorsMohammed Al-Kateb, Grace Kwan-On Au, Rama Krishna Korlapati, Lu Ma, Sanjay Nair
Life of this patent
Estimating the term…
Loading patent…
AssigneeTeradata US, Inc.
InventorsMohammed Al-Kateb, Grace Kwan-On Au, Rama Krishna Korlapati, Lu Ma, Sanjay Nair
Estimating the term…
A query having a Union All view is identified. A logical join between Union AH view/derived table and other tables is broken down into multiple physical joins. The physical joins are pushed to the branches. Cost-based processing statistics are obtained for the branches. An optimal plan for the joins is selected based on the statistics; representing an optimal query execution for the query. The optimal query execution plan is provided to a database engine for executing the optimal query execution plan against a data warehouse.
A method, comprising:
A method, comprising:
A system, comprising:
Dependencies are inferred from the claim text.