Support

Akeeba Backup for Joomla!

#13344 Database backup exceeding slow

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Sunday, 26 August 2012 11:44 CDT

user27992
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 1.5.22
PHP version: 5.2.13
MySQL version: 5.1.48-community
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.4.3

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:
One of the site I manage has been moved to a Microsoft-IIS/6.0 set to run PHP. The backup for the database part is so slow in akeeba it takes 4-5 hours. Any advise will be appreciated.

Regards

nicholas
Akeeba Staff
Manager
I will need you to ZIP and attach the log file. Without it I have no idea what is going on and can't help you :(

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user27992
Sorry forgot, here it is. If file only speed is fine, just the database is slow.

Much appreciated

nicholas
Akeeba Staff
Manager
Sorry for the delay. It seems that when I tried posting my answer earlier this week a network issue kicked in. I only saw it today that I was doing some clean up on past tickets. I'm terribly sorry about that!

I really don't see a problem. What I do see is that you have a ginormous table, #__jstats_impressions, with several hundreds of thousands of records. I'd suggest excluding that table using the Database Table Exclusion feature of Akeeba Backup.

There is also something more to note. Windows is notorious for terribly slow file system operations. Reading data from the database requires to, of course, first read from disk. I can see that you can read about 5,000 records per second. Obviously, of you have millions upon millions of rows this greatly increases your backup time. The bottleneck is the operating system. Not much we can do about it.

Finally, another thing. You are using PHP 5.2. PHP 5.3 is about three times faster than PHP 5.2. Also, PHP 5.4 is six to seven times faster than PHP 5.2. An upgrade of your PHP version will have a dramatic impact to the backup speed. These figures above come from my own benchmarks.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!