Microsoft SQL Server 2008 R2 Specifications

Browse online or download Specifications for Application server software Microsoft SQL Server 2008 R2. Microsoft SQL Server 2008 R2 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 236
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Contents
Contents at a Glance v
Contents vii
Acknowledgments xv
Introduction xvii
Who Is This Book For? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
How Is This Book Organized? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Pre-Release Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Support for This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix
We Want to Hear from You . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xix
Database Administration 1
C H A P T E R 1 3
SQL Server 2008 R2 Editions and Enhancements 3
SQL Server 2008 R2 Enhancements for DBAs . . . . . . . . . . . . . . . . . . . . . . . . . 3
Application and Multi-Server Administration Enhancements 4
Additional SQL Server 2008 R2 Enhancements for DBAs 8
Advantages of Using Windows Server 2008 R2 . . . . . . . . . . . . . . . . . . . . . . 10
SQL Server 2008 R2 Editions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Premium Editions 12
Core Editions 12
Specialized Editions 13
Hardware and Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Installation, Upgrade, and Migration Strategies . . . . . . . . . . . . . . . . . . . . . . 16
The In-Place Upgrade 16
Side-by-Side Migration 18
C H A P T E R 2 2 1
Multi-Server Administration 21
The SQL Server Utility. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
SQL Server Utility Key Concepts 23
UCP Prerequisites 25
UCP Sizing and Maximum Capacity Specications 25
Creating a UCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Creating a UCP by Using SSMS 26
Creating a UCP by Using Windows PowerShell 28
UCP Post-Installation Steps 29
Enrolling SQL Server Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .29
Managed Instance Enrollment Prerequisites 30
Enrolling SQL Server Instances by Using SSMS 30
Enrolling SQL Server Instances by Using
Windows PowerShell 32
The Managed Instances Dashboard 32
Managing Utility Administration Settings . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Connecting to a UCP 33
The Policy Tab 34
The Security Tab 37
The Data Warehouse Tab 39
C H A P T E R 3 4 1
Data-Tier Applications 41
Introduction to Data-Tier Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
The Data-Tier Application Life Cycle 42
Common Uses for Data-Tier Applications 43
Supported SQL Server Objects 44
Visual Studio 2010 and Data-Tier Application Projects . . . . . . . . . . . . . . . . 45
Launching a Data-Tier Application Project Template in Visual Studio 2010 45
Importing an Existing Data-Tier Application Project into Visual Studio 2010 47
Extracting a Data-Tier Application with SQL Server Management Studio 49
Installing a New DAC Instance with the Deploy
Data-Tier Application Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Registering a Data-Tier Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Deleting a Data-Tier Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Upgrading a Data-Tier Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
C H A P T E R 4 6 3
High Availability and
Virtualization Enhancements 63
Enhancements to High Availability with
Windows Server 2008 R2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Failover Clustering with Windows Server 2008 R2 . . . . . . . . . . . . . . . . . . . .64
Traditional Failover Clustering 65
Guest Failover Clustering 67
Enhancements to the Validate A Conguration Wizard 68
The Windows Server 2008 R2 Best Practices Analyzer 71
SQL Server 2008 R2 Virtualization and Hyper-V . . . . . . . . . . . . . . . . . . . . . . 72
Live Migration Support Through CSV 72
Windows Server 2008 R2 Hyper-V System Requirements 73
Practical Uses for Hyper-V and SQL Server 2008 R2 74
Implementing Live Migration for SQL Server 2008 R2 . . . . . . . . . . . . . . . . . 75
Enabling CSV 76
Creating a SQL Server VM with Hyper-V 76
Conguring a SQL Server VM for Live Migration 79
Initiating a Live Migration of a SQL Server VM 83
C H A P T E R 5 8 5
Consolidation and Monitoring 85
SQL Server Consolidation Strategies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Consolidating Databases and Instances 86
Consolidating SQL Server Through Virtualization 87
Using the SQL Server Utility for Consolidation and Monitoring . . . . . . . . 89
Using the SQL Server Utility Dashboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
Using the Managed Instances Viewpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
The Managed Instances List View Columns 96
The Managed Instances Detail Tabs 97
Using the Data-Tier Application Viewpoint . . . . . . . . . . . . . . . . . . . . . . . . .100
The Data-Tier Application List View 102
The Data-Tier Application Tabs 102
Business Intelligence Development 107
C H A P T E R 6 1 0 9
Scalable Data Warehousing 109
Parallel Data Warehouse Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109
Data Warehouse Appliances 109
Processing Architecture 110
The Multi-Rack System 110
Hub-and-Spoke Architecture 115
Data Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115
Shared Nothing Architecture 115
Data Types 120
Query Processing 121
Data Load Processing 121
Monitoring and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122
Business Intelligence Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .123
Integration Services 123
Reporting Services 123
Analysis Services and PowerPivot 123
C H A P T E R 7 1 2 5
Master Data Services 125
Master Data Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .125
Master Data Challenges 125
Key Features of Master Data Services 126
Master Data Services Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .127
Master Data Services Conguration Manager 128
The Master Data Services Database 128
Master Data Manager 128
Data Stewardship . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129
Model Objects 129
Master Data Maintenance 131
Business Rules 132
Transaction Logging 134
Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135
Importing Master Data 135
Exporting Master Data 136
Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
Versions 137
Security 138
Model Deployment 142
Programmability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
The Class Library 142
Master Data Services Web Service 143
Matching Functions 143
C H A P T E R 8 1 4 5
Complex Event Processing with StreamInsight 145
Complex Event Processing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
Complex Event Processing Applications 145
StreamInsight Highlights 146
StreamInsight Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
Data Structures 147
The CEP Server 147
Deployment Models 149
Application Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .150
Event Types 150
Adapters 151
Query Templates 154
Queries 155
Query Template Binding 162
The Query Object 163
The Management Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163
Diagnostic Views 163
Windows PowerShell Diagnostics 164
C H A P T E R 9 1 6 5
Reporting Services
Enhancements 165
New Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Expression Language Improvements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Combining Data from More Than One Dataset 166
Aggregation 168
Conditional Rendering Expressions 169
Page Numbering 170
Read/Write Report Variable 170
Layout Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
Pagination Properties 172
Data Synchronization 173
Text Box Orientation 174
Data Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175
Data Bars 175
Sparklines 176
Indicators 176
Maps 177
Reusability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178
Shared Datasets 179
Cache Refresh 179
Report Parts 180
Atom Data Feed 182
Report Builder 3.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .183
Edit Sessions 183
The Report Part Gallery 183
Report Access and Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184
Report Manager Improvements 184
Report Viewer Improvements 186
Improved Browser Support 186
RDL Sandboxing 186
SharePoint Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Improved Installation and Conguration 187
RS Utility Scripting 187
SharePoint Lists as Data Sources 187
SharePoint Unied Logging Service 188
C H A P T E R 1 0 1 8 9
Self-Service Analysis with PowerPivot 189
PowerPivot for Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .190
The PowerPivot Add-in for Excel 190
Data Sources 191
Data Preparation 193
PowerPivot Reports 196
Data Analysis Expressions 199
PowerPivot for SharePoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201
Architecture 201
Content Management 204
Data Refresh 205
Linked Documents 205
The PowerPivot Web Service 205
The PowerPivot Management Dashboard . . . . . . . . . . . . . . . . . . . . . . . . . .206
About the Authors 215
Page view 0
1 2 3 4 5 6 ... 235 236

