Thank god that's over!
So we're back, with no loss of time on the site (no r-word), as promised.
You may have already read the explanation of what happened on our downtime message, but if you missed it (or want to know more), I'll go ahead and explain it here.
For the past few months, one of our biggest threats to stability has been that our database file is gradually becoming corrupted (think of someone pulling files out of a filing cabinet and tossing them all over the floor). We're currently talking to MySQL, the people who make our database, and trying to determine if this is a problem in our usage, or (more likely) a bug in the database program itself, in which case we will help them track it down and fix it.
The temporary solution to this is a complex procedure where we dump the database completely and "re-import" it, creating a totally new database file free of any corruption. There is a way we can do this transparently, with only minimal downtime. The procedure takes about a day.
Unfortunately, we were too late - the site crashed while we were in the middle of dumping the database. Both copies of the database were so corrupt that they would crash immediately upon being loaded.
Our first choice, after realizing that we had this problem, was to restore from a backup made earlier that day, and then "replay" all of the events on Subeta that had happened that day (from about 10:30 am that morning until 7:45 pm when the site crashed). This is possible because the database logs all changes, and we can use those logs to replay events.
However, this method of recovery proved ineffectual - replaying yesterday's events against the backup merely brought the database to the same corrupt state that it was in before.
So we had no other choice but to go ahead and finish dumping and reimporting data (from the backup made yesterday morning). Once that completed (around 1:15 this afternoon), we began replaying yesterday's events, until the site caught up completely, and we had a copy of the database free of corruption.
There are upsides, however. Dumping and reimporting the database optimizes it (it shrank by about 66% as a result). An optimized database is a faster database.
So yeah, that's the whole story. We're working with MySQL to fix the corruption issue, and if that is taking too long or not turning out the way we want it to, we are going to look into alternative database systems. One way or another, we'll find a solution to the problem.
--Alex
So we're back, with no loss of time on the site (no r-word), as promised.
You may have already read the explanation of what happened on our downtime message, but if you missed it (or want to know more), I'll go ahead and explain it here.
For the past few months, one of our biggest threats to stability has been that our database file is gradually becoming corrupted (think of someone pulling files out of a filing cabinet and tossing them all over the floor). We're currently talking to MySQL, the people who make our database, and trying to determine if this is a problem in our usage, or (more likely) a bug in the database program itself, in which case we will help them track it down and fix it.
The temporary solution to this is a complex procedure where we dump the database completely and "re-import" it, creating a totally new database file free of any corruption. There is a way we can do this transparently, with only minimal downtime. The procedure takes about a day.
Unfortunately, we were too late - the site crashed while we were in the middle of dumping the database. Both copies of the database were so corrupt that they would crash immediately upon being loaded.
Our first choice, after realizing that we had this problem, was to restore from a backup made earlier that day, and then "replay" all of the events on Subeta that had happened that day (from about 10:30 am that morning until 7:45 pm when the site crashed). This is possible because the database logs all changes, and we can use those logs to replay events.
However, this method of recovery proved ineffectual - replaying yesterday's events against the backup merely brought the database to the same corrupt state that it was in before.
So we had no other choice but to go ahead and finish dumping and reimporting data (from the backup made yesterday morning). Once that completed (around 1:15 this afternoon), we began replaying yesterday's events, until the site caught up completely, and we had a copy of the database free of corruption.
There are upsides, however. Dumping and reimporting the database optimizes it (it shrank by about 66% as a result). An optimized database is a faster database.
So yeah, that's the whole story. We're working with MySQL to fix the corruption issue, and if that is taking too long or not turning out the way we want it to, we are going to look into alternative database systems. One way or another, we'll find a solution to the problem.
--Alex
Posted by alx
iamnotepad
Keep up the hard work guys - I'm grateful you guys keep us in the loop on this stuff <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> I'm cool with down time if it means less (eventually) later on <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Hopefully you guys can find a solution soon!
User not found:
Thanks for explaining everything to us, Alex. <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> We appreciate your hard work! Keep it up! <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" /> I hope things go well for you.
Well glad you could fix it! <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />

thank you for all your hard work and for keeping us informed and i too realised how much i missed the site but i found out there is sun and grass and things outside wow it was awesome lol.your subeta is so great and you all get involved in making it a great fun place even with the bad .thanks again.
Thanks for keeping the explanation simple, Alex. You guys work so hard! And your efforts are very much appreciated. <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />

I have no idea what most that meant as I am technologically illiterate...all i want to say is I am so glad Subeta is back! I was starting to have withdraws!
User not found:
to**
User not found:
thanks alex and how do you ask someone do dance??
Thanks for keeping us up to date! I know that we all really do appreciate it. And thank you to the awesome staff who've been working so hard on this for us.
User not found:
=o Did i loose gold account days? = Argh

