sql server 2008 highlights

36
SQL Server 2008 Your questions answered…

Upload: intergen

Post on 22-Nov-2014

5.469 views

Category:

Technology


3 download

DESCRIPTION

This presentation was delivered at one of Intergen's Twilight sessions during 2008. It provides an overview of the new features of Microsoft SQL Server 2008, and is targeted at both business and IT users.

TRANSCRIPT

Page 1: SQL Server 2008 Highlights

SQL Server 2008

Your questions answered…

Page 2: SQL Server 2008 Highlights

SQL Server 2008

Which boat are you in?

Your developers and IT pros can‟t wait to start using all

the new stuff

Your developers and IT pros aren‟t interested in all the

new stuff

You think it‟s all too new – let‟s just wait for the first

service pack to come out

You don‟t know what to think amongst all the marketing

hype

Page 3: SQL Server 2008 Highlights

SQL Server 2008

New features in SQL Server 2008Transparent Data Encryption

External Key Management

Data Auditing

Pluggable CPU

Transparent Failover for Database Mirroring

Declarative Management Framework

Server Group Management

Powershell

Streamlined Installation

Enterprise System Management

Performance Data Collection

System Analysis

Data Compression

Query Optimization Modes

Resource Governor

Entity Data Model

LINQ

Visual Entity Designer

Entity Aware Adapters

Synchronized Programming Model

Visual Studio Support

SQL Server Conflict Detection

FILESTREAM data type

Integrated Full Text Search

Sparse Columns

Large User Defined Types

Date/Time Data Type

LOCATION data type

SPATIAL data type

Virtual Earth Integration

Partitioned Table Parallelism

Query Optimizations

Persistent Lookups

Change Data Capture

Backup Compression

MERGE SQL Statement

Data Profiling

Star Join

SQL Server Change Tracking

Transparent Data Encryption

Enterprise Reporting Engine

Internet Report Deployment

Block Computations

Scale out Analysis

Export to Word and Excel

Author reports in Word and Excel

Report Builder Enhancements

TABLIX

Charts and Gauges controls

Rich Formatted Data

Personalized Perspectives

… and many more

Page 4: SQL Server 2008 Highlights

SQL Server 2008

Dynamic Development

Beyond Relational

Pervasive Insight

Enterprise Data Platform

Mobile and

Desktop

OLAP

FILE

XML

RDBMS

Services

Query

Analysis

Reporting Integration

Synch

Search

CloudServer

Platform vision

Page 5: SQL Server 2008 Highlights

SQL Server 2008

What are we looking for?

Trusted

Security, Reliability and Performance

Productive

Developers

IT Pros

Breadth of solutions

Integration Services

Analysis Services

Reporting Services

Synch/Search

Page 6: SQL Server 2008 Highlights

SQL Server 2008

Trusted

Auditing

Encryption

Compression

Performance

Ensuring Business continuity

Page 7: SQL Server 2008 Highlights

SQL Server 2008

Auditing

Native DDL for Audit configuration and management

Create an Audit object to automatically log actions to:

File

Windows Application Log

Windows Security Log

Ability to define granular Audit Actions of Users or Roles

on DB objects

Page 8: SQL Server 2008 Highlights

SQL Server 2008

Native Encryption

Transparent Data Encryption

Encrypts data at rest and within

backups

No impact to existing apps

Encryption/decryption performed

at database level

Support for hardware based key

management

SQL Server 2008

DEK

Client Application

Encrypted data page

Page 9: SQL Server 2008 Highlights

SQL Server 2008

Compression

Within database

Row compression

Page compression

Within backups

Page 10: SQL Server 2008 Highlights

SQL Server 2008

Encryption, Compression and Auditing

Page 11: SQL Server 2008 Highlights

SQL Server 2008

Filtered Indexes

Improve query performance and lower storage and

maintenance costs

Of benefit for well known sets of data (<=50% of full table

set)

Also very useful as a filter for UNIQUE indexes!

Page 12: SQL Server 2008 Highlights

SQL Server 2008

Resource Governor

Manage workload and system resource consumption

3 new concepts

Resource Pools

Workload Groups

Classifier Functions

Directs each scheduler as to how to prioritize work within

each virtual instance (pool)

Page 13: SQL Server 2008 Highlights

SQL Server 2008

Resource Governor

Page 14: SQL Server 2008 Highlights

SQL Server 2008

Ensuring Business Continuity

Enhanced Mirroring

Auto-Page Repair

Log Stream Compression

Hot-add CPU

64 bit Enterprise only

sp_configure „affinity mask‟ and „affinity I/O mask‟

Page 15: SQL Server 2008 Highlights

SQL Server 2008

New Date and Time data types

DATE, TIME, DATETIME2

DATETIMEOFFSET

GROUPING SETS

Specify multiple group by clauses

Multi row INSERT

+= assignment

Inline variable initialisation

General T-SQL EnhancementsProductive – for Developers

Page 16: SQL Server 2008 Highlights

SQL Server 2008

MERGE statementProductive – for Developers

New operation for performing multiple DML operations

across a full outer join

So you can perform INSERTS, UPDATES and DELETES

as appropriate

Key scenarios

Conditional insert / update

Synchronization

Page 17: SQL Server 2008 Highlights

SQL Server 2008

Allows TABLE types to be passed as a parameter to a

stored procedure

Use by

Defining a User Defined Table type

Declaring a parameter in sproc or function as that table type

passing as READONLY

Call by passing a table instance

Table Value Parameters Productive – for Developers

Page 18: SQL Server 2008 Highlights

SQL Server 2008

Hierarchies and HierarchyId data type

