Jump to content
Sign in to follow this  
igorekioo

Медленные запросы

Recommended Posts

Здравствуйте.

Версия магазина: ocStore 1.5.4.1

Изменения(модули):

CSV Price Pro import/export

Image Manager Plus

Редактируемый список товаров - Editable Product List (vQMod) 2.0.3

Хостинг: https://www.ukraine.com.ua/

Товаров: 1800+, категорий: 120.

В цп панели хостинга совсем недавно начали появляться предупреждения о медленных запросах.

Все они примерно одного вида:

SELECT p.*,pd.*, m.name AS manufacturer, ua.keyword AS seourl FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN manufacturer m ON ( p.manufacturer_id = m.manufacturer_id ) LEFT JOIN url_alias ua ON (CONCAT('product_id=', p.product_id) = ua.query) LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id) WHERE pd.language_id = '1' AND p2c.category_id = '650' GROUP BY p.product_id ORDER BY p.date_added ASC LIMIT 20,20

Просканировано строк: 4143684   Получено строк: 20  Продолжительность выполнения: 00:00:05, сек

SELECT p.*,pd.*, m.name AS manufacturer, ua.keyword AS seourl FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN manufacturer m ON ( p.manufacturer_id = m.manufacturer_id ) LEFT JOIN url_alias ua ON (CONCAT('product_id=', p.product_id) = ua.query) LEFT JOIN product_to_category p2c ON (p.product_id = p2c.product_id) WHERE pd.language_id = '1' AND p2c.category_id = '650' GROUP BY p.product_id ORDER BY p.date_added ASC LIMIT 0,20
SELECT p.*,pd.*, m.name AS manufacturer, ua.keyword AS seourl FROM product p LEFT JOIN product_description pd ON (p.product_id = pd.product_id) LEFT JOIN manufacturer m ON ( p.manufacturer_id = m.manufacturer_id ) LEFT JOIN url_alias ua ON (CONCAT('product_id=', p.product_id) = ua.query) WHERE pd.language_id = '1' GROUP BY p.product_id ORDER BY p.date_added DESC LIMIT 0,20

Все запросы сделаны с одного IP, где не самый стабильный интернет.

Не подскажите что могло стать причиной этих запросов? Как мне с ними бороться, и бороться ли вообще? Сайт сам по себе отлично работает без тормозов и лагов. Просто стало тревожно.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

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.