F
FoXMorayn
Guest
Code:
(initialization) 0.000003 checking query cache for query 0.000183 checking permissions 0.00001 Opening tables 0.000023 System lock 0.00001 Table lock 0.000071 init 0.000162 optimizing 0.000035 statistics 0.000054 preparing 0.000038 Creating tmp table 0.000088 executing 0.000006 Copying to tmp table 0.018529 storing result in query cache 47.277711 Sorting result 0.000017 Sending data 0.00022 end 0.000004 removing tmp table 0.000011 end 0.000004 query end 0.000004 freeing items 0.000016 closing tables 0.000009 logging slow query 0.000057
Code:
SELECT t1.`id`
FROM `partner` AS t1
LEFT JOIN `projekte` AS t2 ON t1.`id` = t2.`partner_id`
LEFT JOIN `linktausch` AS t3 ON t1.`id` = t3.`partner`
WHERE t1.`vorname` LIKE '%colour%'
OR t1.`nachname` LIKE '%colour%'
OR t1.`firma` LIKE '%colour%'
OR t1.`email` LIKE '%colour%'
OR t1.`notiz` LIKE '%colour%'
OR t1.`telefon` LIKE '%colour%'
OR t1.`hinweis` LIKE '%colour%'
OR t2.`url` LIKE '%colour%'
OR t2.`beschreibung` LIKE '%colour%'
OR t3.`backlink` LIKE '%colour%'
OR t3.`beschreibung` LIKE '%colour%'
OR t1.`id` = 'DUMMY'
GROUP BY t1.`id`
was sagt mir diese auswertung? ist mein query gut und ich habe einfach nur zuviele daten? das ganze muss irgendwie schneller gehen.
kann mir jemand einen tip geben?