Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

If there exist a index on the table, and we then make a
view on that table (include the indexed column from base
table) than why do we require indexing on view?Doesnt it
create an overhead?

Answer Posted / sql2000

Lets start on what a view is, view is a name given to a
select statement. The select statement is executed when the
view name is called.

When you create index on the view the select statement is
materialized into a table and we have the contents of the
select statement as a table. This makes it faster at times
to run select statements on rather than the actual tables.
Hence it makes sense to create indexes on views.

Let me know if anyone has a better point of view on
this. :)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create an index on an existing table in ms sql server?

959


What are the properties of the transaction?

991


What is optimistic concurrency?

1016


Explain important index characteristics?

1019


What is indexed view?

965


is there a column to which a default can't be bound? : Sql server database administration

995


What is the difference between system objects and user objects?

1141


What happens when transaction log is full?

908


How to run queries with sql server management studio express?

1070


What are diverse clauses that form a part of sql?

1052


How to copy the tables, schema and views from one sql server to another?

1028


Why do we need different type of parameter?

1039


What is difference between getdate and sysdatetime in sql server 2008?

1040


State a few properties of relational databases?

1110


List the ways in which dynamic sql can be executed?

1002