You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 740 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Increase your Forums Performance
PHP-NukeDue to the large size of the database for Nuke Cops, our nuke_bbsearch_wordlist has grown very large. Now by default phpbb doesn't include an index in that table which can make your forum slow down. Running the SQL command below will increase that table size (could double it), but a performance increase is expected with the index.

ALTER TABLE nuke_bbsearch_wordmatch ADD INDEX post_id (post_id);

Please note, run this during a time on your site when it is least busy. More records on that table means longer run time. As an example, it took about 1 minute to run it on Nuke Cops -- with high powered CPUs.

If you find that this doesn't work for you, run this to remove the index:

ALTER TABLE nuke_bbsearch_wordmatch DROP INDEX post_id;

BACKUP BEFORE DOING ANYTHING! With that disclaimer, I'd like to point out that nothing bad happened here or at ComputerCops.biz when I ran it.
Posted on Tuesday, January 27 @ 20:40:49 CET by Zhen-Xjell
 
Related Links
· More about PHP-Nuke
· News by Zhen-Xjell


Most read story about PHP-Nuke:
PHP-Nuke new development direction (part 2)

Article Rating
Average Score: 4.33
Votes: 6


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Increase your Forums Performance (Score: 1)
by jimmyjimjim on Tuesday, January 27 @ 21:44:32 CET
(User Info | Send a Message)
I don't really understand... Are there any changes we should make to any of the forum scripts?

Will this work for a 6.5 site?



Re: Increase your Forums Performance (Score: 1)
by georgiaguy on Wednesday, January 28 @ 08:33:58 CET
(User Info | Send a Message)
what type of performance increase can be expected (what did you see here)? why does adding this post_id index yield the increase with no other changes to forum code?



Re: Increase your Forums Performance (Score: 1)
by jimmyjimjim on Wednesday, January 28 @ 09:11:46 CET
(User Info | Send a Message)
ZX... First off let me start by saying thank you. YOu have shown the community here over and over again that you are willing to go above and beyond the call to help teach us as well as make these wonderful hacks/scripts/modules/etc. avaialbe.

Will this INDEX apply to every entry made after the fact as well?

I guess what I'm asking is this a one time solution or does this have to be scheduled?



Re: Increase your Forums Performance (Score: 1)
by Paul_k on Wednesday, January 28 @ 15:40:23 CET
(User Info | Send a Message)
Hi,

Is the remove index command wrong? Looks like it should be..

ALTER TABLE nuke_bbsearch_wordmatch DROP INDEX post_id;


Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.139 Seconds - 290 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::