php forum
php mysql forum
php mysql smarty
 
Topic Options
#274765 - 06/09/04 04:41 AM About Search , why not use MySQL's FULLTEXT instead of SQL LIKE ?
smallufo Offline
Journeyman

Registered: 05/11/99
Posts: 110
Loc: Taiwan
Sorry , if this topic is discussed before ...<br /><br /> From original message : <br /><br />[]Scream said:<br />Search - All forums all dates<br />6.4 Generated in .575 seconds. 8 queries took .203 of that time<br />6.5 Generated in .207 seconds. 8 queries took .089 seconds of that time<br />[/]<br />Just curious , how many posts are in your test forum ?<br />I have 300,000+ posts , and each search takes more than 1 min , and will probably cause serious table lock and server load ... <br />I am using 6.4.2<br />I have to remove search page and form , even registered users cannot search.<br />It is a serious problem ... ... ...<br /><br />Why not use MySQL's FULLTEXT instead of SQL LIKE ?

Top
#274766 - 06/09/04 06:07 AM Re: About Search , why not use MySQL's FULLTEXT instead of SQL LIKE ? [Re: Jawa]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
The index of the fulltext search will require much diskspace, so it isn't suitable for every customer of ubb.threads.<br />I'm using the fulltext search on my 6.3.2 board for several months now and installed this modification for several clients also.<br />Apart from the fulltext search, using the UNION statement introduced in mysql 4.x will also help a lot.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#274767 - 06/09/04 07:03 AM Re: About Search , why not use MySQL's FULLTEXT instead of SQL LIKE ? [Re: -Fusion-]
smallufo Offline
Journeyman

Registered: 05/11/99
Posts: 110
Loc: Taiwan
[]Astaran said:<br />The index of the fulltext search will require much diskspace, so it isn't suitable for every customer of ubb.threads.<br />[/]<br /><br />[:"red"]I would rather use more space to lower server load and increase system stability ...[/] Disk space is much more cheap now...<br /><br /><br />If possible , can Infopop or Scream write an instruction to tell us how to rewrite code to make use of MySQL's text index function ??<br />It is best that UBBThreads build-in two mode : MySQL with / without text index ...

Top
#274768 - 06/09/04 10:02 AM Re: About Search , why not use MySQL's FULLTEXT instead of SQL LIKE ? [Re: Jawa]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Infopop won't "officially" provide you with any "hacks". That's why this site is here. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#274769 - 06/09/04 02:04 PM Re: About Search , why not use MySQL's FULLTEXT instead of SQL LIKE ? [Re: Daine]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Yes, an optional use of the fulltext and union features would be nice, but afaik this isn't on the schedule for the next versions.<br />That's why I created my own one. It will not solve all bottlenecks of the search, but it improves the overall performance of it.<br />I haven't ported it to 6.4, but I'm looking forward to come up with an advanced one for 6.5.
_________________________
Running a community? -> Keep informed and take it to the next level

Top



Moderator:  Deb 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks