Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Slow search queries

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


axel at uni-paderborn

Feb 9, 2002, 9:58 AM

Post #1 of 2 (513 views)
Permalink
Slow search queries

> SELECT * FROM cur WHERE (cur_title NOT LIKE "S") AND (cur_text LIKE "S" )
> ORDER BY cur_title

>seems to be a big offender. That's the special_dosearch query, I think.

Yes. That searches linearly through the whole database to search for a
string. That's a killer. It's like our old UseMod search before Jimbo wrote
an indexed one. A FULLTEXT index, together with MATCH instead
of LIKE, should give a major improvement.

Axel


hidders at uia

Feb 11, 2002, 2:00 AM

Post #2 of 2 (474 views)
Permalink
Re: Slow search queries [In reply to]

From: "Axel Boldt" <axel [at] uni-paderborn>
>
> I think in your recent updSchema.sql, you want the second cur_timestamp
> to be old_timestamp.

I've corrected it. Thanks for noticing.

-- Jan Hidders

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.