How to automatic process SSAS cube using SQL Server agent job

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

 

wKioL1f3dlGQXfUWAAB3AuXTNEE722.png-wh_50

 

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.

wKioL1f3dmXAQ1MZAADIXrvWo-U159.png-wh_50

 

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

New Job

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.

wKiom1f3dofyszFcAAE_BWczjxk837.png-wh_50

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.

wKiom1f3dpWwKYRTAADX3-UMH6g644.png-wh_50

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

wKiom1f3dtDhUZyLAACj79eL7Ko784.png-wh_50

2 create new proxy account for cube process job

wKioL1f3dt7DWMqAAAA5ZGlQnbQ232.png-wh_50

 

wKiom1f3dvWj3tScAACYGbHXJSU360.png-wh_50

 

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

wKioL1f3dwKwEW_6AAF0bOYz2J0320.png-wh_50

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章