Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What does this query do? Can it be removed or optimized?


rs2k

Recommended Posts

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '1023'

 

 

 

This query is one of the few left that really need to be optimize in out largest store.

 

It seems any query with a join slows down the site.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...