Timeout with full text index
From: ENIZIN (ENIZIN_at_discussions.microsoft.com)
Date: 10/05/04
- Next message: Joe Celko: "Re: Sharing a WHERE Clause and Parameters Between Multiple Stored Procedures"
- Previous message: Tibor Karaszi: "Re: order of columns"
- Next in thread: Mal: "RE: Timeout with full text index"
- Reply: Mal: "RE: Timeout with full text index"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 5 Oct 2004 08:11:04 -0700
I am new to FTIs and I'm having a problem searching a text field in my
database. I have a table that contains gene sequences that can be extremely
lengthy (30K chars) so that is why I am using a text field. With that being
said, I need to search this table using a portion of a full sequence which,
can also be very large. Although I trim it to use a varchar(8000) since this
should give me what I'm looking for. My problem is I get a timeout error very
regularly when searching by sequence. I tried putting a FTI on my table that
contains the text field and still nothing has changed. Also, I'm not sure if
I should use PATINDEX, CHARINDEX, or a LIKE statement to search this data?
Neither seem to be better than the others that I can see from my testing in
this scenario.
Thanks in advance.
- Next message: Joe Celko: "Re: Sharing a WHERE Clause and Parameters Between Multiple Stored Procedures"
- Previous message: Tibor Karaszi: "Re: order of columns"
- Next in thread: Mal: "RE: Timeout with full text index"
- Reply: Mal: "RE: Timeout with full text index"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|