Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Невероятно медленно открывает сайт


Recommended Posts

Доброго времени суток, скачал opencart 3 русскую версию. Залил 60 тыс товара (перенёс). И всё, сайт помер, в слоу лог зноиют запросы, икого типа

 

SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_category_path cp LEFT JOIN oc_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '178';

Причём я убрал все модули с товара с главной страницы, и всё равно эти запросы идут(мускл перезагружал, само сопотому чтой)

Link to comment
Share on other sites


4 минуты назад, Evino сказал:

Доброго времени суток, скачал opencart 3 русскую версию. Залил 60 тыс товара (перенёс).

 

 

Подсчет товаров не забыли выклюлить?

Link to comment
Share on other sites

да я уже понял, он получается слииет на каждой категории, когдачество товаров во всех категориях, чтобы показать их слева в меню, только пагинацию мне осивить то надо

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.