Support Forum Project Downloads FAQ Documentation About Demo Tutorials
October 11, 2008, 02:03:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Coppermine 1.4.19 - Security release
The development team is releasing a security update for Coppermine in order to counter a recently discovered injection vulnerability. It is important that all users who run version cpg1.4.18 or older update to this latest version as soon as possible.
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: MySQL 4 vs MySQL 5  (Read 519 times)
0 Members and 1 Guest are viewing this topic.
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 10

Coppermine User


WWW
« on: July 27, 2008, 05:54:37 AM »

Hello,

We've recently upgraded MySQL on a server from 4 to 5 to maximize on efficiency for vBulletin. How large is the performance loss for Coppermine to use MySQL 5 over MySQL 4? What are the suggested changes to the my.cnf file to ensure the fastest page loads? We're running rather slowly.

Also, does Coppermine support XCache or APC?

Server details below:

Processor: Dual Opteron 246
Memory: 4GB DDR Registered ECC
Hd1: 120GB 7200RPM SATA / 8MB Cache
Hd2: 120GB 7200RPM SATA / 8MB Cache
RemoteBackup: 50GB Remote Backup
OS: Linux - CentOS 4
ControlPanel: cPanel / Web Host Manager
(+Fantastico/XController)
Apache 2.2.9 (Unix)
PHP 5.2.6
MySQL 5.0.51a-community
Logged
Joachim Müller
Administrator
Coppermine addict
*****
Gender: Male
Posts: 40060


aka "GauGau"


WWW
« Reply #1 on: July 27, 2008, 09:03:40 AM »

How large is the performance loss for Coppermine to use MySQL 5 over MySQL 4?
Unknown.
What are the suggested changes to the my.cnf file to ensure the fastest page loads?
There are no suggested changes from our side.
We're running rather slowly.
Posting a link to your gallery might help more than posting the server hardware details.

Also, does Coppermine support XCache or APC?
Coppermine was not designed for the using with particular cache modules or similar. There is no query caching in coppermine. Simple answer is "no". I'm not even aware of the names you mentioned - in fact I'm just guessing that those are database query caches.

Logged

Don't contact me over PM or email unless I asked you to. Instead: post on the proper board. All unrequested messages will be ignored!
Like my avatar? Create a free custom avatar just like mine.
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 10

Coppermine User


WWW
« Reply #2 on: July 27, 2008, 06:01:13 PM »

http://gallery.avrilbandaids.com

APC and XCache are modules you can load into Apache that will cache PHP and MySQL.

http://www.php.net/apc
http://xcache.lighttpd.net/
Logged
Nibbler
Dev Team member
Coppermine addict
****
Gender: Male
Posts: 17965



WWW
« Reply #3 on: July 27, 2008, 06:12:58 PM »

APC and XCache are modules you can load into Apache that will cache PHP and MySQL.

They are PHP extensions and don't have anything to do with Apache or MySQL. Coppermine doesn't use them actively but will benefit from having the opcode cache enabled. Your site does not even load so I can't offer any specific advice, just check for previous discussions about performance. Make sure the MySQL query cache is enabled, it may have got disabled when you updated MySQL.
Logged

I want to believe.
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 10

Coppermine User


WWW
« Reply #4 on: July 28, 2008, 03:26:13 AM »

I implore you to take another look at the link, we had a bit of downtime today and the gallery is now loading.
Logged
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 10

Coppermine User


WWW
« Reply #5 on: July 28, 2008, 03:38:22 AM »

Sorry for the double-post, I couldn't spot an edit button.

I ran a pingdom load test:

http://tools.pingdom.com/fpt/?url=gallery.avrilbandaids.com&treeview=0&column=objectID&order=1&type=0&save=true
Logged
Joachim Müller
Administrator
Coppermine addict
*****
Gender: Male
Posts: 40060


aka "GauGau"


WWW
« Reply #6 on: July 28, 2008, 06:14:50 AM »

Turn random thumbs off - they have the most severe impact on resources consumption
Logged

Don't contact me over PM or email unless I asked you to. Instead: post on the proper board. All unrequested messages will be ignored!
Like my avatar? Create a free custom avatar just like mine.
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.076 seconds with 20 queries.