フルテキストインデックスを再構築する方法?
-
11-09-2019 - |
質問
MSSQLのフルテキストインデックスを再構築する必要性を手に入れた。
問題がある - 私は仕事が行われたときに正確に知る必要があります。したがって、 - ちょうど呼び出します:
ALTER FULLTEXT CATALOG fooCatalog
REBUILD WITH ACCENT_SENSITIVITY = OFF
動作しないか、私は少し間違って何かをやっています。 :/
任意のアイデア?
解決
あなたは/ <インデックスのプロパティを照会することによって、フルテキストインデックスの状態を判断することができますA>このような:
SELECT FULLTEXTCATALOGPROPERTY('IndexingCatalog', 'PopulateStatus') AS Status
表全文移入ステータス
Displays the population status of the full-text indexed table. The possible values are as follows: 0 = Idle. 1 = Full population is in progress. 2 = Incremental population is in progress. 3 = Propagation of tracked changes is in progress. 4 = Background update index is in progress, such as automatic change
のトラッキングます。
5 = Full-text indexing is throttled or pause
他のヒント
私はまだマグヌス答えにコメントすることはできませんので、
(評判の欠如)、私はそれをここに追加されます。私は<のhref =「http://msdn.microsoft.com/en-us/library/ms190370%28v=sql.120%29.aspx」のrel = "nofollowをに従って、MSDN上の情報の競合があることがわかりました「>このMSDNのリンクを。私が参照していますリンクによると、PopulateStatusは、以下に示す10個の値があります:
0 = Idle. 1 = Full population in progress 2 = Paused 3 = Throttled 4 = Recovering 5 = Shutdown 6 = Incremental population in progress 7 = Building index 8 = Disk is full. Paused. 9 = Change tracking
SELECT name, case FULLTEXTCATALOGPROPERTY(name, 'PopulateStatus')
when 0 then 'Idle'
when 1 then ' Full population in progress'
when 2 then ' Paused'
when 3 then ' Throttled'
when 4 then ' Recovering'
when 5 then ' Shutdown'
when 6 then ' Incremental population in progress'
when 7 then ' Building index'
when 8 then ' Disk is full. Paused.'
when 9 then ' Change tracking' end AS Status
from sys.fulltext_catalogs
所属していません StackOverflow