Downtime

General Discussion Area
Post Reply
User avatar
Sianni
Goddess
Posts: 291
Joined: Sat Sep 10, 2005 9:57 am
Location: West Coast, USA

Downtime

Post by Sianni »

Rollie,

Any idea how long the site will be down for maintenence?

Thanks!

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

Well, already longer than I had hoped and the table I'm rebuilding still has a long way to go. I am going to try to enable certain parts of the site, but full functionality won't be online for a while yet.
phpbb:phpinfo()

User avatar
DM.
Census Taker
Posts: 1130
Joined: Mon Oct 03, 2005 12:27 pm
Location: Toronto, Canada

Post by DM. »

At least we got the forums back. =)

*begins trolling*
Image
Click my sig

Mather
Posts: 1
Joined: Tue Feb 07, 2006 1:33 pm

Post by Mather »

The downtime has been for quite awhile now, any idea when things will be operating fully again?

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

Honestly, not really. This table reconstruction is taking WAY longer than I had expected. Had I known it was going to take this long, I would have done it differently.

The time it has taken to get to the point where it is now is not linear and as it gets further along, the time to continue gets longer. At this rate, I would not be surprised if the table is not done for another 12 hours.
phpbb:phpinfo()

User avatar
Ceto
Shady Dealer
Posts: 335
Joined: Sun Oct 16, 2005 8:22 pm
Location: Plymouth, NH
Contact:

Post by Ceto »

One of my professors wrote a bit of code in each of C, bash, and Perl as a comparison of application speed. C was fast, bash was slightly slower, Perl was not able to finish by the time class started. Problem was, he had a slight error in his program logic and created a recursive loop, increasing his execution time exponentially. Good stuff coming from a professor. =)

Just an anecdote. ;)

What sort of operation are you running on the database, if I may ask?
Image

User avatar
DM.
Census Taker
Posts: 1130
Joined: Mon Oct 03, 2005 12:27 pm
Location: Toronto, Canada

Post by DM. »

Ceto wrote:What sort of operation are you running on the database, if I may ask?
I'm curious as well... WCR was very well laid out and running fine. What changes or new features are being done?

[Edit] grrr quotes not working... still.... I know! Rollie is doing all this just to fix the quotes, and those buttons and checkboxes at the bottom of the forum threads for quick reply which do nothing :wink:
Image
Click my sig

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

It's actually a simple repair table call in mysql. The table in question is quite large and is taking quite a while to rebuild.

This is done because I am trying to track down the slow down in update processing. Something is up and this table came back with corrupt indexes so I am hoping after this is done that updates will be back up to speed.

It's about 72% done. It hit 50% last night before I went to bed and I expected it to be done by the time I got up, but it has slowed down considerably. I could stop the operation but at this point, since it has been running as long as it has, I am more inclined to just let it finish.

In the end, I am going to have to do some work. Either adding more hardware or changing some database options. The magnitude of character data that is being collected is huge and grows every day.
phpbb:phpinfo()

User avatar
Sianni
Goddess
Posts: 291
Joined: Sat Sep 10, 2005 9:57 am
Location: West Coast, USA

Post by Sianni »

Rollie wrote:The magnitude of character data that is being collected is huge and grows every day.
But that's a good thing, right!

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

I guess so, hehe. It does mean that character histories are more fleshed out, but actual concurrent user data and data submissions has actually slowed down. I could probably pare the data down a bit by pruning out all really low characters that haven't been seen in a certain amount of time (like 6 months or something), but I'm not ready to make that step yet.

I know I could improve things by throwing more hardware at the problem, but of course more hardware means higher costs and that is something I am trying to avoid.
phpbb:phpinfo()

WyriHaximus
Census Taker
Posts: 243
Joined: Tue Oct 18, 2005 2:17 am
Location: Koedijk, Alkmaar, Noord-Holland, The Netherlands
Contact:

Post by WyriHaximus »

Did you ever considerd InnoDB as table type instead of the standard MyISAM? I don't know how you exactly store your data in the database. Did you ever thougth up splitting it up in a US and a EU table or even a table for each server?

User avatar
Rollie
Site Admin
Posts: 4783
Joined: Sun Nov 28, 2004 11:52 am
Location: Austin, TX
Contact:

Post by Rollie »

I actually have a mix of InnoDB and MyISAM right now. I am debating moving everything over to InnoDB. I have thought also about breaking the data up by either server, region, month, year, or something. I already have some of the data split, but may just need to split it into smaller tables instead of the current 2 really big tables.

My only hesitation about moving over to all InnoDB is just file size and performance. I only have 1 InnoDB table right now and the table space is already over 20gig combined. If I add in the other large tables from InnoDB, it will be even bigger.

These are just not problems that a site the size of WR usually faces, hehe. We just track so much data!
phpbb:phpinfo()

WyriHaximus
Census Taker
Posts: 243
Joined: Tue Oct 18, 2005 2:17 am
Location: Koedijk, Alkmaar, Noord-Holland, The Netherlands
Contact:

Post by WyriHaximus »

20GB? Auch!!! I must admit this kind of database sizes are normal for this type of sites. (Wonders how big thottbots database it.)

AFAIK InnoDB has better performence with bigger tables then MyISAM. You could try clone the while site and run some benchamrks. (It's a bit suggestion I know :P.)

Another suggestion could be auto pruning in the UI mod of everythinglonger not seen the x days. That should take some process over head and database load away.

The splitting is a realy good thing to work out. If 1 table gets damaged you don't have to shutdown the entire site but only 1 server in the cencus view.

Post Reply