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 / March 2005

Tip: Looking for answers? Try searching our database.

Fulltext on nvarchar

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
kasperxb - 23 Mar 2005 10:57 GMT
Hi

I would like to know if solution a is faster than b:

a) Fulltext index on theese columns x nvarchar(250), y nvarchar(250),
z nvarhar(4000)

b) Fulltext index on columns x, y and splitting up z to a relational
table with nvarchar(200) bits of the existing nvarchar(4000) field.

The rowcount is about 250-500 thousands rows.

THX Kasper
Hilary Cotter - 23 Mar 2005 13:08 GMT
that depends on how you are querying. If you are always query columns
individually (or columns x and y together or z, but never x,y,z ) you will
benefit from the split. Also if column z is largely empty you will get
little benefit. The more data in column z the better the benefit by
splitting it off into another table.

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> Hi
>
[quoted text clipped - 9 lines]
>
> THX Kasper
John Kane - 24 Mar 2005 03:26 GMT
THX Kasper,
Unless Full Text Search queries are the MAJOR functionality that these
tables are used for, i.e.., there are no other SQL Server queries, I would
not base your decision to split the table based sole upon FTS. For SQL FT
Indexing and FT Search queries, the primary factor is the number of rows in
the table, and unless your splitting the table into more than one table
reduces the number of rows, I would not recommend splitting the tables. Many
years ago, Microsoft ran a series of performance tests matrix on the same
data with a "tall" or many rows & "narrow" or small amount of text  vs. a
"wide" or a  large amount of text and "short" or few number of rows. The
overall conclusion was that FTS performed better with short, narrow tables,
and the most significant factor was the number of rows. I'd highly recommend
that you only consider splitting the tables, based upon other criteria,
unless splitting the tables reduces the overall number of rows that are FT
Indexed.

Regards,
John
Signature

SQL Full Text Search Blog
http://spaces.msn.com/members/jtkane/

> Hi
>
[quoted text clipped - 9 lines]
>
> THX Kasper
 
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.