![]() |
Lil help with queries would be greatly appreciated
heh well as most people on here I am having some probelms with queries... recently the admin that was taking care of hacks for our board etc. left, so basically we're kinda stuck with a whole bunch of queries slowing down the server, the problem is in the forumhome page not showthread or anything else, our forumhome page seems to be loading the slowest, this is really pissing me off as I am not sure about all the hacks installed and which ones can be optimized, it has steadily been getting worse since we're getting more and more users online at once, it has almost become unbearable lately when we get 700+ users online at once, I was always more of an IPB person and with this admin leaving I sort of got left with some of the dirty work O.o
anyways I'm posting the debug page, I'd appreciate it if anyone here could help me cut down at least a few queries on it Code:
Query: SELECT template FROM template WHERE title='options' I'm thinking that perhaps some some queries can be added to the $templatesused= part of index.php but I just wanted to make sure which ones I can safely add This is the current $templatesused= we have in our index.php Code:
$templatesused='forumhome_birthdaybit,error_nopermission,forumhome_pmloggedin,forumhome_welcometext,forumhome_logoutcode,forumhome_newposts,forumhome_todayposts,forumhome_logincode,forumhome_loggedinuser,forumhome_loggedinusers,forumhome_lastpostby,forumhome_moderator,forumhome_forumbit_level1_nopost,forumhome_forumbit_level1_post,forumhome_forumbit_level2_nopost,forumhome_forumbit_level2_post,forumhome,forumhome_unregmessage,vbproarcade_gamelinkbit,vbproarcade_gamelinks'; |
What hacks are you using if any? that you know of.
You could probaly just upload the default forumhome file and revert the forumhome template. |
regarding the queries, i can see, you're running vb2.
i suggest to upgrade to vb3, that way, you will get rid of all hacks, and make your board faster and also more secure. |
yes we are running vb2, there are several reasons because of which we aren't really thinking of upgrading now.... one of them being that the board has over 60,000 users registered and converting that entire db to vb3 would take a while.... since we don't have another server which we can use to convert the db on while keeping the forums running it is not really an option
the hack installed on the board have also been modified quite a bit to suit our forum needs therefore loosing all of them wouldn't be something I would like very much either.... it will be done as a last resort but as of now we're not that extremely desperate. I know that there are some people saying that adding the search queries to $templatesused= will cut down a few queries.... would it be safe to do so, are there any drawbacks, etc. I'll try and get a list of the hacks we have installed specifically the ones affecting the forumdisplay page, and I'll post them here tomorrow or the day after. |
Quote:
What hacks have you installed that you really need on vB3? |
the database is around 500 MB
the thing is that one of the most important "hack" I guess you can call it that is the intergration of our forums with the porta we have running and I don't really want to switch to running the VB3 built-in portal as it would..... well..... suck, compared to the one we have now. about the not being able to recover the data from the time during which we're upgrading..... that's not a problem, the thing is that a large portion of our members are in their teens and, well, they won't stick around for log if we go down for a week or so while we do the upgrade, they'll come back eventually, but we will still have a dip in traffic, which is not something that we're really looking forward to.... if/when our server crashes, that is when we're gonna do the upgrade, untill then we're gonna wait, this is not just my decision this is the decision of the other admins on the board as well. I'm just asking if there is a way to reduce the current queries we have on the board a bit, I know myself that an upgrade to vb3 would solve most of our problems but..... it is not just my decision to make.... if it were I wouldn't be here asking O.o ;) |
A week?
I've upgrade some rather huge forums, not quite as large as yours, however the last one i did was about 300 megs, took us 4-5 hours to upgrade and another 3-4 to do the reindex. What portal are you using now? vB3 has a fairly good line for portals, and the new version of vBadvanced is due out in a few weeks here and is really powerfull compared to vBadvanded 1.0 |
vb.org has 40k users, and a db with over 0.5 GB, and with reindexing, it took exactly 8 hours, so nothing to fear :)
|
okay well, the vbulleti.com forums seemed alot scarier about upgrading then you guys here do... perhaps that is something we can look into then, there is just one thing, perhaps you guys can help me out with this.... our attachments on the forum are not stored in the normal vbb 2.x way, we're using a hack to compress them further so that they use less space/bandwidth, I'll find out what hack exactly we're using, it's just that is there perhaps a way to save the attachments or are they all lost if we upgrade to vb3?
|
Not sure it depends. id try a test upgrade and see what happens, if the test upgrade is successfull, attempt the real deal :)
|
All times are GMT. The time now is 08:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|