Summary of Contents

Page 1 - Database Administration 1

ContentsContents at a Glance vContents viiAcknowledgments xvIntroduction xviiWho Is This Book For? . . . . . . . . . . . . . . . . . . . . . . . . .

Page 2

x Contents PART II BUSINESS INTELLIGENCE DEVELOPMENTCHAPTER 6 Scalable Data Warehousing 109Parallel Data Warehouse Architecture . . . . . . . .

Page 3 - —stacia MisneR

80 CHAPTER 4 High Availability and Virtualization Enhancements 4. Under Automatic Start Action, for the What Do You Want This Virtual Machine To

Page 4

Implementing Live Migration for SQL Server 2008 R2 CHAPTER 4 81 11. On the Select Service Or Application page, shown in Figure 4-9, click Virtua

Page 5 - Contents at a Glance

82 CHAPTER 4 High Availability and Virtualization Enhancements NOTE To make a VM highly available, you must ensure that it is not running. It must

Page 6

Implementing Live Migration for SQL Server 2008 R2 CHAPTER 4 83Initiating a Live Migration of a SQL Server VMAfter an administrator has enabled CS

Page 8 - viii Contents

85C H A P T E R 5Consolidation and MonitoringToday's competitive economy dictates that organizations reduce cost and improve agility in t

Page 9 - Contents ix

86 CHAPTER 5 Consolidation and MonitoringConsolidating Databases and InstancesA very common SQL Server consolidation strategy involves placing many

Page 10 - x Contents

SQL Server Consolidation Strategies CHAPTER 5 87SQLInstance01SQLInstance02SQLInstance03 FIGURE 5-2 Consolidating many databases onto a single ph

Page 11 - Contents xi

88 CHAPTER 5 Consolidation and Monitoringand 64-bit versions within a single host. In addition, physical SQL Servers can easily be virtual-ized by

Page 12 - xii Contents

Using the SQL Server Utility for Consolidation and Monitoring CHAPTER 5 89Using the SQL Server Utility for Consolidation and MonitoringThe SQL Ser

Page 13 - Contents xiii

Contents xiIntegration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .135Importing Mast

Page 14

90 CHAPTER 5 Consolidation and MonitoringThe three main dashboards for monitoring and managing resource utilization and consoli-dation efforts are

Page 15 - Acknowledgments

Using the SQL Server Utility Dashboard CHAPTER 5 91The SQL Server Utility dashboard includes the following information: Utility Summary Found i

Page 16 - xvi

92 CHAPTER 5 Consolidation and Monitoring● No Data Available Either data has not been uploaded from a managed instance or there is a problem with

Page 17 - Introduction

Using the SQL Server Utility Dashboard CHAPTER 5 93 Data-Tier Application Health This section is located in the top-right corner of the Utility

Page 18 - Pre-Release Software

94 CHAPTER 5 Consolidation and Monitoring● Overutilized Database Files This represents the number of deployed data-tier applications with databas

Page 19 - We Want to Hear from You

Using the Managed Instances Viewpoint CHAPTER 5 95This section explained how to obtain summary information for all managed instances of SQL Serve

Page 20

96 CHAPTER 5 Consolidation and MonitoringResource utilization for each managed instance of SQL Server is presented in the list view located at the

Page 21 - Administration

Using the Managed Instances Viewpoint CHAPTER 5 97 Volume Space Volume space utilization is summarized in this column for volumes with databas

Page 22

98 CHAPTER 5 Consolidation and MonitoringFIGURE 5-8 The Storage Utilization tab on the Managed Instances viewpointIndependent of how the les are

Page 23 - SQL Server 2008 R2 Editions

Using the Managed Instances Viewpoint CHAPTER 5 99FIGURE 5-9 The Policy Details tab on the Managed Instances viewpointNOTE To override the glob

Page 24

xii Contents CHAPTER 9 Reporting Services Enhancements 165New Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 25

100 CHAPTER 5 Consolidation and MonitoringFIGURE 5-10 The Property Details tab on the Managed Instances viewpointUsing the Data-Tier Application V

