FTS query performance on SQL 2005
- From: "Bahama Joe" <someone@xxxxxxxxxxxxx>
- Date: Sun, 29 Oct 2006 02:52:01 -0500
I am seeing some query performance issues on a full-text search on SQL 2005.
My table has about 20 million rows, containing an integer primary key and a
field of type text. This is running on a dual core Xeon 2.8 Ghz processor, 2
GB RAM, 15k RPM drives in a RAID 5 configuration.
My query looks like this:
select ItemID FROM Item WHERE CONTAINS(ItemText, 'there')
which returns about 40,000 rows, but the query takes over 2 minutes! Is that
normal performance for this beefy server for such a simple query? If I add
"TOP 20" after the SELECT, the query takes under 1 second.
I have checked the hardware and I can't seem to find constraints, either in
CPU, memory or disk. Any ideas why that query takes over 2 minutes?
Thanks.
.
- Follow-Ups:
- Re: FTS query performance on SQL 2005
- From: Hilary Cotter
- Re: FTS query performance on SQL 2005
- Prev by Date: Re: iterate/loop indexing services files
- Next by Date: Re: FTS query performance on SQL 2005
- Previous by thread: Re: iterate/loop indexing services files
- Next by thread: Re: FTS query performance on SQL 2005
- Index(es):
Relevant Pages
|