php - Mysql GROUP_CONCAT is extremely slow -


i have table in database 450.000 rows.

why query extremely slow? can fix it?

select `art_article_nr`, `name`, `sup_brand`, `path`, `cross_type_no`, group_concat(`categ` order `str_level` asc separator '>>') categ2 tof_articles2 limit 9 

looks doing full table scan, add index if not done yet

alter table tof_articles2 add index str_leve_idx(str_leve)


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -