Do SSRS report subscriptions that trigger at the same time run concurrently?

点点圈 提交于 2019-12-05 12:28:49

I've found a bit of interesting info that explains how SSRS processes scheduled subscriptions:

When you create a subscription several things are added to the RS server:

  • A row is placed in the Subscriptions table…

  • A row is placed in the Schedule and ReportSchedule tables…

  • A SQL Server Agent job is created…

When the subscription runs several things happen:

  • The SQL Server Agent job fires and puts a row in the Event table…

  • The RS server service has a limited number of threads (2 per CPU) that poll the Event table…

  • When it finds an event, it puts a row in the Notifications table and starts processing…

This if from: Troubleshooting Subscriptions: Part II...

(If I'm reading this correctly...) The reporting service will concurrently run two times the number of cores in your server when processing subscriptions. (e.g. If you have a dual-core machine RS will run 4 report subscriptions at once.)

I'm going to leave this question open awhile long in case anyone else has more information...

There is a setting in RsReportServer.config called MaxQueueThreads. I often set this to 1 or 2 to avoid flooding the server and crudely save resources for interactive SSRS users. The trade off is that one or two heavy subscription reports can choke the queue and hold up other subscriptions.

It is available in all the versions you listed. Here's the doco:

http://msdn.microsoft.com/en-us/library/ms157273.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!