|
|
|
|
|
|
|
|
|
600 万件に対する index scan、8 個の aggregation 演算(SUM、AVG、COUNT)を含む、2 columns group by、2 columns order by |
|
|
|
|
|
|
|
|
|
|
|
5 join(20 万、1 万、80 万、25、5)in outer query、4 join(80 万、1 万、25、5)in subquery、4 columns order by、outer column reference(join predicate) |
|
|
|
|
|
|
|
|
|
|
|
3 join(15 万、150 万、600 万)、sum(expression)、3 columns group by、2 columns order by、limit |
|
|
|
|
|
|
|
|
|
|
|
count(*)、1 column group by、1 column order by、exists subquery(600 万)、 outer column reference |
|
|
|
|
|
|
|
|
|
|
|
6 join(15 万、150 万、600 万、1 万、25、5)、sum(expression)、1 column group by、1 column order by |
|
|
|
|
|
|
|
|
|
|
|
sum(expression)、600 万件に対する index scan |
|
|
|
|
|
|
|
|
|
|
|
inline view、6 join(1 万、600 万、150 万、15 万、25、25)、AND / OR が混合された predicates、3 columns group by、3 columns order by、SUM |
|
|
|
|
|
|
|
|
|
|
|
8 join(20 万、1 万、600 万、150 万、15 万、25、25、5)、inline view、1 column group by、1 column order by、aggregation |
|
|
|
|
|
|
|
|
|
|
|
star query、6 join(20 万、1 万、600 万、80 万、150 万、25)、inline view、2 columns group by、2 columns order by、like predicate |
|
|
|
|
|
|
|
|
|
|
|
4 join(15 万、150 万、600 万、25)、7 column group by、1 column order by、aggregation、limit |
|
|
|
|
|
|
|
|
|
|
|
3 join(80 万、1 万、25)in outer query、3 join(80 万、1 万、25)in subquery、1 column group by、having、1 column order by、aggregation |
|
|
|
|
|
|
|
|
|
|
|
2 join(150 万、600 万)、1 column group by、1 column order by、aggregation |
|
|
|
|
|
|
|
|
|
|
|
left outer join(15 万、150 万)、inline view、1 column group by、2 column order by、like predicate、aggregation |
|
|
|
|
|
|
|
|
|
|
|
2 join(600 万、20 万)、aggregation、many expression in target |
|
|
|
|
|
|
|
|
|
|
|
create view => inline view、subquery、1 column order by、aggregation |
|
|
|
|
|
|
|
|
|
|
|
2 join(80 万、20 万)、in predicates、like predicate、3 columns group by、4 columns order by、count(distinct)、subquery |
|
|
|
|
|
|
|
|
|
|
|
2 join(600 万、20 万)、subquery(600 万)、outer column reference(join predicate)、aggregation |
|
|
|
|
|
|
|
|
|
|
|
3 join(15 万、150 万、600 万)、subquery(600 万)、5 columns group by、having、2 columns order by、aggregation, limit |
|
|
|
|
|
|
|
|
|
|
|
複雑な predicate 使用(多くの AND、OR 演算者が使用、in predicates)、2 join(600 万、20 万)、aggregation |
|
|
|
|
|
|
|
|
|
|
|
2 join、多くの subquery、outer column reference、1 column order by、ggregation |
|
|
|
|
|
|
|
|
|
|
|
4 join(1 万、600 万、150 万、25)、exists/not exists subquery(600 万)、outer column reference、1 column group by、2 columns order by |
|
|
|
|
|
|
|
|
|
|
|
複雑な predicate を使用(in predicate、substring、not exists subquery)、1 column group by、1 column order by、aggregation |
|
|
|
|
|