Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Full-Text Search / May 2007

Tip: Looking for answers? Try searching our database.

Size of fulltext catalog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paola - 23 May 2007 10:24 GMT
Hi!
I'm using fulltext indexes and I can't understand what happens in the file
system.

This is my test:

1. I create the catalog:
CREATE FULLTEXT CATALOG FTC02_slave
ON FILEGROUP FG01_SLAVE
WITH ACCENT_SENSITIVITY=OFF

and SQL Server creates these folders:
\FTC02_slave
\FTC02_slave\MssearchCatalogDir

2. I create three fulltext indexes on three different tables (in the same
new catalog).
In \MssearchCatalogDir are created:
- one file .ci
- one file .dir
- one file .wid
- one file .wsb
with a total size of 54,9Mb

3. I drop the fulltext indexes:
in \MssearchCatalogDir there are no changes (total size = 54,9Mb).

4. I re-create the fulltext indexes (the same indexes, on the same tables,
on the same data). In \MssearchCatalogDir the file .ci has a double dimension
and the total size is 102Mb.

5. I execute: ALTER FULLTEXT CATALOG FTC02_slave REORGANIZE but there are no
changes.

6. I repeat step 3 and step 4 and now the total size di 152Mb.

7. Ad this point I drop e re-create the fulltext catalog and indexes and the
total size
in \MssearchCatalogDir is 54,9Mb.

Why the size doubles everytime I recreate the indexes? (the query
performance - with CONTAINS or COINTAINSTABLE- decreases everytime...)

I have to recreate the catalog everytime?

Please could some one help me?
Thank you in advance!

Paola
Hilary Cotter - 23 May 2007 14:03 GMT
The catalog files are basically configuration files. Some of the files
contains words or tokens which were discovered in your last population.
These are retained despite index drops. A reorganization will merge index
files - the files ending or beginning in ci.

> Hi!
> I'm using fulltext indexes and I can't understand what happens in the file
[quoted text clipped - 48 lines]
>
> Paola
paola - 23 May 2007 15:01 GMT
Ok,
but why the .ci file grows everytime I drop and recreate the same index (on
the same data)?

I create the index (the first time) and it's 50Mb, then I drop and recreate
the index and it bacomes 100Mb, then if I drop and recreate it another time,
it becomes 150Mb....  and the query performance decreases...

I have to recreate the catalog everytime?

Thanks!
Paola

> The catalog files are basically configuration files. Some of the files
> contains words or tokens which were discovered in your last population.
[quoted text clipped - 53 lines]
> >
> > Paola
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.