Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Forums are very slow!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forums are very slow!!

 Post Reply Post Reply
Author
Thithi32 View Drop Down
Newbie
Newbie


Joined: 03 March 2005
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Thithi32 Quote  Post ReplyReply Direct Link To This Post Topic: Forums are very slow!!
    Posted: 17 June 2005 at 11:45am
What can I do to increase WWF speed ? ... we just imported the old database messages but now the forums are very slow! (15s/page)

http://www.mfe.org/forums/default.asp

Hope someone can help us. THX!

Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2005 at 7:25pm
firstly 52 forums is quite alot even for a SQL version.

when you say import do you mean from a 3rd party forum or upgraded?

if upaded the indexss need time to work, but if from a 3rd party , it maybe your host, or the number of posts and topics you have.,
Back to Top
NeutralizeR View Drop Down
Newbie
Newbie


Joined: 14 December 2004
Location: Turkey
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote NeutralizeR Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2005 at 8:41am

My page generation times: 1 sec or less...

But if somebody makes a search in the forum it is between 10-20 secs...
 
i'm using sql server... what do u suggest ?
 
P.S. There are no junk topics, messages..
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 June 2005 at 11:37am
Searching will always take a long time as looking through each and every post for words does take along time.

In the next version I'm planning on having a message display telling people to 'please wait' while the search is being carried out, and for larger forums the admin will be able to set the amount of time a user has to wait between seraches so it doen't overload the server and mess with others who are trying to use the forum.
Back to Top
Duval View Drop Down
Newbie
Newbie


Joined: 02 December 2004
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Duval Quote  Post ReplyReply Direct Link To This Post Posted: 23 June 2005 at 2:41pm
ThiThi32: I'm guessing you got it sorted. Seems prettty quick to me. I get Cette page a été affichée en 0,3594 secondes.
Back to Top
Thithi32 View Drop Down
Newbie
Newbie


Joined: 03 March 2005
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Thithi32 Quote  Post ReplyReply Direct Link To This Post Posted: 24 June 2005 at 9:30am

Yes Duval, it works better. We added a new field in the forum table in order to have the id of the last posted message. The home page is a lot faster without searching for the last message of each forum.

Concerning the search we're currently working on optimizing the queries with indexation catalogs. We'll see soon how it works.



Back to Top
numlosk View Drop Down
Newbie
Newbie
Avatar

Joined: 07 July 2005
Location: Denmark
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote numlosk Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2005 at 9:46am
Hi Thithi32,
i have the smae trouble as you, and your idea is great i just wanna know where did you add the field to order the table, and in what section of the code should i insert this to improve my home forum speed...
 
Thanks, i hope you can help me to solve this problem and start enjoying this awesome forum...
 
Thaks
Back to Top
Thithi32 View Drop Down
Newbie
Newbie


Joined: 03 March 2005
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Thithi32 Quote  Post ReplyReply Direct Link To This Post Posted: 07 July 2005 at 10:32am
Numlosk,
 
I don't have much time to answer, since it is a little complex to explain.
 
But quickly what we did:
- For the home page we added the following fields
(Last_Entry_Message_ID, Last_Entry_Topic_ID, Last_Entry_Date, Last_Entry_User, Last_Entry_User_ID) to tblForum table, in order to have the informations about the last posted message of the forum without browsing the DB.
- For the search we created 3 indexed catalogs (topic, message and user name) that help finding quickly the messages.
 
Hope it'll help,
 
Thithi32
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.