Jump to content
  • 0

Presta muli - tworzy indexy w mysql


kaju007

Question

Witam

Mam problem z prestą ciągle mieli w bazie chodzi pewnie o indexy

zapytanie:

SELECT c.id_category, cl.name, cl.link_rewrite FROM ps_category c LEFT JOIN ps_category_lang cl ON (cl.id_category = c.id_category AND cl.id_shop = 1 ) WHERE c.nleft <= 1455341 AND c.nright >= 1455342 AND c.nleft >= 2 AND c.nright <= 2159001 AND cl.id_lang = 1 AND c.active = 1 AND c.level_depth > 1 ORDER BY c.level_depth ASC

Trochę to obciąża serwer bo korzysta też z PHP tak jak by wysyłała zapytania sama bo ruchu, gości na stronie nie ma.

 

Jak można to zlikwidować, przyśpieszyć ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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
×
×
  • Create New...