Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Fulltext search and date column Expand / Collapse
Author
Message
Posted Thursday, March 31, 2011 8:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, May 23, 2011 10:18 AM
Points: 1, Visits: 5
I noticed the date column has a huge impact on my query.
to my surprise and newer data take more than a minute to return a result like date >'04-02-2011' however any older date like 1999 up to 2010 returns result in less than a second.

why?

I set up a FTS catalogue for a text column and my query includes multiple AND conditions.

Everything is great except when I search for more recent dates. Example

1- dbo.forum_messages.MDate >'2011-02-01' this take over 1:20 minutes to return the result

2- dbo.forum_messages.MDate >'2011-02-01' or dbo.forum_messages.MDate <'2000'
this takes less than a second to return the result

Can someone explain to me why?

Many thanks in advance.
Post #1086900
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse