MySQL Forums
Forum List  »  German

Re: Cluster / Datenübertragung zu langsam?
Posted by: Markus Schatz
Date: February 13, 2009 09:01AM

Hier mal ein Beispiel. Die Tabelle ist etwa 500 MB groß mit ca. 370.000 Datensätzen. Der Query läuft auf anderen MySQL-Servern in unter einer Sekunde ab :-)

--- QUERY ---

SELECT a, b, c, d, e, f, g, h, i, j, k, l, m
FROM test
WHERE l < 1233912957 AND m = 'ABC'
GROUP BY f, k
ORDER BY l DESC
LIMIT 10

--- EXPLAIN ---

id -> 1
select_type -> SIMPLE
table -> test
type -> ref
possible_keys -> m
key -> m
key_len -> 5
ref -> const
rows -> 245419
Extra -> Using where; Using temporary; Using filesort

--- MESSUNG AUS PMA ---

starting -> 0.000149
Opening tables -> 0.000018
System lock -> 0.000070
Table lock -> 0.000011
init -> 0.000084
optimizing -> 0.000029
statistics -> 0.000054
preparing -> 0.000055
Creating tmp table -> 0.000061
executing -> 0.000007
Copying to tmp table -> 47.201497
Sorting result -> 0.002006
Sending data -> 0.000122
end -> 0.000007
removing tmp table -> 0.000449
end -> 0.000011
query end -> 0.000007
freeing items -> 0.000102
logging slow query -> 0.000006
logging slow query -> 0.000005
cleaning up -> 0.000008

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Cluster / Datenübertragung zu langsam?
2758
February 13, 2009 09:01AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.