Slow Oscommerce Webshop
I gave a simple search into ‘Fast search’ on the homepage and catched this:
# User at host: kolk22_osc[kolk22_osc] at localhost []
# Query_time: 9 Lock_time: 0 Rows_sent: 1 Rows_examined: 1797684
use kolk22_osc;
select count(distinct p.products_id) as total from products p left join manufacturers m using(manufacturers_id) left join specials s on p.products_id = s.products_id, products_desc
ription pd, categories c, products_to_categories p2c where p.products_status = ‘1’ and p.products_id = pd.products_id and pd.language_id = ‘4’ and p.products_id = p2c.products_id an
d p2c.categories_id = c.categories_id and ((pd.products_name like ‘%kleren%’ or p.products_model like ‘%kleren%’ or m.manufacturers_name like ‘%kleren%’) );
Who can bring this down to much less (important: Rows_examined: 1797684)…almost 2 million! And there are only 3000 products in the shop. Not only the search is slow, but for example opening a page too.
Please make a bid and tell in how many days it could be completed.