Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Regarding indexed views Expand / Collapse
Author
Message
Posted Tuesday, October 23, 2012 12:56 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, May 15, 2014 2:05 PM
Points: 73, Visits: 475
Hi all,
where sql server indexed view data is stored.
for example in oracle materialized view, whenever we create materialized view one table will be created with mv name there the select statement data is stored.
like that where the indexed view data is stored in sql server...

thanks and regards
Sathiyan
Post #1375859
Posted Tuesday, October 23, 2012 5:37 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 6:30 PM
Points: 15,518, Visits: 27,900
A materialized view in SQL Server is a clustered index. This means that the data that defines the view will be stored within the view at the leaf level of the b-tree that defines the clustered index.

----------------------------------------------------
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood..." Theodore Roosevelt
The Scary DBA
Author of: SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1375975
Posted Tuesday, October 23, 2012 5:41 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 8:33 AM
Points: 2,616, Visits: 4,720
After a unique clustered index is created on the view, the view's result set is materialized immediately and persisted in physical storage in the database, saving the overhead of performing this costly operation at execution time.


You can check the link below for your answers
http://msdn.microsoft.com/en-us/library/dd171921%28v=sql.100%29.aspx



Kingston Dhasian

How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1375978
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse