mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-12-24 02:01:42 +08:00
Merge advisor-json-output and clean up pt-query-advisor docs.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
# Query ID 0xAED2E885BDADA166 at byte 0
|
||||
# WARN CLA.001 SELECT without WHERE.
|
||||
# WARN CLA.006 GROUP BY or ORDER BY different tables will force a temp table and filesort.
|
||||
# WARN CLA.006 GROUP BY or ORDER BY on different tables.
|
||||
select id from tbl1 join tbl2 using (a) group by tbl1.id, tbl2.id
|
||||
|
||||
# Profile
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
# Query ID 0xBA2547D924C5140D at byte 0
|
||||
# WARN CLA.007 ORDER BY different directions prevents index from being used.
|
||||
# WARN CLA.007 ORDER BY clauses that sort the results in different directions prevents indexes from being used.
|
||||
select c1, c2 from t where i=1 order by c1 desc, c2 asc
|
||||
|
||||
# Profile
|
||||
|
||||
Reference in New Issue
Block a user