Jump to content

SQL Issues in Prestashop


Recommended Posts

Hi,

 

I'm running a Prestashop v1.5.3.1 on a dedicated Debian Server.

 

Every server query has a huge delay of about 10 to 15 seconds. Firebug reports only "wait" and phpmyadmin shows, that Prestashop has very long SLEEP querys on his database... Can anyone explain how could this happen or why the SLEEP is mandatory?

 

Thanks

Link to comment
Share on other sites

I've about 1100 products in my shop but the problem exists since start (About 10 products). Everytime i want to load a page, it lasts 10 to 15 seconds before a page loads... firebug says, that 95 percent of that me, it's only waiting... so i'm assume, that it is maybe a database issue and has something to do with the SLEEP and maybe locks/deadlocks on the database

Link to comment
Share on other sites

and what about error log? have you got any errors? maybe some script have got long load-time, you should check apache / php error log

 

There are some entrys in the error-logs but these are only "files not found", and they are caused by failed saving processes in BO.

 

I think you are using slow server.

 

The same was told us in the german forum, but the server isn't slow. Firebug and other engines say that the data is delivered fast, but the time to first byte of the php file is such long. php self is generated and delivered quickly.

Edited by janthemanson (see edit history)
Link to comment
Share on other sites

The error logs are mostly empty. Only entrys of crawlers trying to access missing files, and some as I wrote before.

Today I checked the INNODB MONITOR OUTPUT. The only thing I read out of this may be something with ps_search_index.

 

I used to ask at http://dba.stackexchange.com/questions/36710/need-help-interpreting-innodb-monitor-output-for-prestashop-performance-problem for this kind of problem.

Link to comment
Share on other sites

×
×
  • Create New...