Excel中OLAP SSAS多维数据集数据透视表的替代方法

asj*_*son 6 sql-server excel mdx pivot-table

我使用Excel 2007数据透视表访问2005 SQL Server上的OLAP SSAS多维数据集,并发现刷新一些表大于10分钟.我的同事似乎认为这是一个悲伤的现实,但我想知道是否有其他我应该研究的选择.

我有一些想法:

显然,如果我可以升级服务器硬件,但我只是一个没有这种能力的分析师,所以我不认为硬件改进是一个很好的选择.迁移到更新的SQL服务器也是如此,我想这也会加速这个过程.

更新到更新版本的excel会加快这个过程吗?

我遇到了这个:http://olappivottableextend.codeplex.com/,它让我可以访问MDX,这显然是非常低效的(听起来像VBA的宏录音机给我),所以会改变MDX(我知道)一点点,它为数据透视表提供的查询似乎并不复杂)是一个选项吗?

是否可以选择在excel之外运行MDX?我可以编写查询,但我想它不会像数据透视表那样简单.

看起来OLAP Cubes在很多方面都是一个很好的解决方案,这些是一些处理相当多信息的大型数据透视表,但如果有一种合理的方法可以加快整个过程,我很想知道更多关于它的信息. .

谢谢你的想法.

Dar*_*son 8

There are many ways to access SSAS cubes, but it depends on what you are trying to achieve.

Excel tends to be used by business because

  • Its already installed
  • It is a familiar business tool
  • Easy to use
  • Requires no developer intervention

Other alternatives to Excel to access the cube include

  • SQL Server Analysis Services (management studio) via cube browser or mdx directly
  • SQL Server Reporting Services
  • Bespoke development (such as c#) utilising AdomdConnection
  • SQL Server (management studio) via OpenQuery

If you have been using Excel to access the cube so far, you will probably decide that none of the other tools quite cover your needs and you will end up sticking with it.

Assuming that Excel is the right tool for you, you should then move on to why is it slow. The list of possibilities (not including hardware/software) is long, but here are some;

  • It could be that it is external contention (to your project) on network/database/disk resource. The colume of data may be accumulating over time.
  • The cube may not be paritioned.
  • The questions you ask of it may be getting more complex.
  • The cube aggregations may not be utilised for your needs.
  • Cube partitioning may be missing
  • Cube structure may be inefficient as its supporting many-to-many relationships
  • User/query volume may have increased

To try to address the problem I would