Partitioning indexed views

  • 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

  • I think this page may answer your question:

    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

Viewing 2 posts - 1 through 1 (of 1 total)

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