Re: Conditional full-text indexing possible in 2000?
- From: Daniel Smedegaard Buus <danielbuus@xxxxxxxxx>
- Date: Thu, 23 Nov 2006 14:15:07 +0100
Simon Sabin wrote:
Hello Daniel,
Data is stored in a table
A view is a way of representing the joining of multiple tables i.e. a
piece of SQL using a name, a shorthand. The engine effectivley puts the
SQL from your view into the SQL it isbeing used. in.
An indexed view actually stores the data that the view would return, this
way the data can be returned from this set rather than all the base
tables. That means your data that is returned by an indexed view will be
stored in the indexed view AND the original table.
Hi Simon, so so sorry for not replying earlier!
Thanks for the explanation. It sounds like a great way to seriously optimize
your DB for specific uses at the expense of storage space (which is
plentiful anyway ;). We will do this most definitely!
Thanks :)
Daniel
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
Simon Sabin wrote:
Hello Daniel,Hi Simon, thanks for writing :)
Indexed views will store a complete copy of the data.Is this different from "regular" full-text indexes?
Standard edition doesn't do partitioning you will need to use aArgh... You'll have to excuse me, I'm not really a DB designer myself
partitioned view which adds a level of complexity because of the
restrictions on their design. You could add the extra column as a
token so that you don't get those rows back from the full text search
i.e.
select *
from containstable (yourtable, yourcolumn,'(IWantThisValue AND
ThisValue)
AND NOT ISDELETED'
so when you update your isdeleted flag to 1 you add ISDELETED to the
column being full text indexed
in general, and definitely not MS SQL savvy in particular, I'm merely
going to use this DB in PHP, so my knowledge is somewhat reduced...
I'm not quite sure what you're telling me? Sorry :(
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
--
http://www.rhesusb.dk
.
- References:
- Re: Conditional full-text indexing possible in 2000?
- From: Daniel Smedegaard Buus
- Re: Conditional full-text indexing possible in 2000?
- From: Simon Sabin
- Re: Conditional full-text indexing possible in 2000?
- Prev by Date: Re: new index, catalog empty
- Next by Date: Re: new index, catalog empty
- Previous by thread: Re: Conditional full-text indexing possible in 2000?
- Next by thread: Re: FTS Performance in SQL 2005
- Index(es):
Relevant Pages
|