码迷,mamicode.com
首页 > 数据库 > 详细

How to automatic process SSAS cube using SQL Server agent job

时间:2016-10-08 02:42:43      阅读:267      评论:0      收藏:0      [点我收藏+]

标签:process   sql   ssas   agent   cube   

How to automatic process SSAS cube using SQL Server agent job

 

After connecting to the Analysis Server, right click on the Cube and select Process

 

技术分享

 

When the process window opens, click the dropdown by Script and select Script Action to Clipboard. Then click Cancel so you will not start processing the Cube immediately.

技术分享

 

Now open a job or create a new Job in SQL Server agent.

技术分享

In the Job window, click on Steps and New to open the New Job Step window. Give the step a name and change the Type to SQL Server Analysis Services Command. Enter the Server and Paste the contents of the Clipboard from earlier into the Command window.

技术分享

Click OK twice and the Job will now include the step to execute the pasted script which will process the Cube.

In the Job window, click on Schedules, then you can schedule you SSAS cube process job.

技术分享

Dive for more about automatic process SSAS cube using SQL Server agent job

You may have errors using SQL Server Job for your remote SSAS cube server,

Create Proxy account for Job processing

1, Create credentials

技术分享

2 create new proxy account for cube process job

技术分享

 

技术分享

 

After that you can create a new job for remote SSAS cube server in your local server agent if you add your credentials as admin for your remote SSAS cube server

技术分享

本文出自 “傲雪星痕” 博客,谢绝转载!

How to automatic process SSAS cube using SQL Server agent job

标签:process   sql   ssas   agent   cube   

原文地址:http://willson.blog.51cto.com/2753310/1859129

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!