Support Forum Project Downloads FAQ Documentation About Demo Tutorials Blog Plugins
November 21, 2009, 10:01:10 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Private messages disabled
Caused by the massive abuse of the PM system in the past, the sending of personal messages has been disabled for all regular users on the Coppermine forum.
[more]
   Home   Help Search Board rules Login Register  
Pages: [1]   Go Down
  Send this topic  |  Print  
Author Topic: MySQL 4 vs MySQL 5  (Read 1174 times)
0 Members and 1 Guest are viewing this topic.
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 13

Coppermine User


WWW
« on: July 27, 2008, 04: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
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #1 on: July 27, 2008, 08: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
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 13

Coppermine User


WWW
« Reply #2 on: July 27, 2008, 05: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
****
Gender: Male
United Kingdom United Kingdom

Posts: 19445



WWW
« Reply #3 on: July 27, 2008, 05: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 don't care about what they say, I won't live or die that way.
Forgott3n Topic starter
Coppermine newbie

Gender: Male
Posts: 13

Coppermine User


WWW
« Reply #4 on: July 28, 2008, 02: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: 13

Coppermine User


WWW
« Reply #5 on: July 28, 2008, 02: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
*****
Gender: Male
Germany Germany

Posts: 45051


aka "GauGau"


WWW
« Reply #6 on: July 28, 2008, 05:14:50 am »

Turn random thumbs off - they have the most severe impact on resources consumption
Logged
Pages: [1]   Go Up
  Send this topic  |  Print  
 
Jump to:  

Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.037 seconds with 17 queries.