문제

MSSQL 전체 텍스트 인덱스를 재건해야합니다.
문제는 - 일이 언제 완료되었는지 정확히 알아야한다는 것입니다. 그러므로 - 단지 전화 :

ALTER FULLTEXT CATALOG fooCatalog
REBUILD WITH ACCENT_SENSITIVITY = OFF  

작동하지 않거나 약간 잘못된 일을하고 있습니다. :/

어떤 아이디어?

도움이 되었습니까?

해결책

쿼리를 통해 전체 텍스트 인덱싱 상태를 결정할 수 있습니다. 인덱싱 속성 이와 같이:

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

다른 팁

Magnus의 답변에 대해서는 아직 언급 할 수 없으므로 (평판 부족) 여기에 추가하겠습니다. 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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top