...求有索引,也不管是什么连接条件,最简单 – 通过外层循环和内层循环完成属性拼接 – 代价很大 • 索引连接 ( Join with index ) – 用索引查找替代文件扫描 – 可用于已有索引或专门建立临时索引的情形 • 归并连接(Merge join) – 可用于计算自然连接和...
基于12个网页-相关网页
仅当查询中有非索引连接列或过滤列时,才使用UPDATE STATISTICS MEDIUM DISTRIBUTIONS。
Use UPDATE STATISTICS MEDIUM DISTRIBUTIONS ONLY if queries have non-indexed join columns or filter columns.
如果连接列上不存在索引,那么优化器将选择动态哈希连接。
The optimizer will choose dynamic hash join if none of the joined columns has index.
该查询检索了所需的作者信息,但是没有将索引用于连接处理。
This query retrieves the desired author information, but it would not use either of the indexes for the join processing.
应用推荐