Reporting with Service Broker

Scenario: You have a report which uses multiple distinct datasets. Rather than wait for them to complete one after the other, you would like to start all datasets processing at the same time and then when the last dataset has completed processing return data to the user. Service broker can help you achieve this and significantly cut down execution time by process the independent datasets asynchronously.

See attachment for basic example

report.sql

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: