Mark Smith (
mark) wrote in
dw_maintenance2012-04-24 12:28 pm
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
database maintenance
Hi all,
Over last night and this morning I've done some database maintenance on our global slave. This should be transparent and cause no problems, but please let me know if you see anything amiss.
For the technically curious, I had to do a dump-and-reload on our MySQL instance so that I could free up space in the InnoDB data file. It had grown to ~240GB back when the machine was also home to the user data, but now that it is just used for global data, it is only about 8GB.
After things are settled for a few days, I will have to perform the same operation on the global master. That will be slightly more exciting, but should cause no downtime either.
Over last night and this morning I've done some database maintenance on our global slave. This should be transparent and cause no problems, but please let me know if you see anything amiss.
For the technically curious, I had to do a dump-and-reload on our MySQL instance so that I could free up space in the InnoDB data file. It had grown to ~240GB back when the machine was also home to the user data, but now that it is just used for global data, it is only about 8GB.
After things are settled for a few days, I will have to perform the same operation on the global master. That will be slightly more exciting, but should cause no downtime either.
no subject
no subject
no subject
no subject
My original plan was to dump and take down our 5.0 slave, make backups, then upgrade to Percona 5.5 and enable innodb_file_per_table. I was thwarted when it became apparent that our Ubuntu 9.04 machines aren't compatible with the Percona 5.5 packages -- too old.
I didn't want to leave the database down long enough to do a full system reinstall, and frankly don't have the time today, so I brought it back up on the old 5.0 and didn't set the options. (I seem to recall something weird with that option in 5.0, or maybe it just doesn't work? I don't know.)
Anyway, hopefully sometime Soon(TM) I can find time to upgrade to 10.04 ... of course, 12.04 is coming out very soon. I don't know that I want to trust the first release on our databases, though. That's probably unwise.
no subject
no subject
no subject
Crosspost to dawnstar@LiveJournal failed.
Failed to crosspost entry to dawnstar@LiveJournal: Failed to connect to http://www.livejournal.com/interface/xmlrpc."
Is that on our end or theirs?
no subject
no subject
no subject
This is creating some very interesting mental pictures of DreamWidth HQ. ;)
no subject
no subject
no subject
no subject
no subject
no subject
We're running 9.04 right now which is about three years old. It's no longer supported, so it puts us in a bind and makes it hard to upgrade and receive security updates, etc. Canonical (the folks behind Ubuntu) have structured things such that the LTS releases (8.04, 10.04, 12.04, etc) are supported for five years -- but the non-LTS releases are only supported for two years.
Ideally, we should be on an LTS version or we should commit to upgrading releases more often than we do.
no subject
*doubles over laughing* OMG. *gasps for breath*
Yeah, I had a thought along similar
BDSMlines when I read that! =Dno subject
no subject
That, you are, Mark! And I don't blame you for not going there. *snickers*
no subject
If it helps, the post I'm talking about is - http://dear-mun.dreamwidth.org/1527859.html - and I'm trying to get the address for /just/ the thread that starts with "derpjack_ftw".
No idea if this has to do with the maintenance or not, but since you said "if you see anything amiss", and I've never had this problem before.
Thanks!
no subject
no subject
Thanks!!
no subject
-J
no subject
no subject
Re: Newbie here...