Indexed VIEWs

  • Hello,

    Is there any point to having a unique clustered index on a VIEW if the one table that it is schemabound to has no indexes on it?

    Thank you for your help.

    CSDunn

  • I'm looking at some information in BOL that addresses 'Resolving Indexes on Views'. If you have any ideas on this, please share.

    Thanks again!

    CSDunn

  • Why do you think you need an indexed view in the first place?

  • Yes, there is value to having an index on a view even if the underlying object has no index on it.  The view is materialized meaning anything using that view will inherently use the index on it.  Instead of being logical it has data structure to it.

    Tom

  • Thanks for your help. I'm trying this approach as I explore ways to more efficiently query a table that has eighty two fields, seventeen million records, no Primary Key, and no other indexes. To my knowledge, the table is not partitioned.

    CSDunn

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply