SSAS 将现有的多维数据集从一个环境添加到另一个环境 [英] SSAS adding exisiting cube from one environment to another

查看:32
本文介绍了SSAS 将现有的多维数据集从一个环境添加到另一个环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将生产环境中的多维数据集添加到开发环境中.Dev 有额外的多维数据集,想知道是否有办法从 prod 中添加额外的多维数据集,而无需覆盖开发环境中的多维数据集.

I would like to add cubes that are in production environment to Dev Environment. Dev has additional cubes and would like to know if there is a way to add additional cubes from prod without overwriting the cubes in dev environment.

推荐答案

您有几个选择...

  1. 备份生产 SSAS 数据库并恢复它.
  2. 从生产多维数据集生成和 XMLA 脚本并在开发人员上运行它.
  3. 使用 Management Studio 中的同步数据向导(此处需要注意的是,在开发环境中运行 SSAS 服务的帐户必须有权访问生产环境中的 SSAS 数据库).
  4. 将多维数据集导入 BIDS/SSDT 项目并将它们部署到 dev.
  5. Analysis Services 部署向导

这里是 TechNet 的链接,解释了您的所有选项.

Here is a link to TechNet that explains all of your options.

这里是对第一个和第四个选项的一些解释.

Here is a bit of explanation for the first and fourth option.

1) 获取(或要求您的 dba 获取)prod 多维数据集的备份并将它们恢复到您的开发环境.可以在此处找到有关如何执行此操作的信息.如果这样做,您将还原整个 SSAS 数据库而不是特定的多维数据集.因此,您的开发服务器上最终将拥有 2 个 SSAS 数据库.

1) Take (or ask your dba to take) a backup of the prod cubes and restore them to your dev environment. Information on how to do this can be found here. If you do this, you will be restoring an entire SSAS database rather than specific cubes. So you will end up with 2 SSAS databases on your dev server.

4) 通过创建一个新项目并选择从服务器导入,在 SSDT 中打开生产立方体.然后更改项目设置以将该多维数据集部署到开发服务器.输入生产服务器和数据库的信息.

4) Open the production cubes in SSDT by creating a new project and choosing import from server. Then change the project settings to deploy that cube to the dev server. Enter the info for the production server and database.

在项目中拥有 prod SSAS 数据库后,更改项目属性,使目标服务器成为开发服务器并部署多维数据集.

Once you have the prod SSAS database in your project, change the Project properties so the target server is the dev server and deploy the cubes.

这篇关于SSAS 将现有的多维数据集从一个环境添加到另一个环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