usual used
1 index ,no_index,index(tablename1 col1,tablename2 col2)
2 ordered
3 parallel,no_parallel
4 first_rows,first_rows(n) ignore group distinct minus union intersect update delete
5 rule
6 full(tablename)
7 leading(tablename)
8 use_nl 以最快速度返回第一行再连接
9 append ,no_append
10 use_hash
11 use_merge和use_nl相反 合并后返回,适用于多个表大量行上的集合操作
12 all_rows 浪费索引 最低开销
13 cluster
14 index_acs=index
15 index_combine 不懂
16 index_join 数据都在索引里,不再去访问表
17 index_desc
18 index_ffs 表有多列,数据都在索引里。全索引扫描而不是全表扫描
19 no_expand 减少解析时间 or in
20 driving_site(tablename) 数据发送到tablename所在数据库执行连接查询--在分布式查询中,当一张表比较小,而且最终得到的结果集也比较小的话,使用driving_site将小表发送到大表端执行是比较快的
21 cache,nocache
22 push_subq
23 index_ss
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11813230/viewspace-688854/
,如需转载,请注明出处,否则将追究法律责任。