Page 26

Using the Data-Tier Application Viewpoint CHAPTER 5 101FIGURE 5-11 The data-tier application viewpointResource utilization for each deployed dat

Page 27 - Upload collection

102 CHAPTER 5 Consolidation and MonitoringThe Data-Tier Application List ViewThe columns presenting the state of health for each deployed data-tier

Page 28

Using the Data-Tier Application Viewpoint CHAPTER 5 103Two linear graphs are presented next to each other. The rst graph shows CPU utiliza-tion

Page 29

104 CHAPTER 5 Consolidation and Monitoring Policy Details The Policy Details tab, shown in Figure 5-13, is where a DBA can view the global polic

Page 30

Using the Data-Tier Application Viewpoint CHAPTER 5 105The display is broken up into the following four policies, which can be viewed or overridd

Page 32 - Core Editions

PART IIBusiness Intelligence DevelopmentStacia MiSnerCHAPTER 6 Scalable Data Warehousing 109CHAPTER 7 Master Data Services 125CHAPTER 8 Complex E

Page 34 - Hardware Requirements

109C H A P T E R 6Scalable Data WarehousingMicrosoft SQL Server 2008 R2 Parallel Data Warehouse is an enterprise data ware-house appliance bas

Page 35 - Software Requirements

Contents xiiiCHAPTER 10 Self-Service Analysis with PowerPivot 189PowerPivot for Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 36 - The In-Place Upgrade

110 CHAPTER 6 Scalable Data WarehousingWarehouse software. When the assembly process is complete, the vendor ships the appliance to you using shock

Page 37

Parallel Data Warehouse Architecture CHAPTER 6 111Control rack Data rackManagement nodeactive/passiveUser queriesControl nodeactive/passiveLanding

Page 38 - Side-by-Side Migration

112 CHAPTER 6 Scalable Data WarehousingThe Control RackThe control rack is a separate rack that houses the servers, storage, and networking com-pon

Page 39

Parallel Data Warehouse Architecture CHAPTER 6 113Development Studio, SQL Server Integration Services, SQL Server Analysis Services, and SQL Serve

Page 40

114 CHAPTER 6 Scalable Data WarehousingThe Landing Zone NodeThe Landing Zone is a high-capacity data storage node in the control rack that contains

Page 41 - Multi-Server Administration

Data Management CHAPTER 6 115any necessary data to each compute node so that it can process the query in parallel with other compute nodes without

Page 42

116 CHAPTER 6 Scalable Data WarehousingYou design the data layout on the appliance to avoid or minimize data movement for par-allel queries by usin

Page 43 - REAL WORLD

Data Management CHAPTER 6 117nodes in the appliance. There are performance considerations for the selection of a distribution column, such as dist

Page 44

118 CHAPTER 6 Scalable Data WarehousingCREATE DATABASEThe CREATE DATABASE statement has a set of options for supporting distributed and repli-cated

Page 45 - UCP Prerequisites

Data Management CHAPTER 6 119NOTE Parallel Data Warehouse does not use the Transact-SQL partition schema or parti-tion function. Also, you can cr

Page 47

120 CHAPTER 6 Scalable Data WarehousingIn addition, you can use a CREATE TABLE AS SELECT statement to create a table from the results of a SELECT s

Page 48

Data Management CHAPTER 6 121Query ProcessingQuery processing in Parallel Data Warehouse is more complex than in an SMP data ware-house because pr

Page 49 - UCP Post-Installation Steps

122 CHAPTER 6 Scalable Data WarehousingData Warehouse’s Landing Zone. You then invoke a command-line tool, DWLoader, and spec-ify options to load t

Page 50

Business Intelligence Integration CHAPTER 6 123Business Intelligence IntegrationParallel Data Warehouse integrates with the SQL Server business in

Page 52 - Windows PowerShell

125C H A P T E R 7Master Data ServicesMicrosoft SQL Server 2008 R2 Master Data Services (MDS) is another new technology in the SQL Server fami

Page 53 - Connecting to a UCP

126 CHAPTER 7 Master Data ServicesThis scenario presents additional problems for operational master data in an organiza-tion because there is no co

Page 54 - The Policy Tab

Master Data Services Components CHAPTER 7 127In addition to offering exibility, MDS allows you to manage master data proactively. Instead of disc

Page 55

128 CHAPTER 7 Master Data ServicesMaster Data Services Conguration ManagerBefore you can start using MDS to manage your master data, you use Maste

Page 56

Data Stewardship CHAPTER 7 129 Integration Management Use this area to create and process batches for im-porting data from staging tables into

Page 57 - The Security Tab

xvAcknowledgmentsI would like to rst acknowledge Shirmattie Seenarine for assisting me on this title. I couldn't have written this book wi

Page 58

130 CHAPTER 7 Master Data ServicesAn entity can also have any number of domain-based attributes whose values are mem-bers of another related entity

Page 59 - The Data Warehouse Tab

Data Stewardship CHAPTER 7 131FIGURE 7-3 A collectionMaster Data MaintenanceMaster Data Manager is more than a place to dene model objects. It a

Page 60 - 1 year, or 2 years

132 CHAPTER 7 Master Data ServicesFIGURE 7-5 Attributes and validation issuesBusiness Rules One of the goals of a master data management system is

Page 61 - Data-Tier Applications

Data Stewardship CHAPTER 7 133FIGURE 7-7 The Required Fields business ruleWhen creating a business rule, you can use any of the following types o

Page 62

134 CHAPTER 7 Master Data ServicesTransaction LoggingMDS uses a transaction log, as shown in Figure 7-9, to capture every change made to master dat

Page 63

