Re: how to optimize our fulltext search
- From: "John Kane" <jt-kane@xxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 21:25:55 -0700
ChemInformatic,
Since you're using SQL Server 2000 FTS with a FT-enabled table of >10
million rows, I'd highly recommend that you use CONTAINSTABLE or
FREETEXTABLE and limit the results to 2000 via the Top_N_Rank parameter. If
you want to limit the time used within 5s, then you need to limit the
reading of the FT Catalog and the resultset coming back via Top_N_by_Rank.
This parameter limits the results to the Top N (some number) by RANK, and
improve performance by restricting the full read of the FT Catalog. For info
on the Top_N_Rank, see KB Article 240833 (Q240833) "FIX: Full-Text Search
Performance Improved via Support for TOP" at
http://support.microsoft.com//default.aspx?scid=kb;EN-US;240833
I'd also highly recommend that consider upgrading to SQL Server 2005 FTS as
soon as possible (RTM is scheduled for Nov. 2005)
SQL Server 2005 Full-Text Search: Internals and Enhancements
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/sql2005ftsearch.asp
SQL Server 2005 - 7x faster than SQL 2000 Full-Text Indexing
http://spaces.msn.com/members/jtkane/Blog/cns!1pWDBCiDX1uvH5ATJmNCVLPQ!433.entry
Regards,
John
--
SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/
"chemInformatic" <cdfuwu@xxxxxxxxxxx> wrote in message
news:1130294052.731749.135960@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> configuration
> hardware: cpu 4*1.5G RAM 2G
> software: windows 2000 server,sql server 2000
> data: records >40 million ,spaceused > 14G
> fulltext variables: Number of items:>10 million,Number of Keys >1
> million ,spaceused of
>
> Catalogue >500MB
> Note:the type of the column indexed is ntext. the contents of records
> are some special defined
>
> strings, such as "alksdj jklasj ssfgs".
>
> the test results:
> no records:time used less than 1s
> records less than 100: time used about 1s
> records more than 500:time used more than 3s(I used the top 100 terms.
> If not ,the time used will be more absolutely.
> if the records hited are more than 10 thousand,it will cost more than
> 30s or more.
>
>
> i want to limit the time used within 5s. Can everybody give me some
> suggestions. Thanks very much:)
>
.
- References:
- how to optimize our fulltext search
- From: chemInformatic
- how to optimize our fulltext search
- Prev by Date: how to optimize our fulltext search
- Next by Date: Fulltext options grayed out
- Previous by thread: how to optimize our fulltext search
- Next by thread: Fulltext options grayed out
- Index(es):
Relevant Pages
|