 |
 |
 |
 |
Registered: 06/05/06
Posts: 709
|
|
|
 |
 |
 |
 |
|
 |
 |
 |
 |
|
Express Hosting
"We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#228291 - 08/11/09 05:14 PM
Re: 7.5 Experts? - Getting Database Error Messages
[Re: Rick]
|
journeyman
|
Registered: 10/19/08
Posts: 52
Loc: Largo, Florida
|
|
Isn't one search = to one connection? Shouldn't it be able to more or less run in the background without bringing down the rest of the forums?
In simple terms it has to lock the table in order to do the query. When the table is locked then other queries on that table will stack up until it's done. There are a few solutions that some sites will do such as having a slave database that is strictly just for searches. So when a search is done it's done on the slave and won't block other queries. There are a few things we're going to try and do to help with search speed, but it's always a sticking point especially when it's done on all posts in the database. Ok, got it, thanks. Then in theory, would it be possible to rework the search interface to restrict searches to specific blocks? I'm thinking of a series of Radio buttons: * Past Month * Past 6 Months * 1 Year Ago (a 6 month search of Aug 2008 - Feb. 2009) * 2 Years Ago (where it will search Aug. 2007 to Aug. 2008) * 3 Years Ago (where it will only search Aug. 2006 - Aug. 2007) I know, probably making it more complicated than it needs to be. It's just that there are still posts with some value going back years. I'd hate to cut people off from those. By the same token, it's annoying a lot of our members/visitors when the forums lock up, and I'm sure it's scaring away some new potential members. We already have some pretty decent hardware cranking, I keep hoping there is a coding/development solution lurking in here somewhere.
|
|
Top
|
|
|
|
|
 |
 |
 |
 |
|
|