Integration CHAPTER 7 135IntegrationMaster Data Manager also provides support for data integration between MDS and other ap-plications. Master Dat

Page 64 - Supported SQL Server Objects

136 CHAPTER 7 Master Data Servicesselected. When the batch processing is complete, you can review the status of the batch in the staging batch log,

Page 65 - Visual Studio 2010

Administration CHAPTER 7 137subscription view in Master Data Manager as an entity-based leaf member view, you can query the Product view and see t

Page 66

138 CHAPTER 7 Master Data Servicescreate a new version by copying a previously committed version and allowing users to make their changes to the ne

Page 67

Administration CHAPTER 7 139Figure 7-15. An administrator with full access privileges would instead see the full list of func-tional areas on the

Page 68

xvi And last but not least, I would like to thank my Microsoft mentors who assisted with my career development and transition to the Microsoft Tec

Page 69 - Management Studio

140 CHAPTER 7 Master Data ServicesColor table on the right side of the page. These icons indicate that the values in the table are not editable. Th

Page 70

Administration CHAPTER 7 141More specically, the security conguration allows this user to edit only the Bikes and Ac-cessories categories in the

Page 71

142 CHAPTER 7 Master Data ServicesModel DeploymentWhen you have nalized the master data model structure, you can use the model deploy-ment capabil

Page 72 - Data-Tier Application Wizard

Programmability CHAPTER 7 143 Microsoft.MasterDataServices.Services Contains a class to provide instances of the MdsServiceHost class and a cla

Page 73

144 CHAPTER 7 Master Data Services Mdq.RegexIsValid Indicates whether the regular expression is valid Mdq.RegexMask Converts a set of regular

Page 74

145C H A P T E R 8Complex Event Processing with StreamInsightMicrosoft SQL Server StreamInsight is a complex event processing (CEP) engine. Th

Page 75

146 CHAPTER 8 Complex Event Processing with StreamInsightSimilarly, there are certain types of applications that benet from the ability to analyze

Page 76

StreamInsight Architecture CHAPTER 8 147Data StructuresThe high-throughput data that StreamInsight requires is known as a stream. More speci-call

Page 77

148 CHAPTER 8 Complex Event Processing with StreamInsightPagers and monitoring devicesInput AdaptersData feeds Event storesand databasesWeb servers

Page 78

StreamInsight Architecture CHAPTER 8 149Output AdaptersThe output adapters reverse the operations of the input adapters by translating events into

Page 79

xviiIntroductionOur purpose in Introducing Microsoft SQL Server 2008 R2 is to point out both the new and the improved in the latest version of S

Page 80

150 CHAPTER 8 Complex Event Processing with StreamInsightIf you choose to deploy CEP as a standalone server, there are some limitations that affect

Page 81

Application Development CHAPTER 8 151Server database must adapt to the schema of the table that it queries. Instead, you provide the table schema

Page 82

152 CHAPTER 8 Complex Event Processing with StreamInsightthe elds one at a time and enqueue the event. The untyped output adapter works similarly,

Page 83 - Virtualization Enhancements

Application Development CHAPTER 8 153The nal step is to create a .NET assembly for the adapter. At minimum, the adapter includes a constructor, a

Page 84

154 CHAPTER 8 Complex Event Processing with StreamInsightAnother task the adapter must perform is classication of an event. That is, the adapter m

Page 85

Application Development CHAPTER 8 155QueriesAfter you create an event stream object, you write a LINQ expression on top of the event stream object

Page 86 - Server 2008 R2

156 CHAPTER 8 Complex Event Processing with StreamInsightEvent WindowsA window represents a subset of data from an event stream for a period of tim

Page 87 - Guest Failover Clustering

Application Development CHAPTER 8 157As you might guess, the key to working with windows is to have a clear understanding of the time span that ea

Page 88 - Real World

158 CHAPTER 8 Complex Event Processing with StreamInsightwindows stream. Although you can use the HoppingWindow method to create tumbling win-dows,

Page 89 - /cc732035(WS.10).aspx

Application Development CHAPTER 8 159Count windows are completely different from the other window types because the size of the windows is variabl

Page 90

xviii Introduction are improved with the introduction of the SQL Server Utility Control Point. Step-by-step instructions show DBAs how to quickly de

Page 91

160 CHAPTER 8 Complex Event Processing with StreamInsightAssume you want to apply the Sum and Avg aggregations to eld x in an input stream. The fo

Page 92

Application Development CHAPTER 8 161JoinsYou can use a join operation to match events from two streams. The CEP server rst matches events only i

Page 93

162 CHAPTER 8 Complex Event Processing with StreamInsightQuery Template BindingThe method that the CEP server uses to instantiate the query templat

Page 94

The Management Interface CHAPTER 8 163The Query ObjectIn both the explicit and implicit development models, you create a query object. With that o

Page 95

164 CHAPTER 8 Complex Event Processing with StreamInsightWindows PowerShell DiagnosticsFor quick analysis, you can use Windows PowerShell scripts t

Page 96 - Enabling CSV

165C H A P T E R 9Reporting Services EnhancementsIf you thought Microsoft SQL Server 2008 Reporting Services introduced a lot of great new fe

Page 97

