Can we come up with a non-technical explanation of RAID? I'll start:
1) The big crash we had in 1999 can't happen again, because if there is a drive failure, the data is can be recovered from a mirror of that drive.
....
we have 8 gigs of ram in the database server, there no paging and those numbers look good
Galahad- thats the db server, there's also 2 webservers and a load balancer
Gosh, that DOES explain a lot, and it should provide a very clear, up-to-date, indication to folks who want the old search back precisely why it is infeasible.
Are you folks are looking into creating a new, indexed relation table to serve as a JOIN target for that massive IN clause? (That's not a recommendation: Database design is not my forte. I'm asking solely for personal edification in that regard, i.e., what would people who do know databases do if faced with the problem you're facing.)
And during that time one of the server worker threads was blocked, right? Get enough of them, and the whole application would freeze up, which is what actually happened.
AVS Forums does indeed put thread length limits in place. Quite frankly, I prefer them regardless of the fact that they also provide performance benefits. YMMV.
Non technical summary
1 thing was broke we fixed it
2 things are still broke we are working on fixing them
Is that better?
Hubby is a computer nut and stuff like this is what he does and I showed his this thread. He asked how much RAM are you using? He said board performance has more to do with ram than drive space? He is going to read the thread better when he gets to work.
Either way, when the request to pull up a thread with 125,000 posts is done, I'll lay money that the available memory is filled. Your users try too many of those, and no "normal" computer or database can handle that sudden load.
I agree. How many times do we need to see "Steve Irwin, Crocodile Hunter Dies" come to page one? Or the one about Disers trying to conceive?
Non technical summary
1 thing was broke we fixed it
2 things are still broke we are working on fixing them
Is that better?
With some tuning and certain database designs you may be able to handle it. The problem is you don't want to tune all your queries and design your database just to handle those large threads and queries because the vast majority of your db calls are for small results. You typically will tune for the average request. Tuning for those large threads may increase their performance but hurt the performance of the smaller thread calls and ultimately hurt the overall performance of the db.
Gosh, that DOES explain a lot, and it should provide a very clear, up-to-date, indication to folks who want the old search back precisely why it is infeasible.
Are you folks are looking into creating a new, indexed relation table to serve as a JOIN target for that massive IN clause? (That's not a recommendation: Database design is not my forte. I'm asking solely for personal edification in that regard, i.e., what would people who do know databases do if faced with the problem you're facing.)
And during that time one of the server worker threads was blocked, right? Get enough of them, and the whole application would freeze up, which is what actually happened.
AVS Forums does indeed put thread length limits in place. Quite frankly, I prefer them regardless of the fact that they also provide performance benefits. YMMV.
Unless I'm mistaken, thread limits would LOCK threads after a certain number of posts, not clean threads out. I think cleaning threads out is a bad thing, since important information, that people might want to refer back to, would be lost.
Alex - Do you have logging turned on?
People are still interested in those topics, so they post to them. Isn't that how threads end up on Page One? Maybe you or I might not "need" to see that thread, but somebody else sure does, or the thread would just drift off to wherever old threads go to die.
agnes!
If the RAM isn't paging, adding more memory won't solve the problem, Alex? What you have isn't getting strained.
Alex, are you seeing any spikes of memory usage that rapidly go away, or consistent low usage and locked processes?
Locked processes + low memory usage could mean an app error like the SQL statement issue Alex brought up on the front page.
Locked processes + high memory usage (which is not what was described) could be possibly -helped- by more RAM or by refined code. <--Notice I didn't say fixing your code there.
If the vBulletin code grabs a lot of data at once via database (SQL) statements that pull all the posts on a 125K post thread, that would fill up RAM and maybe cause paging (if there's enough to overflow). If the machine lets go of the data properly, no problem. If the machine does not let go of all of the data, just most of it, then forgets to let go of the rest, that becomes an issue fairly quickly on a high-traffic website. The amount of memory used keeps increasing to the point the machine falls down and goes boom. (Like that technical explanation there?? )
Oh, and while I have made reference to the clique threads here, my DISMeets threads are pretty stinkin' huge, too. There's 3+ DISMeets threads for every week (I'm counting just DCL threads on one Magic and two Wonders a week, but you could add fridge swaps, PhotoPass shares, coupon trains, freebie threads, etc).