Revlyukd Posted July 20, 2017 Share Posted July 20, 2017 Hello, We have an issue with our website, we use multi-sites, multi-currencies options and when we create an order or view a page sometime is very slow. Apparently it is a MySQL issue, because i installed localy the website, with a light database some requests are about 0.05 sec, with the production database we are around 50 sec ! Specially with sub-requests. We use partially innoDB and the issue must be with indexes not optimised. We are under the PS version 1.6.0.8. Migrate everything to MySAM can be an option. Thank you to contact me to do this job to repair the database with private messages. Link to comment Share on other sites More sharing options...
ExpertoPrestaShop Posted July 20, 2017 Share Posted July 20, 2017 Hello: DB tables engine should not be the problem. If you have big table with many inserted/updated rows could result in a not balanced index tree, so this could be the problem. Anyway, a reindexation of all your tables could be done and a full use of engine in all tables should be uniform to analize if problem is related with this or not. Regards Link to comment Share on other sites More sharing options...
Revlyukd Posted July 20, 2017 Author Share Posted July 20, 2017 Thanks The table is innoDB how can i reindex eveything? Link to comment Share on other sites More sharing options...
ExpertoPrestaShop Posted July 20, 2017 Share Posted July 20, 2017 You could defragment or optimize tables in your phpMyAdmin. Link to comment Share on other sites More sharing options...
Scully Posted July 26, 2017 Share Posted July 26, 2017 Optimize tables is a good start. If this doesn't help, further investigation would be required. Btw: we run optimize table on all major tables every night by cron. 1 Link to comment Share on other sites More sharing options...
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 accountSign in
Already have an account? Sign in here.
Sign In Now