166 CHAPTER 9 Reporting Services Enhancements Combining Data from More Than One DatasetTo display data from more than one source in a table (or in

Page 98

Expression Language Improvements CHAPTER 9 167=Lookup(Fields!StateProvinceCode.Value, Fields!StProv.Value, Fields!StProvName.Value, "Dataset1

Page 99

168 CHAPTER 9 Reporting Services Enhancements When there is a one-to-many relationship between the source and destination values, you use the Looku

Page 100

Expression Language Improvements CHAPTER 9 169FIGURE 9-4 Aggregation of an aggregationHere is the expression for the value displayed in the Month

Page 101 - Click Next

Introduction xixNew” topic in SQL Server Books Online at http://msdn.microsoft.com/en-us/library/bb500435(SQL.105).aspx for the most up-to-date l

Page 102

170 CHAPTER 9 Reporting Services Enhancements Another option is to use the RenderFormat global variable with the IsInteractive member to set the co

Page 103

Layout Control CHAPTER 9 171FIGURE 9-6 Changing report variablesTo write to your report variable, you use the SetValue method of the variable. Fo

Page 104

172 CHAPTER 9 Reporting Services Enhancements Pagination PropertiesThere are three new properties available to manage pagination: Disabled, ResetPa

Page 105 - Consolidation and Monitoring

Layout Control CHAPTER 9 173Last, consider how you can use the PageName property. As one example, instead of using page numbers in an Excel workbo

Page 106 - SQLInstance01

174 CHAPTER 9 Reporting Services Enhancements FIGURE 9-9 Synchronized groupsText Box OrientationEach text box has a WritingMode property that by d

Page 107

Data Visualization CHAPTER 9 175Data VisualizationPrior to SQL Server 2008 R2 Reporting Services, your only option for enhancing a report with dat

Page 108

176 CHAPTER 9 Reporting Services Enhancements SparklinesLike data bars, sparklines can be used to include a data visualization alongside the detail

Page 109 - Monitoring

Data Visualization CHAPTER 9 177FIGURE 9-13 Indicator typesAfter selecting a set of indicators, you associate the set with a value in your datase

Page 110

178 CHAPTER 9 Reporting Services Enhancements Although you can manually congure the properties for the map and each map layer, the easiest way to

Page 111

Reusability CHAPTER 9 179Shared DatasetsA shared dataset allows you to dene a query once for reuse in many reports, much as you can create a shar

Page 112

PUBLISHED BYMicrosoft PressA Division of Microsoft CorporationOne Microsoft WayRedmond, Washington 98052-6399Copyright © 2010 by Microsoft Corporation

Page 114

180 CHAPTER 9 Reporting Services Enhancements Services can respond to a report request faster, and users are generally happier with the reporting s

Page 115

Reusability CHAPTER 9 181You can publish report parts both from Report Builder 3.0 and Report Designer in Business Intelligence Development Studio

Page 116

182 CHAPTER 9 Reporting Services Enhancements Although you can publish report parts in Report Designer and Report Builder 3.0, you can only use Rep

Page 117

Report Builder 3.0 CHAPTER 9 183Report Builder 3.0Report Builder 1.0 was the rst release of a report development tool targeted for business users

Page 118

184 CHAPTER 9 Reporting Services Enhancements FIGURE 9-19 The Report Part GalleryReport Access and ManagementIn this latest release of Reporting S

Page 119

Report Access and Management CHAPTER 9 185FIGURE 9-20 Report ViewerNotice also that the Report Viewer does not include a link to open the report

Page 120

186 CHAPTER 9 Reporting Services Enhancements Report Viewer ImprovementsThe display of reports is also improved in the Report Viewer available in t

Page 121

SharePoint Integration CHAPTER 9 187SharePoint IntegrationSQL Server 2008 R2 Reporting Services continues to improve integration with SharePoint.

Page 122

188 CHAPTER 9 Reporting Services Enhancements create the data source using the Microsoft SharePoint List connection type and provide credentials fo

Page 123

189C H A P T E R 1 0Self-Service Analysis with PowerPivotMany business intelligence (BI) solutions require access to centralized, cleansed dat

Page 124

PART IDatabase AdministrationRoss MistRyCHAPTER 1 SQL Server 2008 R2 Editions and Enhancements 3CHAPTER 2 Multi-Server Administration 21CHAPTER

Page 125

190 CHAPTER 10 Self-Service Analysis with PowerPivotPowerPivot for ExcelPowerPivot for Excel is an add-in that extends the functionality of Excel 2

Page 126

PowerPivot for Excel CHAPTER 10 191The Atom Data Feed ProviderLast, the add-in installs an Atom data feed provider to allow you to import data fro

Page 127 - Business Intelligence

192 CHAPTER 10 Self-Service Analysis with PowerPivot• IBM DB2 8.1• Sybase• Any database that can be accessed by using an OLE DB provider or an O

Page 128

PowerPivot for Excel CHAPTER 10 193Linked TablesIf your data is in an Excel table already, or if you convert a range of data into an Excel table,

Page 129 - Scalable Data Warehousing

194 CHAPTER 10 Self-Service Analysis with PowerPivotRelationshipsBy building relationships between the data, you can analyze the data as if it all

Page 130 - The Multi-Rack System

PowerPivot for Excel CHAPTER 10 195FIGURE 10-5 Filtering a numeric column by valueIMPORTANT Use of a lter is not a security measure. Although a

Page 131 - The Data Rack

196 CHAPTER 10 Self-Service Analysis with PowerPivotYou can use the Hide and Unhide button on the Design tab (shown in Figure 10-4) to control the

Page 132 - The Control Node

PowerPivot for Excel CHAPTER 10 197store the data that you selected for the chart. Just as you do with a standard PivotTable or PivotChart, you se

Page 133

198 CHAPTER 10 Self-Service Analysis with PowerPivotFIGURE 10-9 The CUBEVALUE functionSlicersThe task pane for PowerPivot is similar to the one yo

Page 134 - The Compute Node

PowerPivot for Excel CHAPTER 10 199Data Analysis ExpressionsThe ability to combine data from multiple sources into a single PivotTable is amazingl

Page 136 - Distributed Strategy

200 CHAPTER 10 Self-Service Analysis with PowerPivotreport, provide a name for the current PivotTable if you want, and then specify the formula for

Page 137 - DDL Extensions

PowerPivot for SharePoint CHAPTER 10 201FUNCTION TYPE EXAMPLE DESCRIPTIONStatistical=AVERAGEX(ResellerSales, [SalesAmount]- [TotalProductCost])Eva

Page 138 - CREATE TABLE

202 CHAPTER 10 Self-Service Analysis with PowerPivotSharePoint FarmWeb front end Application serverPowerPivot databaseAnalysis Services-VertiPaq Mo

Page 139

PowerPivot for SharePoint CHAPTER 10 203balancing across servers for query processing if multiple servers are available. Furthermore, the PowerPiv

Page 140 - Data Types

204 CHAPTER 10 Self-Service Analysis with PowerPivotContent ManagementContent management for PowerPivot is quite simple because the data and the pr

Page 141 - Data Load Processing

PowerPivot for SharePoint CHAPTER 10 205or right arrow to bring a different thumbnail into the preview area. You can also switch to All Documents

Page 142 - Monitoring and Management

206 CHAPTER 10 Self-Service Analysis with PowerPivotapplication that can connect to Analysis Services directly can use the PowerPivot Web Service.

Page 143 - Reporting Services

Index 207Aadapter base classes, 151AdapterFactory objects, 152adapters, for CEP applications, 151-154Admin Console, 122aggregate functions, 168AJ

Page 144

208 data feed libraries, 205Data Movement Service (DMS), 112data racks, 111data sourcesjoining, 166-168for PowerPivot for Excel, 191-193data stewar

Page 145 - Master Data Services

209guest model, 67-68history of, 64-65traditional model, 65troubleshooting, 70validating prerequisites for, 68-70feedback on book, xixle space

Page 146

3C H A P T E R 1SQL Server 2008 R2 Editions and EnhancementsMicrosoft SQL Server 2008 R2 is the most advanced, trusted, and scalable data plat

Page 147

210 overutilized resources, 92processor utilization, 96underutilized resources, 92viewing, 91Managed Instances viewpoint (Utility Explorer), 95-100

Page 148 - Master Data Manager

211Parallel Data WarehouseAdmin Console, 122architecture of, 109-115automatic growth feature, toggling, 118conguring, 110control node, 112-113c

Page 149 - Model Objects

212 reportsalternate access mappings, 187cache conguring, 179-180on DAC deployment, 54data synchronization, 173data visualization enhancements, 17

Page 150 - Product hierarchies

213Theater view (PowerPivot Gallery), 204-205Time Intelligence functions (PowerPivot), 193TopK operation, 160transaction logsfor MDS, 131-134spa

Page 151 - Master Data Maintenance

214 virtualization. See also Hyper-Vconsolidation with, 87-88technology for, 72 Visual Studio 2010deploying DACs from, 45-46importing DACs into, 47

Page 152 - Business Rules

215About the AuthorsRoss Mistry is a technical architect at the Microsoft Technology Center (MTC) in Silicon Valley. Ross provides executive bri

Page 153 - Business rule validation

Stay in touch!To subscribe to the Microsoft Press® Book Connection Newsletter—for news on upcoming books, events, and special offers—please visit: Wha

Page 154 - Transaction Logging

4 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsMicrosoft has made major investments in the SQL Server product as a whole; however, the ne

Page 155 - Importing Master Data

SQL Server 2008 R2 Enhancements for DBAs CHAPTER 1 5the total cost of ownership of their database environment. The new SQL Server Utility dashboar

Page 156 - Exporting Master Data

6 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsFIGURE 1-2 Identifying consolidation opportunities with the SQL Server Utility dashboard

Page 157 - Versions

SQL Server 2008 R2 Enhancements for DBAs CHAPTER 1 7environment. This can be done at scale, with information on resource utilization throughout th

Page 158 - Security

8 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsIn the example in Figure 1-4, a DBA has optimized hardware resources within the environ-me

Page 159 - A user’s model permissions

SQL Server 2008 R2 Enhancements for DBAs CHAPTER 1 9spoke (control node and compute nodes) architecture. Performance improvements can be attained

Page 160

I dedicate this book to my wife and children, who make it all worthwhile.—Ross MistRyI dedicate this book to my husband and best friend, Gerry.—stacia

Page 161

10 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsPowerPivot data access in the farm. This new approach promises better integration with Sha

Page 162 - Programmability

SQL Server 2008 R2 Editions CHAPTER 1 11 Hyper-V improvements Building on the approval and success of the original Hyper-V release, Windows Ser

Page 163 - Matching Functions

12 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsPremium EditionsThe premium editions of SQL Server 2008 R2 are meant to meet the highest d

Page 164

SQL Server 2008 R2 Editions CHAPTER 1 13 Standard SQL Server 2008 R2 Standard is a complete data management and BI platform that provides mediu

Page 165 - Complex Event Processing

14 CHAPTER 1 SQL Server 2008 R2 Editions and Enhancements Compact SQL Server 2008 R2 Compact is typically used to develop mobile and small deskt

Page 166 - StreamInsight Highlights

Hardware and Software Requirements CHAPTER 1 15HARDWARE COMPONENT REQUIREMENTSDisk Space Database Engine: 280 MBAnalysis Services: 90 MBReporting

Page 167 - The CEP Server

16 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsInstallation, Upgrade, and Migration StrategiesLike its predecessors, SQL Server 2008 R2 i

Page 168 - Input Adapters

Installation, Upgrade, and Migration Strategies CHAPTER 1 17In-Place Upgrade Pros and ConsThe in-place upgrade strategy is usually easier and cons

Page 169 - Standalone Server

18 CHAPTER 1 SQL Server 2008 R2 Editions and EnhancementsSide-by-Side MigrationThe term side-by-side migration describes the deployment of a brand-

Page 170 - Event Types

Installation, Upgrade, and Migration Strategies CHAPTER 1 19However, there are disadvantages to the side-by-side strategy. Additional hardware mig

Page 173

21C H A P T E R 2Multi-Server AdministrationOver the years, an increasing number of organizations have turned to Microsoft SQL Server because

Page 174 - The QueryTemplate Object

22 CHAPTER 2 Multi-Server AdministrationSQL Server Utility. It forms a collection of managed instances with a repository for perfor-mance data and

Page 175 - Filtering

The SQL Server Utility CHAPTER 2 23REAL WORLDMany organizations that participate in the Microsoft SQL Server early adopter program are currently e

Page 176 - Event Windows

24 CHAPTER 2 Multi-Server Administration The Utility Explorer user interface A component of SSMS, this interface provides a hierarchical tree vi

Page 177 - FIGURE 8-3 Hopping windows

The SQL Server Utility CHAPTER 2 25UCP PrerequisitesAs with other SQL Server components and features, the deployment of a SQL Server UCP must meet

Page 178

26 CHAPTER 2 Multi-Server AdministrationCreating a UCPThe UCP is relatively easy to set up and congure. You can deploy it either by using the Crea

Page 179 - Aggregations

Creating a UCP CHAPTER 2 27 5. On the Specify The Instance Of SQL Server page, click the Connect button to specify the instance of SQL Server in

Page 180 - Grouping

28 CHAPTER 2 Multi-Server Administration 8. On the next page, the SQL Server instance is compared against a series of prerequisites before the UC

Page 181 - User-dened Functions

Enrolling SQL Server Instances CHAPTER 2 29UCP Post-Installation StepsWhen the Create Utility Control Point Wizard is closed, the Utility Explorer

Page 182 - The Query Binder Object

Contents at a GlanceIntroduction xviiPART I DATABASE ADMINISTRATIONCHAPTER 1 SQL Server 2008 R2 Editions and Enhancements 3CHAPTER 2 Multi-Server

Page 183 - Diagnostic Views

30 CHAPTER 2 Multi-Server AdministrationManaged Instance Enrollment Prerequisites As with many of the other tasks in this chapter, certain conditio

Page 184

Enrolling SQL Server Instances CHAPTER 2 31 8. As shown in Figure 2-4, a series of conditions will be evaluated against the SQL Server instance

Page 185 - Enhancements

32 CHAPTER 2 Multi-Server AdministrationEnrolling SQL Server Instances by Using Windows PowerShellWindows PowerShell can also be used to enroll in

Page 186

Managing Utility Administration Settings CHAPTER 2 33FIGURE 2-5 The Managed Instances dashboardManaging Utility Administration SettingsAfter you

Page 187

34 CHAPTER 2 Multi-Server Administration 3. On the Utility Explorer toolbar, click the Connect To Utility icon. 4. In the Connect To Server dia

Page 188 - Aggregation

Managing Utility Administration Settings CHAPTER 2 35FIGURE 2-6 Modifying global policies for managed instancesVolatile Resource Policy Evaluati

Page 189 - Aggregation of an aggregation

36 CHAPTER 2 Multi-Server AdministrationFIGURE 2-7 Volatile resource policy evaluationThe next set of congurable elements allows you to determine

Page 190 - Read/Write Report Variable

Managing Utility Administration Settings CHAPTER 2 37The Security TabFrom a security and authorization perspective, there are two security roles a

Page 191 - Layout Control

38 CHAPTER 2 Multi-Server Administration 3. On the General page, enter the name of a Windows user in the Login Name box. 4. Select Windows Auth

Page 192 - Pagination Properties

Managing Utility Administration Settings CHAPTER 2 39REAL WORLD Many organizations have large teams managing their SQL Server infrastructures beca

Page 194 - Text Box Orientation

40 CHAPTER 2 Multi-Server Administration 4. In the Utility Explorer Content pane, select the desired data retention period for the UMDW, as displ

Page 195 - Data Bars

41C H A P T E R 3Data-Tier ApplicationsAsk application developers or database administrators what it was like to work with data-driven applica

Page 196 - Indicators

42 CHAPTER 3 Data-Tier ApplicationsThe Data-Tier Application Life CycleThere are two common methods for generating a DAC. One is to author and buil

Page 197 - Indicator types

Introduction to Data-Tier Applications CHAPTER 3 43Data-tier developers using a data-tier application project template in Visual Studio 2010 rst

Page 198 - Reusability

44 CHAPTER 3 Data-Tier ApplicationsReal WorldOrganizations looking to accelerate and standardize deployment of database applications within their d

Page 199 - Cache Refresh

Visual Studio 2010 and Data-Tier Application Projects CHAPTER 3 45 Type: User-dened Data Type Type: User-dened Table Type User ViewDatab

Page 200 - Report Parts

46 CHAPTER 3 Data-Tier Applications 4. In the Project Template pane, select Data-Tier Application. 5. Specify the name, location, and solution

Page 201 - Reusability CHAPTER 9 181

Visual Studio 2010 and Data-Tier Application Projects CHAPTER 3 47FIGURE 3-3 The Create Table schema and the Solution Explorer pane in a Visual S

Page 202 - Atom Data Feed

48 CHAPTER 3 Data-Tier Applications 4. Review the information on the Welcome page, and then click Next. 5. On the Specify Import Options page,

Page 203 - The Report Part Gallery

Extracting a Data-Tier Application with SQL Server Management Studio CHAPTER 3 49Extracting a Data-Tier Application with SQL Server Management Stu

Page 204 - Report Manager Improvements

What do you think of this book? We want to hear from you! Microsoft is interested in hearing your feedback so we can continually improve our books an

Page 205 - The report menu

50 CHAPTER 3 Data-Tier Applications Description This property is optional. Use it to describe the DAC. If this section is completed, the informa

Page 206 - RDL Sandboxing

Extracting a Data-Tier Application with SQL Server Management Studio CHAPTER 3 51conrms that the information is supported by the DAC, and display

Page 207 - RS Utility Scripting

52 CHAPTER 3 Data-Tier ApplicationsInstalling a New DAC Instance with the Deploy Data-Tier Application WizardAfter the DAC package has been create

Page 208

Installing a New DAC Instance with the Deploy Data-Tier Application Wizard CHAPTER 3 53FIGURE 3-7 Specifying a DAC package to deploy with the De

Page 209 - PowerPivot

54 CHAPTER 3 Data-Tier Applications 9. The next page includes a summary of the settings that are used to deploy the data-tier application. Review

Page 210 - Modications to Excel

Registering a Data-Tier Application CHAPTER 3 55NOTE Throughout this chapter, you can also use Windows PowerShell scripts in con-junction with da

Page 211 - Data Sources

56 CHAPTER 3 Data-Tier Applications 5. On the Set Properties page, complete the DAC properties by typing in the application name, version, and de

Page 212

Deleting a Data-Tier Application CHAPTER 3 57 Delete Database The DAC metadata and the associated database are dropped. The data and log les a

Page 213 - Data Preparation

58 CHAPTER 3 Data-Tier Applications 6. Review the information displayed in the Summary page, as shown in Figure 3-10.FIGURE 3-10 Viewing the Sum

Page 214 - Relationships

Upgrading a Data-Tier Application CHAPTER 3 59Upgrading a Data-Tier ApplicationLet us recall the past for a moment, when updating changes to exist

Page 215

viii Contents Creating a UCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26Creating a UCP

Page 216 - PowerPivot data

60 CHAPTER 3 Data-Tier Applications 6. On the Select Package page, specify the DAC package that contains the new DAC version to upgrade to. Alter

Page 217 - Cube Functions

Upgrading a Data-Tier Application CHAPTER 3 61NOTE If the database has changed, it is a best practice to review the potential data losses before

Page 218 - The CUBEVALUE function

62 CHAPTER 3 Data-Tier ApplicationsFIGURE 3-12 Reviewing the result information on the Upgrade DAC pageNOTE Data-tier applications are a large an

Page 219 - Measures

63C H A P T E R 4High Availability and Virtualization EnhancementsMicrosoft SQL Server 2008 R2 delivers several enhancements in the areas of

Page 220 - DAX Functions

64 CHAPTER 4 High Availability and Virtualization Enhancements Windows Server 2008 R2 Hyper-V The Hyper-V virtualization technology im-provemen

Page 221 - Architecture

Failover Clustering with Windows Server 2008 R2 CHAPTER 4 65including Internet Information Services (IIS), Cluster Server, SQL Server 7.0 Enterpri

Page 222 - The PowerPivot System Service

66 CHAPTER 4 High Availability and Virtualization Enhancements Figure 4-1 illustrates a two-node single-instance failover cluster running SQL Serve

Page 223 - The PowerPivot Web Service

Failover Clustering with Windows Server 2008 R2 CHAPTER 4 67Guest Failover ClusteringIn the past, physical servers were usually afliated with the

Page 224 - The PowerPivot Gallery

68 CHAPTER 4 High Availability and Virtualization Enhancements NOTE Guest clustering is also supported when Hyper-V is on Windows Server 2008. How

Page 225 - Linked Documents

Failover Clustering with Windows Server 2008 R2 CHAPTER 4 69• List Cluster Volumes• List Cluster Services And Applications• Validate Quorum Con

Page 226

Contents ixCHAPTER 4 High Availability and Virtualization Enhancements 63Enhancements to High Availability with Windows Server 2008 R2 . . . . .

Page 227

70 CHAPTER 4 High Availability and Virtualization Enhancements 6. On the Conrmation page, review the details for each test, and then click Next

Page 228

Failover Clustering with Windows Server 2008 R2 CHAPTER 4 71The Windows Server 2008 R2 Best Practices Analyzer Another tool available in Windows S

Page 229

72 CHAPTER 4 High Availability and Virtualization Enhancements SQL Server 2008 R2 Virtualization and Hyper-VVirtualization is one of the hottest to

Page 230

SQL Server 2008 R2 Virtualization and Hyper-V CHAPTER 4 73Hyper-V01Hyper-V02Hyper-V03Hyper-V04C:\ClusterShares\Volume1VHDVHD VHD VHDC:\ClusterShar

Page 231

74 CHAPTER 4 High Availability and Virtualization Enhancements NOTE System requirements vary based on an organization's virtualization requir

Page 232

Implementing Live Migration for SQL Server 2008 R2 CHAPTER 4 75NOTE The Microsoft Assessment and Planning Toolkit can be used to identify whether

Page 233

76 CHAPTER 4 High Availability and Virtualization Enhancements Enabling CSVAssuming that the Hyper-V cluster has already been built, the next step

Page 234

Implementing Live Migration for SQL Server 2008 R2 CHAPTER 4 77 5. On the Specify Name And Location page, enter the name of the SQL Server VM an

Page 235 - About the Authors

78 CHAPTER 4 High Availability and Virtualization Enhancements 7. On the Networking page, connect the network adapter to an existing virtual net

Page 236 - What do

Implementing Live Migration for SQL Server 2008 R2 CHAPTER 4 79 11. From the Virtual Machines section of the results pane in Hyper-V Manager, ri

Comments to this Manuals

No comments