Hello/Hi/Greetings,
How to split the table piwigo_images in Mysql? My site has almost 30 million images. And piwigo_images crashed sometimes. The tabel has been reached 69m size. Upload speed is very slow. Can I solve this problem by splitting the table?
Piwigo version: 2.7.3
PHP version: 5.2.17p1
MySQL version: 5.1.63
Piwigo URL: http://www.sxlux.com
Hello
splitting the table won't help in any way... It will even be slower because you will have three or more indexes instead of one (one for each sub-tables and one master)
what you have to do is optimize your MySQL server to support the load
I don't think anybody here can help but I know people achieved tables with billion records with very good performances, there are numerous articles on the net about that.
And perhaps the table lacks some indexes
Offline
Hi ciel,
I have sent you an email. We can try different things to improve performances, but first we need to know which SQL queries are slow...
Offline
Very first advice to improve performances : deactivate the random picture in the menu (provided by plugin Advanced Menu Manager)
Offline
plg wrote:
Very first advice to improve performances : deactivate the random picture in the menu (provided by plugin Advanced Menu Manager)
Thks. That would be good work for the speed. But did not solve the problem of slow upload.
By the way, When I batch upload 1000 pictures, there are always a few pictures with HTTP error icon. But when I seart them, find duplicate uploaded two. Does it matter with database overload?
- slow queries can be easily tracked ; ask to your hoster or check slow_query log on google
- i don't thing slow upload is related but you can check what are the slowest query to be sure about that
Offline