2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP...

Preview:

Citation preview

2

An Overview of SQL Server 2008New Features

Jeremy BoydMindscapeMSDN Regional Director & MVP – SQL Serverjeremy@mindscape.co.nz

DAT302

3

SQL08 Sessions at Tech-Ed

SessionsToday 3:30pm - DAT352 – Manageability Deep DiveToday 5:15pm - BIN252 – Reporting Services 2008Tuesday 12:10pm – DAT361 – Security Deep DiveTuesday 2:20pm – BIN310 – Analysis Services 2008Tuesday 3:45pm – DAT362 – Spatial Deep DiveWednesday 10:45am – DEV420 – LINQ to Entities

4

Agenda

Platform VisionTrusted

Security, Reliability and PerformanceProductive

T-SQL Enhancements and New Data TypesADO.NET Entities and LINQ

IntelligentAnalysis ServicesReporting Services

5

Dynamic Development

Beyond Relational

Pervasive Insight

Enterprise Data Platform

Mobile andDesktop

OLAP

FILE

XMLRDBMS

Services

Query

Analysis

Reporting Integration

Synch

Search

Cloud

Platform Vision

Server

6

SQL Server AuditTrusted

Native DDL for Audit configuration and managementCreate an Audit object to automatically log actions to:

FileWindows Application LogWindows Security Log

Ability to define granular Audit Actions of Users or Roles on DB objects

7

Native EncryptionTrusted

Transparent Data EncryptionEncrypts data at rest and backupsNo impact to existing appEncryption/decryption performed at database level

SQL Server 2008

DEK

Client Application

Encrypted data page

Support for hardware based key management

8

Ensuring Business ContinuityTrusted

Enhanced MirroringAuto-Page RepairLog Stream Compression

Hot-add CPU64 bit Enterprise onlysp_configure ‘affinity mask’ and ‘affinity I/O mask’

9

Encryption, Compression and Auditing

demo

10

Improve query performance and lower storage and maintenance costsOf benefit for well known sets of data (<=50% of full table set)

Also very useful as a filter for UNIQUE indexes!

Filtered IndexesTrusted

11

Manage workload and system resource consumption3 new concepts

Resource PoolsWorkload GroupsClassifier Functions

Directs each scheduler as to how to prioritize work within each virtual instance (pool)

Resource GovernorTrusted

12

Resource Governor

demo

13

New Date and Time data typesDATE, TIME, DATETIME2DATETIMEOFFSET

GROUPING SETSSpecify multiple group by clauses

Multi row INSERT+= assignment

General T-SQL EnhancementsProductive

14

New operation for performing multiple DML operations across a full outer joinSo you can perform INSERTS, UPDATES and DELETES as appropriate on

Inner joinLeft outer joinRight outer join

Key scenariosConditional insert / updateSynchronization

New MERGE StatementProductive

15

Allows TABLE types to be passed as a parameter to a stored procedureUse by

Defining a User Defined Table typeDeclaring a parameter in sproc or function as that table type passing as READONLYCall by passing a table instance

Table Value ParametersProductive

16

Table Value Parameters

demo

17

ADO.NET Entities and LINQProductive

Use ADO.NET Entities to rationalize our data and simplify development

Object Relational MappingLeverage LINQ for queryingIntegrated Designer for Visual Studio 2008

Reflects a shift towards domain driven architectures over traditional data silos

18

Configuration ServersProductive

Group servers together for configuration or managementMulticast query – target all servers in the group at the same time!Collectively inspect or apply policy

19

Policy Based ManagementProductive

New declarative policy system to manage instancesUses DDL triggers and SQLCLR to enforce policySupports “true transactional” eventsFully scriptable

20

PowershellProductive

A new tool for scripting on WindowsSQL Server integration

Object Explorer: Right-click, Start PowerShellSQL Agent integration

Can now create PowerShell job steps.External access

Native Providers to access SMO data and PolicyProvides direct SMO accessInvoke-sqlcmd cmdlet

21

Policy Based Management and Powershell

demo

22

Beyond RelationalProductive

Hierarchies and HierarchyId data typeFile system based dataSparse columns

Allows columns to be marked as SPARSE indicating they may not have any data attached

Integrated Full Text SearchLarge User Defined types

Vector based, industry spatial standards Two new data types:

GEOMETRY GEOGRAPHY

Implemented as managed UDT’s in separate assembly

Spatial DataProductive

24

FILESTREAM and Spatial Data

demo

25

ReportingIntelligent

Enterprise Reporting EngineNew Report DesignerNew Visualization through ControlsMicrosoft Office RenderingIntegration with SharePoint

Detailed in BIN252 – Reporting Services 2008

26

AnalysisIntelligent

Improved scale and performanceBlock ComputationsWrite back to MOLAPStar join query optimizationPredictive Analysis

Detailed in BIN310 – Analysis Services 2008

27

Summary

Available now – MSDN and TechNet downloadsTrusted

Security, Reliability and PerformanceProductive

T-SQL Enhancements and New Data TypesADO.NET Entities and LINQ

IntelligentAnalysis ServicesReporting Services

28

Related Content

SessionsUp next – DAT352 – Manageability Deep DiveToday 5:15pm - BIN252 – Reporting Services 2008Tuesday 12:10pm – DAT361 – Security Deep DiveTuesday 2:20pm – BIN310 – Analysis Services 2008Tuesday 3:45pm – DAT362 – Spatial Deep DiveWednesday 10:45am – DEV420 – LINQ to Entities

My detailsjeremy@mindscape.co.nzhttp://turtle.net.nz/blog

29

Q & A

30

Resources

www.microsoft.com/techedTech·TalksTech·Ed BloggersLive Simulcasts Virtual Labs

http://microsoft.com/technet

Evaluation licenses, pre-released products, and MORE!

http://microsoft.com/msdn

Developer’s Kit, Licenses, and MORE!

31

© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED

OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.