setze vor das Statement ein "EXPLAIN " und führe es in PhpMyAdmin aus. Wie lautet das Ergebnis?
OK, dann bekomme ich folgende Antwort (sorry wenn das hier jetzt nicht sehr schön formatiert ist):
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 75 Using temporary; Using filesort
1 PRIMARY s ALL PRIMARY NULL NULL NULL 2771
1 PRIMARY t ALL PRIMARY NULL NULL NULL 2967 Using where
1 PRIMARY v index PRIMARY,page_id page_id 12 NULL 239993 Using where; Using index
2 DERIVED s index PRIMARY PRIMARY 4 NULL 2771 Using index
2 DERIVED t fulltext PRIMARY,kw_full kw_full 0 1 Using where
2 DERIVED v eq_ref PRIMARY,page_id PRIMARY 8 p_galleries.s.id,p_galleries.t.keyword_id 1 Using index