File system based data

Sparse columns

Allows columns to be marked as SPARSE indicating they

may not have any data attached

Integrated Full Text Search

Beyond Relational Productivity – for Developers

Page 19: SQL Server 2008 Highlights

SQL Server 2008

Vector based, industry spatial standards

Two new data types:

GEOMETRY

GEOGRAPHY

Implemented as managed UDT‟s in separate

assembly

Spatial DataProductivity – for Developers

Page 20: SQL Server 2008 Highlights

SQL Server 2008

Use ADO.NET Entities to rationalize our data and simplify

development

Object Relational Mapping

Leverage LINQ for querying

Reflects a shift towards domain driven architectures over

traditional data silos

At Intergen we use other ORMs instead…

But LINQ is great

ADO.NET Entity Framework and LINQ Productive – for Developers

Page 21: SQL Server 2008 Highlights

SQL Server 2008

T-SQL EnhancementsMERGE statementTable Value Parameters

Page 22: SQL Server 2008 Highlights

SQL Server 2008

Configuration ServersProductive – for IT Pros

Group servers together for configuration or management

Multicast query – target all servers in the group at the

same time!

Collectively inspect or apply policy

Page 23: SQL Server 2008 Highlights

SQL Server 2008

Policy Based ManagementProductive – for IT Pros

New declarative policy system to manage instances

Uses DDL triggers and SQLCLR to enforce policy

Supports “true transactional” events

Fully scriptable

Page 24: SQL Server 2008 Highlights

SQL Server 2008

PowershellProductive – for IT Pros

A new tool for scripting on Windows

SQL Server integration

Object Explorer: Right-click, Start PowerShell

SQL Agent integration

Can now create PowerShell job steps.

External access

Native Providers to access SMO data and Policy

Provides direct SMO access

Invoke-sqlcmd cmdlet

Page 25: SQL Server 2008 Highlights

SQL Server 2008

Configuration ServersPolicy Based ManagementPowershell

Page 26: SQL Server 2008 Highlights

SQL Server 2008

Data Profiling

Change Data Capture

C# and VB.NET scripting

Lookup Transformation enhancements

Performance improvements

New Performance Counters

Integration ServicesBreadth of solutions

Page 27: SQL Server 2008 Highlights

SQL Server 2008

Information about what changed at the source

Operation (Insert, Update, Delete)

Update mask (which columns changed)

Changes captured from the log asynchronously

Minimal impact on source system

Log reader can be scheduled to run during idle time

Enabled per table

Hidden change tables store captured changes

One change table per source table that is tracked

CDC APIs provide access to change data

Change

Tables

OLTP

Data Warehouse

Change Data CaptureBreadth of solutions

Page 28: SQL Server 2008 Highlights

SQL Server 2008

Data Profiling

Page 29: SQL Server 2008 Highlights

SQL Server 2008

Design it Right – help baked into design tools

Best practices

Performance tuning tricks

Configuration warnings

Performance Monitoring

Scalable backups

Scalable shared databases

Analysis ServicesBreadth of solutions

Page 30: SQL Server 2008 Highlights

SQL Server 2008

Combined Report Designer/Builder

New Chart/Graph/Guage visualisations

Rendering to Word, Excel, PDF, RTF

Report Designer improvements

Integration with SharePoint

Reporting ServicesBreadth of solutions

Page 31: SQL Server 2008 Highlights

SQL Server 2008

Scale Breaks

Frame Effects

Drawing Styles

Multiple Chart Areas

Calculated Series

Striplines

Multiple Legends

Page 32: SQL Server 2008 Highlights

SQL Server 2008

Gauge Samples

Radial Gauge Linear Gauge

Page 33: SQL Server 2008 Highlights

SQL Server 2008

Synch services – v1.0

Fulltext indexing built into the SQL engine

Synch/SearchBreadth of solutions

Page 34: SQL Server 2008 Highlights

SQL Server 2008

Dynamic Development

Beyond Relational

Pervasive Insight

Enterprise Data Platform

Mobile and

Desktop

OLAP

FILE

XML

RDBMS

Services

Query

Analysis

Reporting Integration

Synch

Search

CloudServer

Platform vision

Page 35: SQL Server 2008 Highlights

SQL Server 2008

Enterprise Editions and featuresCategory Feature Name Enterprise StandardHigh Availability Database snapshots Yes No

High Availability Online indexing Yes No

High Availability Online restore Yes No

High Availability Backup compression Yes No

Scalability Partitioning Yes No

Scalability Data Compression Yes No

Scalability Resource Governor Yes No

Security Fine grained auditing Yes No

Security Transparent database encryption Yes No

Integration Services Fuzzy logic/term extraction tasks Yes No

Integration Services Data mining tasks Yes No

Integration Services Dimension/Partition processing tasks Yes No

Data Warehouse Scaling Change data capture Yes No

Data Warehouse Scaling Star join query optimization Yes No

Data Warehouse Scaling Partitioned cubes Yes No

Data Warehouse Scaling Proactive caching Yes No

Multi-Dimensional Analytics Writeback dimensions Yes No

Multi-Dimensional Analytics Perspectives Yes No

Reporting Data driven subscriptions Yes No

Reporting Infinite click-through Yes No

Page 36: SQL Server 2008 Highlights

SQL Server 2008

Quick wins/best bets

Trusted platform

Auditing, Database Encryption, Backup Compression,

Resource Governor, Management Data Warehouse

Developer Productivity

Everything except ADO.NET Entity Framework

IT Pro Productivity

Configuration Servers, Policy-based management,

Powershell

Business Intelligence

Falling into the pit of success