已答复 Indexed Views and Federations

  • 2011年12月26日 17:45
     
     
    Are there plans to support Indexed Views in federated databases in the future? 

全部回复

  • 2011年12月27日 2:04
    版主
     
     已答复

    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.
  • 2012年4月30日 17:07
     
     
    Can anyone explain why indexed views cannot work with federations??
  • 2012年6月11日 3:45
     
     

    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.

  • 2012年6月12日 0:42
     
     

    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.

  • 2012年6月12日 1:47
     
     

    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.

  • 2012年6月13日 12:36
     
     
    "Edge cases" are tomorrows scramble to implement mainstream feature.