首页>
外国专利>
How to select the binding selectivity in the query optimizer and a relational database management system
How to select the binding selectivity in the query optimizer and a relational database management system
展开▼
机译:如何在查询优化器和关系数据库管理系统中选择绑定选择性
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method for choosing join selectivities in a query optimizer in a relational database management system is disclosed which facilitates the estimation of join result sizes by a query optimizer in a relational database system, wherein a new relation R is to be joined with an intermediate relation I, and wherein the selectivity values for each eligible join predicate are known. The method has the steps of determining the equivalence classes for a plurality of join attributes and then computing for each relation an estimate of the cardinality and the number of distinct values in each attribute after all the local predicates have been included. These are used in further computation of join selectivities and join result sizes. The join predicates must then be processed by correctly choosing the join selectivities. The join result sizes can then be correctly calculated.
展开▼