Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Why is this population taking so long?

 
   Database Help (Home) -> Full Text RSS
Next:  Debugging  
Author Message
Morgan

External


Since: Oct 01, 2008
Posts: 1



(Msg. 1) Posted: Wed Oct 01, 2008 11:37 am
Post subject: Why is this population taking so long?
Archived from groups: microsoft>public>sqlserver>fulltext (more info?)

I have a table full of part numbers VARCHAR(60) with about 3 million rows in
it. How long should the full index be taking? I've had to stop it after 5-6
hours because it's locking up the whole server.

Is there something I'm doing wrong?

 >> Stay informed about: Why is this population taking so long? 
Back to top
Login to vote
Bernard de St-Simon

External


Since: Oct 12, 2008
Posts: 1



(Msg. 2) Posted: Sun Oct 12, 2008 7:44 am
Post subject: RE: Why is this population taking so long? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"sql411@nospam.com" wrote:

> what version of SQL Server are you running?
> I would check to see if you are having any errors:
>
> SELECT DB_ID(), * FROM sys.fulltext_catalogs
>
> Then you can go to your log directory (something like this: C:\Program
> Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG)
> and look for a file like SQLFT 000(db_id from above) + 000 (number of
> ftcatalog from above).log
>
> To see if it is moving along you can run the following and see the changes:
> select [table]=o.name
> , c.fulltext_catalog_id
> , c.name
> , i.rowcnt
> , missing=i.rowcnt-cast(objectpropertyex ( o.object_id ,
> 'TableFulltextItemCount' ) as bigint)
> , [%]= (cast(objectpropertyex ( o.object_id , 'TableFulltextItemCount' )
> as bigint)*100) / i.rowcnt
> , [status]=case objectpropertyex ( o.object_id ,
> 'TableFulltextPopulateStatus' )
> when 0 then 'Idle'
> when 1 then 'Full population is in progress'
> when 2 then 'Incremental population is in progress'
> when 3 then 'Propagation of tracked changes is in progress'
> when 4 then 'Background update index is in progress, such as autochange
> tracking'
> when 5 then 'Full-text indexing is throttled or paused'
> else 'UNKNOWN Status'
> end
> , [PopulateStatus Desc]= case FULLTEXTCATALOGPROPERTY( c.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'
> else 'UNKNOWN Status'
> end
> , objectpropertyex ( o.object_id , 'TableFulltextCatalogId'
> ) as TableFulltextCatalogId
> , objectpropertyex ( o.object_id , 'TableFulltextFailCount'
> ) as TableFulltextFailCount
> , objectpropertyex ( o.object_id , 'TableFullTextBackgroundUpdateIndexOn'
> ) as TableFullTextBackgroundUpdateIndexOn
> , objectpropertyex ( o.object_id , 'TableFulltextDocsProcessed'
> ) as TableFulltextDocsProcessed
> , objectpropertyex ( o.object_id , 'TableFulltextItemCount'
> ) as TableFulltextItemCount
> , objectpropertyex ( o.object_id , 'TableFulltextPendingChanges'
> ) as TableFulltextPendingChanges
> , objectpropertyex ( o.object_id , 'TableFulltextPopulateStatus'
> ) as TableFulltextPopulateStatus
> , dateadd(ss, FULLTEXTCATALOGPROPERTY( c.name , 'PopulateCompletionAge' ),
> '1990/01/01' ) as Age
> , FULLTEXTCATALOGPROPERTY( c.name , 'MergeStatus' ) as MergeStatus
> , FULLTEXTCATALOGPROPERTY( c.name , 'IndexSize ' ) as IndexSize
> , FULLTEXTCATALOGPROPERTY( c.name , 'ItemCount' ) as ItemCount
> , FULLTEXTCATALOGPROPERTY( c.name , 'PopulateStatus'
> ) as PopulateStatus
> , FULLTEXTCATALOGPROPERTY( c.name , 'UniqueKeyCount' ) as
> UniqueKeyCount
> , FULLTEXTCATALOGPROPERTY( c.name , 'AccentSensitivity'
> ) as AccentSensitivity
>
> from sys.objects o (nolock)
> join sysindexes i (nolock) on o.object_id = i.id and i.indid = 1
> join sys.fulltext_index_catalog_usages u (nolock) on o.object_id =
> u.object_id
> join sys.fulltext_catalogs c (nolock) on u.fulltext_catalog_id =
> c.fulltext_catalog_id
>
>
> hth,
> robert towne
>
>
> "Morgan" wrote:
>
> > I have a table full of part numbers VARCHAR(60) with about 3 million rows in
> > it. How long should the full index be taking? I've had to stop it after 5-6
> > hours because it's locking up the whole server.
> >
> > Is there something I'm doing wrong?



je ne comprends pas ces 2 tables:
join sys.fulltext_index_catalog_usages et sys.fulltext_catalogs
Pour la seconde, il doit s'agir de sysfulltextcatalogs, mais la première ???

 >> Stay informed about: Why is this population taking so long? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Error message on Full Population - Hello, I'm running SQL Server 2000 Developers Edition on my Windows XP workstation (SP2) I have configured Full text indexing on 1 table in my database. Everything worked fine untill yesterday. Since yesterday I receive the following error message whe...

funny search results with 'contains' clause - hi, it is really funny how ft search works: it seems to depend highly on what could be indexed, but it still doesn't follow a determined order. consider the following queries: select name from person where contains(name, 'hammer') select name from..

Insert Into Without Log - Hi, Can I create an Insert Into Query without sql server registration log? Thx.

SQL 2K : custom word breaker ? - Hi, Is it possible to create a custom word breaker for SQLServer fulltext.... I use french word breaker, but for some specific tables, it's not exactly what I want... Seems such a dream will be feasible in SQL 2K5. Please anyone who knows, tell me the....

restore to another server of db with FT catalogs - If we restore a backup copy of a production db having FT catalogs onto a laptop running SQL Server Developer version, the restored db will contain references to FT catalogs whose underlying system files are not yet present on the laptop (because backup..
   Database Help (Home) -> Full Text All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]