August 2009
Intermediate to advanced
464 pages
13h 59m
English
Now that you have a solid understanding of the components that make up Resource Governor, let's walk through an example of its implementation. Let's imagine we have a database used for both a production point-of-sales application and as a source for a reporting system. Our goal is to constrain the CPU and memory resources consumed by the reporting system in order to reduce the impact on the point-of-sales system when large reports are executed.
Let's walk through the T-SQL code for creating the necessary components, beginning with the creation of the workload groups, as shown in listing 16.2.
-- Create 2 Workload Groups USE MASTER GO CREATE WORKLOAD GROUP RG_Reporting GO ... |
Read now
Unlock full access