Thanks for the explaination and that u all worked so hard to get it back up and with no loss to us users <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Great Job! I know we all appreciate it <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> (Although we did miss the site and were bored out of our minds lol) <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> All better now <img src="http://images.subeta.net/smilies/6398_emoticon_wink.gif" border="0" />
thanks for putting in all the hard work <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Its so nice to get all the details <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
User not found:
This over 12 hours of downtime got me realizing how much I love Subeta, I spent the entire day refreshing the page. XD
It reminded me about dumplings <img src="http://images.subeta.net/smilies/smiley_xface.gif" border="0" />
Thanks for letting us know <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
Thanks for letting us know <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
Thanks for all your hard work, and letting us know what was going on! I'm glad to have the site back without a rollback being needed. <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
BAD Database! NO MORE CORRUPTION! -smacks it-
Thanks to everyone whose worked so hard on fixing everything. =D No more corruption cookies for the database! Not even on the holidays! It is on a strict diet. :K
Thanks to everyone whose worked so hard on fixing everything. =D No more corruption cookies for the database! Not even on the holidays! It is on a strict diet. :K
~*~Gives you a standing ovation for a job well done!!~*~ I love this site and ALL the people who make it possible for us to play here!!
Props for the lack of that scary r-word and another successful restore/replay/refixing <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
Wow, nice work. c: That's all pretty hard stuff. I do hope that the Wizard Exchange is back soon, though. <img src="http://images.subeta.net/smilies/smiley_sadface.gif" border="0" /> Don't work yourselves TOO hard.
I love how explanations are given on subeta. <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
An optimized database is a happy database.
Relief! the items are were I left them! thanks for all the efforts guys! we appreciate!
Relief! the items are were I left them! thanks for all the efforts guys! we appreciate!

Wow, that's a lot of computer drama. Thanks for the explanation and I'm glad you guys are back up and running. goes off to the cash shop to help with the expense <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
good job you guys <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
User not found:
Welcome back Subeta and I hope we don't have to go through all this again as I know you all have worked so hard to keep the site up and running. I must say that you all have done a great job. The Information you gave us is greatly appreciated. Thank you.

thanks for all the hard work you've done <img src="http://images.subeta.net/smilies/6398_emoticon_grin.gif" border="0" />
Thanks for the information. Always nice to know what's going on. Thank you, Alex.
Also, thanks to everyone who keeps the site running and gets the site running again after problems occur. ♥
Also, thanks to everyone who keeps the site running and gets the site running again after problems occur. ♥


clings to Subeta I MISSED YOU! bawls like an idiot Oh...and thanks for all the hard work, info, and most of all, lack of the r-word.
One word: YAY! <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />

A big big thank you to everyone who worked so hard to fix this.
You are awesome! sending some love thru the computer <img src="http://images.subeta.net/smilies/6398_emoticon_blush.gif" border="0" />
You are awesome! sending some love thru the computer <img src="http://images.subeta.net/smilies/6398_emoticon_blush.gif" border="0" />
Thanks for all the hard work.
Perhaps another database provider would give you better reliability?
Perhaps another database provider would give you better reliability?
User not found:
No doubt it drove you at Subeta even more nuts than us players wanting to get back. Glad you were able to fix it, though.
Thanks Alex For The Update And Thanks For All The Hard Work You And Everyone Else Is That Is Trying To Keep Subeta Up For Us.. I Am Just Glad It's Back Up!! I Have Missed It!! <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" /> Keep Up The Awesome Work!!! <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />
User not found:
Thank you so much for all your hard work and keeping us informed all the time!
You gguys all did a great job and I missed the site SO much!!!
So just thank you for the great job and that you managed everything so great without any lost of data <img src="http://images.subeta.net/smilies/6398_emoticon_wink.gif" border="0" />
Feel hugged!
You gguys all did a great job and I missed the site SO much!!!
So just thank you for the great job and that you managed everything so great without any lost of data <img src="http://images.subeta.net/smilies/6398_emoticon_wink.gif" border="0" />
Feel hugged!
I'm really glad there was no rollback.
last time was really discouraging.
so, thank you guys <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
last time was really discouraging.
so, thank you guys <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />
Thank you so much! We all appreciate how hard you guys work and the constant status reports to keep us up to date.
User not found:
Thanks for letting us in on what's going on! Good luck on getting things fixed! :3
User not found:
Thank you for keeping us informed and keeping Subeta going strong <img src="http://images.subeta.net/smilies/6398_emoticon_happy.gif" border="0" />

Thanks for telling us what is going on and for all of your hard work. Everyone really appreciates it <img src="http://images.subeta.net/smilies/6398_emoticon_smile.gif" border="0" />

Thank you to all of the wonderful staff for working so hard and keeping your users informed. I know that I (and probably many, many other users) appreciate everything that you do to keep this a great site!
