Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Fulltext search and date column


Fulltext search and date column

Author
Message
kathy-481885
kathy-481885
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
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.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search