phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

[DEV] mysql fulltext search


 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
Merri
Board Member



Joined: 02 Feb 2009

Posts: 63
Location: Kanta-Häme


flag
PostPosted: Tue Nov 03, 2009 10:22 pm 
Post subject: mysql fulltext search

phpBB.com original thread

I have applied this change to a forum with 180 000+ messages. Unfortunatenaly I'm unable to see any change in speed after building a fulltext index for POSTS_TEXT_TABLE and I am quite disappointed. It takes ten seconds minimum for a search query, and it took this long even before having the fulltext.

Wonder if anyone may have any clue what might have gone wrong. At the moment I'm trying to see if it has any difference that I had the fulltext fields separated to post_subject and post_text and not as just one index with both of them.

_________________
Comboa Twitter
Back to top
Dog Cow
Board Member



Joined: 18 Nov 2008

Posts: 378


flag
PostPosted: Wed Nov 04, 2009 5:32 pm 
Post subject: Re: mysql fulltext search

Does the MySQL server have enough RAM? From what I've read, to get the best performance, the total index should fit into RAM.
_________________
Moof!
Lincoln's Tomb, Oak Ridge Cemetery, Springfield ILMac 512K BlogMac GUI
Back to top
Merri
Board Member



Joined: 02 Feb 2009

Posts: 63
Location: Kanta-Häme


flag
PostPosted: Wed Nov 04, 2009 7:00 pm 
Post subject: Re: mysql fulltext search

That would then be a problem, the site is on a regular shared server on a host. Although I do get it for free so I can't complain about that (sponsored site). The size of the index is nearly 400 MB so it is rather impossible to have it in memory entirely (when you do account the server is hosting I-don't-know-how-many other sites).
_________________
Comboa Twitter
Back to top
dondino
Board Member



Joined: 09 Dec 2008

Posts: 144


flag
PostPosted: Thu Nov 05, 2009 4:15 pm 
Post subject: Re: mysql fulltext search

Oh my godness! I would love to see this phpbb2 forum with more or less.. 180.000 messages!! icon_eek.gif

well, 10 seconds I think are quite fair for such big database... icon_smile.gif
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0091 seconds using 15 queries. (SQL 0.0022 Parse 0.0002 Other 0.0067)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo