简体   繁体   中英

Poor MySQL performance after upgrade

Applications in our company were working on quite old Apache + MySQL bundle (with PHP 5.x) but they were fast in retrieving data from the database. Simple retrieval of around 100 rows with some basic calculations would take around a second or two.

We had that bundle upgraded to the newest XAMPP version and all features it comes with. Applications were not changed (they did not have to, they just retrieve data and calculate them) but the performance of the very same operations has lowered significantly, they take around 20 seconds, sometimes up to 50 seconds.

I would appreciate it if anybody could point me to what can be done to improve the performance on that new bundle.

Thank you in advance.

In case anyone ever experiences this error, your my.ini needs some improvements on the size of cache and buffer. There's a working version of my.ini available if you search it on Google. It worked like a miracle in terms of MySQL performance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM