31

2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server [email protected] DAT302

Embed Size (px)

Citation preview

Page 1: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302
Page 2: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

2

An Overview of SQL Server 2008New Features

Jeremy BoydMindscapeMSDN Regional Director & MVP – SQL [email protected]

DAT302

Page 3: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@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

Page 4: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

4

Agenda

Platform VisionTrusted

Security, Reliability and PerformanceProductive

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

IntelligentAnalysis ServicesReporting Services

Page 5: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 6: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 7: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 8: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

8

Ensuring Business ContinuityTrusted

Enhanced MirroringAuto-Page RepairLog Stream Compression

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

Page 9: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

9

Encryption, Compression and Auditing

demo

Page 10: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 11: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 12: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

12

Resource Governor

demo

Page 13: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

13

New Date and Time data typesDATE, TIME, DATETIME2DATETIMEOFFSET

GROUPING SETSSpecify multiple group by clauses

Multi row INSERT+= assignment

General T-SQL EnhancementsProductive

Page 14: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 15: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 16: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

16

Table Value Parameters

demo

Page 17: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 18: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 19: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

19

Policy Based ManagementProductive

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

Page 20: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 21: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

21

Policy Based Management and Powershell

demo

Page 22: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 23: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

Vector based, industry spatial standards Two new data types:

GEOMETRY GEOGRAPHY

Implemented as managed UDT’s in separate assembly

Spatial DataProductive

Page 24: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

24

FILESTREAM and Spatial Data

demo

Page 25: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

25

ReportingIntelligent

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

Detailed in BIN252 – Reporting Services 2008

Page 26: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

26

AnalysisIntelligent

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

Detailed in BIN310 – Analysis Services 2008

Page 27: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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

Page 28: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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 [email protected]://turtle.net.nz/blog

Page 29: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

29

Q & A

Page 30: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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!

Page 31: 2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server jeremy@mindscape.co.nz DAT302

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.