SQL Server 2008 iFTS Lessons Learned

, 2009-11-17

We have been using SQL Server 2008 Integrated Full Text Search (iFTS) in Production at NewsGator for a little over a year, with very good results. We were able to replace a 3rd party solution that required a lot of attention, maintenance, and extra hardware, with a very simple iFTS implementation that is much easier to operate, and gives better performance on less hardware.

Of course, nothing is perfect, including iFTS. One thing I have learned is that you need to monitor the pending items count on your full text indexes when you have Auto Change Tracking enabled to make sure that everything is running properly. Otherwise, once in a while, you will find that new items are not being added as you expect.

Periodically, you should check the TableFulltextPendingChanges property to see if you see a very high number.

-- Find out how many changes are pending
SELECT OBJECTPROPERTY(OBJECT_ID('CurrentPostFullTextMonday'), 'TableFulltextPendingChanges') 
AS [Monday Full Text Pending Changes];

If you see a number over a few hundred when you run the query above, you may need to start a manual update of the full text index, like you see in the first command below:

-- Start a Manual Update of the Full Text Index

A Manual Update of the index can cause a lot of memory and I/O pressure, as the pending changes are incorporated into the full text index.
-- Resume population in case of an error during manual population

I call this process “giving iFTS a good kick”, and fortunately, I don’t have to do it very often.





Related content

Database Mirroring FAQ: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup?

Question: Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? This question was sent to me via email. My reply follows. Can a 2008 SQL instance be used as the witness for a 2005 database mirroring setup? Databases to be mirrored are currently running on 2005 SQL instances but will be upgraded to 2008 SQL in the near future.


1,567 reads

Networking - Part 4

You may want to read Part 1 , Part 2 , and Part 3 before continuing. This time around I'd like to talk about social networking. We'll start with social networking. Facebook, MySpace, and Twitter are all good examples of using technology to let...


1,530 reads

Speaking at Community Events - More Thoughts

Last week I posted Speaking at Community Events - Time to Raise the Bar?, a first cut at talking about to what degree we should require experience for speakers at events like SQLSaturday as well as when it might be appropriate to add additional focus/limitations on the presentations that are accepted. I've got a few more thoughts on the topic this week, and I look forward to your comments.


360 reads