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

Partitioning indexed views Expand / Collapse
Author
Message
Posted Sunday, February 27, 2011 11:28 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, November 21, 2013 12:42 AM
Points: 152, Visits: 198
Hi guys,

I am thinking to create some indexed views as I have some of very complex queries and I am not able to optimize them further. I have already created some indexed views and getting much improved performance. But I am little bit afraid that what would happen when my database size will increase, as indexed views are nothing but object like tables which occupy space in DB and whenever DML operations perform on the participant tables it gets updated (rows get updated/deleted/inserted).

Can we partition the indexed views in same fashion as we can do with tables?

Kindly help me out?

Regards,
AJ
Post #1070193
Posted Monday, February 28, 2011 10:00 AM
Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Thursday, November 15, 2012 9:05 PM
Points: 72, Visits: 123
I think this page may answer your question:
[url=http://technet.microsoft.com/en-us/library/bb964715.aspx][/url]

Specifically:
Defining indexed views on partitioned data can further increase the speed and efficiency of your queries. These defined views are called partition-aligned indexed views.
An indexed view is partition-aligned with the table it references if the following conditions are true:
The partition functions of the indexes of the indexed view and table:
Define the same number of partitions.
Define the same boundary values for partitions.
The arguments of the partition functions must be the same column.

-Bob
Post #1070642
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse