SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Partitioning indexed views


Partitioning indexed views

Author
Message
AJ07
AJ07
SSC Veteran
SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)SSC Veteran (210 reputation)

Group: General Forum Members
Points: 210 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
bobbalsman
bobbalsman
SSC Journeyman
SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)SSC Journeyman (76 reputation)

Group: General Forum Members
Points: 76 Visits: 156
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search