How to automatic process SSAS cube using SQL Server agent job

來源:互聯網
上載者:User

標籤:process   sql   ssas   agent   cube   

How to automatic process SSAS cube using SQL Server agentjob

 

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

 

650) this.width=650;" width="554" height="368" title="1.png" src="http://s5.51cto.com/wyfs02/M02/88/6C/wKioL1f3dlGQXfUWAAB3AuXTNEE722.png-wh_500x0-wm_3-wmp_4-s_522582957.png" alt="wKioL1f3dlGQXfUWAAB3AuXTNEE722.png-wh_50" />

 

When the process window opens, click the dropdown by Script andselect Script Action toClipboard. Then click Cancel so youwill not start processing the Cube immediately.

650) this.width=650;" width="554" height="497" title="2.png" src="http://s3.51cto.com/wyfs02/M00/88/6D/wKioL1f3dmXAQ1MZAADIXrvWo-U159.png-wh_500x0-wm_3-wmp_4-s_781873223.png" alt="wKioL1f3dmXAQ1MZAADIXrvWo-U159.png-wh_50" />

 

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

650) this.width=650;" width="491" height="258" title="3.png" alt="New Job" src="http://s3.51cto.com/wyfs02/M02/88/6D/wKioL1f3dnWzhrbbAABRnY114ng120.png-wh_500x0-wm_3-wmp_4-s_434908588.png" />

In the Jobwindow, 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 ServicesCommand. Enter the Server and Paste the contents of the Clipboard from earlierinto the Command window.

650) this.width=650;" width="553" height="376" title="4.png" src="http://s1.51cto.com/wyfs02/M01/88/70/wKiom1f3dofyszFcAAE_BWczjxk837.png-wh_500x0-wm_3-wmp_4-s_4040760723.png" alt="wKiom1f3dofyszFcAAE_BWczjxk837.png-wh_50" />

Click OKtwice and the Job will now include the step to execute the pasted script whichwill process the Cube.

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

650) this.width=650;" width="554" height="446" title="5.png" src="http://s5.51cto.com/wyfs02/M02/88/70/wKiom1f3dpWwKYRTAADX3-UMH6g644.png-wh_500x0-wm_3-wmp_4-s_2276940365.png" alt="wKiom1f3dpWwKYRTAADX3-UMH6g644.png-wh_50" />

Dive for more about automatic process SSAS cube using SQLServer agent job

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

Create Proxy account for Job processing

1, Create credentials

650) this.width=650;" width="554" height="205" title="6.png" src="http://s1.51cto.com/wyfs02/M00/88/70/wKiom1f3dtDhUZyLAACj79eL7Ko784.png-wh_500x0-wm_3-wmp_4-s_3281260629.png" alt="wKiom1f3dtDhUZyLAACj79eL7Ko784.png-wh_50" />

2 create new proxy account for cube processjob

650) this.width=650;" width="482" height="247" title="7.png" src="http://s2.51cto.com/wyfs02/M02/88/6D/wKioL1f3dt7DWMqAAAA5ZGlQnbQ232.png-wh_500x0-wm_3-wmp_4-s_827155167.png" alt="wKioL1f3dt7DWMqAAAA5ZGlQnbQ232.png-wh_50" />

 

650) this.width=650;" width="554" height="497" title="8.png" src="http://s3.51cto.com/wyfs02/M01/88/70/wKiom1f3dvWj3tScAACYGbHXJSU360.png-wh_500x0-wm_3-wmp_4-s_335108493.png" alt="wKiom1f3dvWj3tScAACYGbHXJSU360.png-wh_50" />

 

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

650) this.width=650;" width="554" height="497" title="9.png" src="http://s1.51cto.com/wyfs02/M00/88/6D/wKioL1f3dwKwEW_6AAF0bOYz2J0320.png-wh_500x0-wm_3-wmp_4-s_4123035082.png" alt="wKioL1f3dwKwEW_6AAF0bOYz2J0320.png-wh_50" />

本文出自 “傲雪星痕” 部落格,謝絕轉載!

How to automatic process SSAS cube using SQL Server agent job

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.