Answered Indexed Views and Federations

  • Monday, December 26, 2011 5:45 PM
     
     
    Are there plans to support Indexed Views in federated databases in the future? 

All Replies

  • Tuesday, December 27, 2011 2:04 AM
    Moderator
     
     Answered

    Hi BrianMcKinley,

    Currently, indexed views are not supported in SQL Azure federation. I would suggest you submit a feedback about it on the Connect site:

    http://connect.microsoft.com/sql


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Get or Request Code Sample from Microsoft
    If you have any feedback, please tell us.
    • Marked As Answer by BrianMcKinley Tuesday, December 27, 2011 4:12 AM
    •  
  • Monday, April 30, 2012 5:07 PM
     
     
    Can anyone explain why indexed views cannot work with federations??
  • Monday, June 11, 2012 3:45 AM
     
     

    I would imagine this is because the overhead in working out when to recompute indexes on the views would be considerable and complicated (it already is just with normal databases).

    It's a terrible pity because I'd love to use SQL Azure for data warehouse storage and take advantage of ROLAP aggregations (which are indexed views).  Federation is a perfect fit for us being able to scale out our data too - too bad eh.

  • Tuesday, June 12, 2012 12:42 AM
     
     

    I'd prefer it to error if it couldn't (easily) work out how and when to recompute indexed views.

    I plan to use compound keys so it would be rather simple to calculate the indexed views (as they still all be local to the federation).

    Rather annoying and it means that I won't be using Azure.

  • Tuesday, June 12, 2012 1:47 AM
     
     

    I agree - this feature would make SQL Azure a serious contender for highly scalable data warehousing in the cloud.  I suppose it still is if you are only using MOLAP or ROLAP without aggregations, but for us, we definitely need indexed views for aggregations.

    The sad part will be that we are probably edge cases and this feature will never be important enough for Microsoft to spend the time implementing.

  • Wednesday, June 13, 2012 12:36 PM
     
     
    "Edge cases" are tomorrows scramble to implement mainstream feature.