Full Text Indexing has delay within Contains statement

  • Problem exist on an SQL Server 2005

    I have a table that consists of about 100 or more records. I created a full text index on it so that I could do a "Select * from Products where Contains(*,'searchKey')". The first time I issue the select statement against the index the result takes about 45 seconds and returns nothing. If I resubmit the select statement I receive my results within seconds. I will continue to receive results within seconds with each submitted statement. Now if I stop submitting select statements with the Contains for 10 minutes or more and I then start again, the system goes back to taking 45 seconds and returns nothing. I can get the system to do this over and over again with consistency.

    Thanks,

    Kneale

  • This was removed by the editor as SPAM

  • Did you get chance to run when you are waiting for 45 seconds?

    select * from sys.sysprocesses

    I feel that your query is blocked by something. Please let us know waittype, waittime and lastwaittype column value for the SPID which is running your select statement is running.

     

  • interesting....

    Could you please run below query in specific database

    sp_fulltext_service

    'verify_signature', 0

    After running above, restart Full Text service for that instance and run the query again

    Let us know the results...

    HTH

  • First of all thanks for your help.

    I ran the procedure as instructed and so far the test queries are running without any delay. I have a few more tests to do but I feel confident enough to move this back into production.

    sp_fulltext_service 'verify_signature', 0

    Thanks again,

    Kneale

  • Glad to know it helped.

    One quick question. Does this box has access to internet?

  • It is currently being blocked but if need be I can open it up in order to access the internet.

    Kneale

  • Can you please open it for the internet access. and revert back the query to

    sp_fulltext_service 'verify_signature', 1

     

    Let me know the results...

     

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply