> 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 a
> partitioned view which adds a level of complexity because of the
[quoted text clipped - 7 lines]
> so when you update your isdeleted flag to 1 you add ISDELETED to the
> column being full text indexed
Argh... You'll have to excuse me, I'm not really a DB designer myself 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
Simon Sabin - 02 Nov 2006 23:31 GMT
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.
Simon Sabin
SQL Server MVP
http://sqlblogcasts.com/blogs/simons
>> Hello Daniel,
>>
[quoted text clipped - 25 lines]
>> SQL Server MVP
>> http://sqlblogcasts.com/blogs/simons
Daniel Smedegaard Buus - 23 Nov 2006 13:14 GMT
> Hello Daniel,
>
[quoted text clipped - 8 lines]
> 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
[quoted text clipped - 29 lines]
>>> SQL Server MVP
>>> http://sqlblogcasts.com/blogs/simons

Signature
http://www.rhesusb.dk