Full-Text Search Not Updating

  • Hi
    Having issues with FTS.
    Installed 2017 on Server, RTM- CU9, Os is Windows Server 2016.
    The issue is that FTS is not updating.
    Have checked the log but nothing there indicates an issue.
    Pending changes just build up.
    Restarting the FTS does not help, neither does applying track changes  or incremental population.
    Only repopulates after a SQL Engine restart.
    This is a primary node on High Availability.
    Any assistance would be appreciated.

    Regards
    brad

  • so, what does the latest crawl log at the very end state why it didn't finish yet?

     I have seen cases where AAGs with FTS on DBs did not finish population when failover during that time happened.
    Last but not least: Did you try to force a full population for all FTS Indexes which haven't updated in a while by themselves yet without restarting SQL Server Engines?

  • Hi
    Thanx for response.
    When viewing the SQLFT logs i get 3 files around the time of the last incident.
    The one is completely blank.
    The other 2 have Informational information only:
    2019-03-05 05:35:13.52 spid480s 
    Informational: Full-text Auto population completed for table or indexed view '[DatabaseName].[dbo].[TableName]' (table or indexed view ID '1870629707', database ID '7'). Number of documents processed: 1. Number of documents failed: 0. Number of documents that will be retried: 0.
    There was no indication of when it stopped 

    regards
    brad

  • Hi
    After looking at the other logs i see the issue seems to be related to HA.
    The fail over seemed to have been initiated but not completed.
    It fell back to the "original" primary.
    This seemed to be the reason the Full Text Search Index did not update.
    As i said above, the issue was resolved only when restarting the SQL engine.
    Is there another way, perhaps?

    Regards
    brad

  • Yes, the other way is force a full population of the full text index, just make sure there will be no more (planned) failovers before the FTS Crawl finishes.

    I once encountered a 10 TB Table almost completely covered by FTS. Once we started the full population of the FT Index it took 18 hours to complete (it was an AFA, so storage on this one for once was not the culprint of performance). During that time expect a lot of micro blockings on the Tables which are covered by FTS. Ideally this is something to be done during weekends. If FTS is quite important for you, make yourself some FTS Maintenance Jobs for at least once a month (if time constraints permit) full population and depending on your maintenance window between daily and weekly update populations.

    You will not see any blocking / deadlock messages by the way from FTS full population, your application might just slow down to completely unresponsive on those tables. If you run a SQL Trace you can see those micro blockings appearing.

  • Hi DinoRS

    Thanx so much for this information.
    It helped me immensely.

    Regards
    brad

Viewing 6 posts - 1 through 5 (of 5 total)

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