Hi,
I have very little experience with MySQL, but the database seems kind of slow, with a few hundred pictures in my gallery. I've just installed MySQL on Fedora 14 for use with this gallery installation.
I recall reading something about configuring MySQL for InnoDB instead of whatever the default is. Can someone guide me to information on if I should be making any performance improvements for G2 with MySQL?
Thanks,
Alex
Posts: 8339
You can convert to InnoDB via Gallery Admin -> Maintenance it is faster.
Also remove any modules you don't need, not just uninstall, remove the directories.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 47
Thanks for the info. Is that just the "Optimize" option?
Thanks,
Alex
Posts: 8339
Sorry, there is a task to convert to UTF8, the InnoDB option must be during install. My mistake.
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 16504
And honestly, if you're seeing performance issues with just a few 100 items uploaded, you need to take a look at your mysql and probably apache configs.
I have a low memory VPS and have 1000s of images and albums spread across 2 G2 installs and 2 G3 installs on several domains all pointing to the same db server (localhost) so I have apache, mysql and php all running on the same limited hardware and the system flies super fast.
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 47
Could it be due to not having chosen the InnoDB option at the time of creation of the database, perhaps?
I also can't say it's exceedingly slow, but it seems like the initial time before the first image is shown it's a little slow. I've posted my virtualhost config in another post. Perhaps it's related to that? I don't have DNS queries enabled, and the system is otherwise idle.
Thanks again,
Alex