a technical overview of microsoft sql server 2005

55
SQL Server 2005 Overview Greg Low Readify [email protected]

Upload: databaseguys

Post on 20-Jul-2015

413 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: A Technical Overview of Microsoft SQL Server 2005

SQL Server 2005 Overview

Greg Low

Readify

[email protected]

Page 2: A Technical Overview of Microsoft SQL Server 2005

Agenda

• Introduction• Manageability• Security• Business Intelligence• Session Summary

Page 3: A Technical Overview of Microsoft SQL Server 2005

Prerequisite Knowledge

• Knowledge of – Microsoft SQL Server 2000 or – Microsoft SQL Server 7.0

Level 200Level 200

Page 4: A Technical Overview of Microsoft SQL Server 2005

Who Am I?• SQL Server & .NET Consultant with Readify• Director of White Bear Consulting• Microsoft MVP for .NET• INETA User Group Relations Chair for Asia-Pacific• President of Qld MSDN User Group• President of Qld SQL Server User Group

Page 5: A Technical Overview of Microsoft SQL Server 2005

IntroductionSQL Server 2005 Data Platform

Page 6: A Technical Overview of Microsoft SQL Server 2005

.NET FrameworkCommon Language Runtime IntegrationUser-defined AggregatesUser-defined Data TypesUser-defined FunctionsSQL Server .NET Data ProviderExtended Triggers

Data TypesManaged SQL TypesNew XML DatatypeVarchar (MAX) Varbinary (MAX)

SQL Server EngineNew Message Service BrokerHTTP Support (Native HTTP)Database Tuning Advisor Multiple Active Result Sets Persisted Computed ColumnsSnapshot Isolation Level Scale Up PartitioningVIA support NUMA support

Database Failure and RedundancyFail-over Clustering (up to 8 node)Enhanced Multi-instance SupportDatabase MirroringDatabase Snapshots

XMLXQUERY Support XML Data Manipulation Language FOR XML EnhancementsXML Schema (XSD) Support MSXML 6.0 (Native).Net XML Framework

Full-text SearchIndexing of XML Datatype

Database MaintenanceBackup and Restore EnhancementsChecksum Integrity ChecksDedicated Administrator ConnectionDynamic AWEFast RecoveryHighly-available UpgradeOnline Index OperationsOnline RestoreParallel DBCCParallel Index Operations

Management ToolsNew Management StudioMDX Query EditorVersion Control SupportXML/ASQLCMD Command Line Tool

Performance Tuning Profiler EnhancementsProfiling Analysis ServicesExportable Showplan Exportable Deadlock Traces

MDAC SNACMicrosoft Installer base setupSupport for Active Directory Deployment

SQL Client .NET Data ProviderServer Cursor SupportAsynch

SecurityAll Permissions GrantableFine Grain Administration RightsSeparation of Users and SchemaData encryption primitives

ReplicationAuto-tuning Replication AgentsOracle PublicationImproved Blob Change Tracking Replication Monitor

OLAP and Data MiningAnalysis Management Objects Windows Integrated Backup and RestoreWeb Service/XML for AnalysisDTS and DM IntegrationNew Data Mining AlgorithmsAuto Packaging and Deployment

Data Transformation ServicesNew Architecture (DTR + DTP)Complex Control FlowsControl Flow DebuggingFor Each EnumerationsProperty MappingsFull Data Flow DesignerFull DTS Control Flow DesignerGraphical Presentation of Pkg ExecutionImmediate Mode and Project ModePackage (Advanced) Deployment ToolsCustom Tasks and Transformations

Reporting ServicesMultiple Output Formats Parameters (Static, Dynamic,

Hierarchical)Bulk Delivery of Personalized ContentSupport Multiple Data Sources STS (Web Parts, Doc Libraries)Visual Design ToolCharting, Sorting, Filtering, Drill-ThroughScheduling, CachingComplete Scripting EngineScale Out architectureOpen XML Report Definition

Notification Services & SQL Server CE

Page 7: A Technical Overview of Microsoft SQL Server 2005

Secure, reliable, and productive database platform for line-of-business and analytical applications

• High availability for enterprise applications• Security enhancements• Focus on manageability; self optimization

Enterprise Data Management

Developer Productivity

Business Intelligence

• Integration with Visual Studio® and .NET• Native XML technology • Interoperability: open standards, Web services

• Comprehensive ETL solution• Real-time decision making: reporting, data mining• Scalability and availability enhancements

IntroductionEmpowering Productivity

Page 8: A Technical Overview of Microsoft SQL Server 2005

Agenda

• Introduction• Manageability• Security• Business Intelligence• Session Summary

Page 9: A Technical Overview of Microsoft SQL Server 2005

Manageability Tools

• Replaces Enterprise Manager, Query Analyzer• Can manage multiple servers

• New: SQL Server Management Studio– New rich GUI– Integrated authoring, management– Supports all SQL Server components

Page 10: A Technical Overview of Microsoft SQL Server 2005

Management StudioManagement Studio

demonstrationdemonstration

Page 11: A Technical Overview of Microsoft SQL Server 2005

ManageabilitySQLCMD

• Command-line tool for executing T-SQL statements and scripts– Replaces osql– Uses OLE DB (not ODBC or DB-Library)

• Has a dedicated administrator connection

Page 12: A Technical Overview of Microsoft SQL Server 2005

SQLCMD SQLCMD

demonstrationdemonstration

Page 13: A Technical Overview of Microsoft SQL Server 2005

ManageabilitySQLiMail• Uses SMTP, not Extended MAPI

• Profiles– Secure – Profiles enable specification of users with access

to SQLiMail profile– Integrated management within SQL Server– Failover – can point to multiple SMTP servers from one

profile for ensured mail delivery

• Service Broker used to deliver messages to avoid blocking a stored procedure

• Execute sendimail_sp

Page 14: A Technical Overview of Microsoft SQL Server 2005

Manageability Tuning Tools• XML Show Plan

– Publicly available Schema

– Programmatic access

– Portability

• Database Tuning Advisor– Time bound tuning

– What-if analysis

– Scalability

Page 15: A Technical Overview of Microsoft SQL Server 2005

Manageability Diagnostic Tools

• Dynamic Management Views– Server transparency– “sys.memory_clerks” – “sys.schedulers”

Page 16: A Technical Overview of Microsoft SQL Server 2005

• SQL Profiler– Integrated with Performance Monitor– Deadlock graph

Manageability Diagnostic Tools

Page 17: A Technical Overview of Microsoft SQL Server 2005
Page 18: A Technical Overview of Microsoft SQL Server 2005
Page 19: A Technical Overview of Microsoft SQL Server 2005

Agenda

• Introduction• Manageability• Security• Business Intelligence• Session Summary

Page 20: A Technical Overview of Microsoft SQL Server 2005

SecurityFeature Enhancements

• Authorization Enhancements– User schema separation– Module execution context– Catalog security– Granular permission control– Encryption enhancements

• Auditing– DDL triggers– Events

Page 21: A Technical Overview of Microsoft SQL Server 2005

SecurityUser-Schema Separation

• New DDL for user and schemas– CREATE/ALTER/DROP for USER, ROLE, and

SCHEMA

• Dropping user does not require application rewrite

Page 22: A Technical Overview of Microsoft SQL Server 2005

SecuritySolution: User-Schema Separation

UserUserDatabase Object SchemaSchema

Contained inContained in Owned byOwned byOwned ByOwned By

TableTable

ViewView

Stored ProcStored Proc

FunctionFunction

User 2

Owned by

Owned by

Drop user does NOT require application change!Drop user does NOT require application change!

Page 23: A Technical Overview of Microsoft SQL Server 2005

Security User-Schema Separation

• Each schema has an owning principal – user or role

• Each user has a default schema for name resolution

• Object creation inside schema requires CREATE permission and ALTER or CONTROL permission on the schema– Example: Creation of table in

schema requires CREATE TABLE permission and ownership of schema or ALTER or CONTROL on schema

Role1 User1

Owns

Has default schema

Owns

Approle1

Owns

Schema1 Schema2

Schema3

SP1Fn1

Tab1

Database

Page 24: A Technical Overview of Microsoft SQL Server 2005

Security Execution Context

User 3User 3

Select Perms Select Perms checked for User3checked for User3

Execute Perms Execute Perms checked for User3checked for User3

User1.Proc1User1.Proc1 User1.T1User1.T1

Execute Perms Execute Perms checked for User3checked for User3

NONO Perms Perms checked for User3checked for User3

User 3User 3 User2.Proc1User2.Proc1 User1.T1User1.T1

‘‘Execute AS ‘X’ ’Execute AS ‘X’ ’

Execute Perms Execute Perms checked for User3checked for User3

Select Perms Select Perms checked forchecked for ‘X’. ‘X’. Not for user3Not for user3

SQL Server 2005SQL Server 2005

SQL Server 2000SQL Server 2000User2.Proc1User2.Proc1 User1.T1User1.T1

Page 25: A Technical Overview of Microsoft SQL Server 2005

SecurityModule Execution Context

• Execute AS CALLER• Execute AS “UserName”• Execute AS SELF• Execute AS OWNER

Page 26: A Technical Overview of Microsoft SQL Server 2005

SecurityCertificates

• Encryption enhancements– Encryption uses symmetric keys, asymmetric keys and

certificates– SQL Server 2005 can generate certificates for encryption– RC4, RSA, Triple-DES and AES encryption supported

• Encryption can be used with any level of SQL Server 2005 securable

Page 27: A Technical Overview of Microsoft SQL Server 2005

Agenda

• Introduction• Manageability• Security• Business Intelligence• Session Summary

Page 28: A Technical Overview of Microsoft SQL Server 2005

Data Transformation Services

• Enterprise ETL platform– High performance– High scale– Trustworthy and reliable

• Best in class usability– Rich development environment– Source control– Visual debugging of control flow and data– Great range of transforms out-of-the-box

• Highly extensible– Custom tasks– Custom enumerations– Custom transformations– Custom data sources

Page 29: A Technical Overview of Microsoft SQL Server 2005

BI Development Studio A complete, integrated tool for the

development of BI applications One tool, multiple technologies:

Relational, OLAP, DM, DTS, Reporting, Code, Web pages…

Enterprise software development environment: Integrated into Visual Studio.NET Team development, source control, versioning,

developer isolation, resource independent coding

Development cycle lifetime support Develop, Test, Deploy, Modify, Test…

Breakthrough ease of use

Page 30: A Technical Overview of Microsoft SQL Server 2005

Business Intelligence Business Intelligence Development StudioDevelopment Studio

demonstrationdemonstration

Page 31: A Technical Overview of Microsoft SQL Server 2005

• Introduced with SQL Server 2000– Open, extensible enterprise reporting

solution– Report authoring, management, delivery– Office System integration– VS.NET development environment

• SQL Server 2005 enhancements– Integration with AS, DTS, management

tools– Developer enhancements– Improved report interactivity– Rich end-user reporting

Reporting Services

Page 32: A Technical Overview of Microsoft SQL Server 2005

Analysis Services

• Unified Dimensional Model– Integrating relational and OLAP views

• Pro-active caching– Bringing the best of MOLAP to ROLAP

• Web services– Native XML/A

Page 33: A Technical Overview of Microsoft SQL Server 2005

Enterprise BI - Today

DW

Datamart

Datamart

Data Model

Reporting Tool (3)

MOLAP

MOLAP

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)

Page 34: A Technical Overview of Microsoft SQL Server 2005

Enterprise BI – a Messy Reality

DW

Datamart

Datamart

Data Model

Reporting Tool (3)

MOLAP

MOLAP

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)

OLAPvs.Reporting

Duplicate Data

Duplicate Models

Page 35: A Technical Overview of Microsoft SQL Server 2005

DW

Datamart

Datamart

Data Model

BI Applications

MOLAP

MOLAP

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)UDM

Enterprise BI – With A UDM

Page 36: A Technical Overview of Microsoft SQL Server 2005

XM

L/A

or

OD

BO

DW

Datamart

Datamart

BI Applications

MOLAP

MOLAP

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)UDM

AnalysisServices

Analysis Services Scaleable, High Performance UDM Server

Page 37: A Technical Overview of Microsoft SQL Server 2005

XM

L/A

or

OD

BO

DW

Datamart

Datamart

BI Applications

MOLAP

MOLAP

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)UDM

AnalysisServices

CacheNotifications

Analysis ServicesTransparent MOLAP Caching

Page 38: A Technical Overview of Microsoft SQL Server 2005

XM

L/A

or

OD

BO

DW

Datamart

Datamart

BI Applications

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)UDM

AnalysisServices

Cache

Analysis ServicesData Marts are Virtualized

Page 39: A Technical Overview of Microsoft SQL Server 2005

XM

L/A

or

OD

BO

DW

BI Applications

Reporting Tool (1)

ToolData Source

OLAP Browser (2)

OLAP Browser (1)

Reporting Tool (1)UDM

AnalysisServices

Cache

Analysis ServicesStreamlined BI Infrastructure

Page 40: A Technical Overview of Microsoft SQL Server 2005

Data Mining Focus• Complete set of analytics

– Most popular data mining algorithms (5 new)– Enhanced creating, editing, and viewing environment

• Embedded data mining– Embed data mining in LOB applications– Complete SQL language based API– Native XML/A support

• Integrated solution– Tight integration with Relational, OLAP, DTS, Reporting technologies– Comprehensive SQL Server BI platform

• Alliance with ISVs– Focus on broadening the market– Agreed on finalizing DM industry standard based on OLE DB for DM and XML/A

Page 41: A Technical Overview of Microsoft SQL Server 2005

Value of Data Mining

• 5 new algorithms• Graphical tools/wizards• 12 embeddable viewers

• Tightly integrated with AS, DTS, Reporting• Integration with Web/Office apps

SQL Server 2005SQL Server 2005

OLAP

Reports (Adhoc)

Reports (Static)

Data Mining

Business Knowledge

Easy DifficultUsability

Re

lati

ve

Bu

sin

es

s V

alu

e

Page 42: A Technical Overview of Microsoft SQL Server 2005

Complete Set of Algorithms

Decision TreesDecision Trees ClusteringClustering

Time SeriesTime Series

Sequence Sequence ClusteringClustering

AssociationAssociation

Naïve BayesNaïve Bayes

Neural NetNeural Net

Introduced in SQL Server 2000

Page 43: A Technical Overview of Microsoft SQL Server 2005

Agenda

• Introduction• Manageability• Security• Business Intelligence• Session Summary

Page 44: A Technical Overview of Microsoft SQL Server 2005

Session Summary

• New integrated management tools• Secure by design, by deployment, and by default• Expanded and enhanced availability options

Page 45: A Technical Overview of Microsoft SQL Server 2005

For More Information

• Visit TechNet at www.microsoft.com/technet

Page 46: A Technical Overview of Microsoft SQL Server 2005

Microsoft LearningTraining Resources for IT Professionals

To see the detailed syllabus or to locate a training provider,To see the detailed syllabus or to locate a training provider,visitvisit

www.microsoft.com/learningwww.microsoft.com/learning

NowUpdating Your Database Development Skills to Microsoft SQL Server 2005

2734A

NowUpdating Your Database Administration Skills to Microsoft SQL Server 2005

2733A

AvailableTitleCourse

Page 47: A Technical Overview of Microsoft SQL Server 2005

SQL Server 2005 2 Day Workshops

• Microsoft SQL Server 2005 Database Infrastructure & Scalability,

• presented by Brent Challis, DDLS

• Microsoft SQL Server 2005 Business Intelligence,

• presented by Peter Myers. Tenix Connections

• Microsoft SQL Server 2005 Development,• presented by Greg Low, White Bear Consulting

Page 48: A Technical Overview of Microsoft SQL Server 2005

SQL Server 2005 Workshops

• Cost $650 and $575 for early birds. • For Schedule, Registration and further

information

– Partners only http://www.microsoft.com/australia/partner/training/

– Customers and Partners: http://www.microsoft.com/australia/events/sql2005 (This page will be available later this month)

Page 49: A Technical Overview of Microsoft SQL Server 2005

SQL Server 2005 Workshops

• Register Now for Yukon Workshops

Microsoft Partner can register for all 3 workshops at www.microsoft.com/australia/partner/training/default.aspx

Microsoft Customers can register for all 3 workshops at• com.au/YukonCusBI

• com.au/YukonCusDev

• com.au/YukonCusAdmin

Workshops run nationally and are scheduled between 7 March and 30 June 2005, places are limited so be quick.

Page 50: A Technical Overview of Microsoft SQL Server 2005

User Community

• SQLServer.org.au (Australian SQL Server User Group)

• Sign up and attend your local user group!

Page 51: A Technical Overview of Microsoft SQL Server 2005

Code Camp• Code Camp Oz is happening 23/24th April at

Charles Sturt University in Wagga Wagga• Be there!• www.codecampoz.com

Page 52: A Technical Overview of Microsoft SQL Server 2005

The SQL Server 2005 University Masters

•Fully accredited, masters level degree from Charles Sturt University

•SQL Server 2005 MCDBA certification included as an integral component•Graduates eligible for full professional level membership of the Australian Computing Society •Part time study delivered via Distance Education

•Qualifies for Government FEE-HELP program

•Places available for experienced applicants without previous qualifications

First intake commences September 2005Register your interest at www.itmasters.info

Page 53: A Technical Overview of Microsoft SQL Server 2005

Where Can I Get Help?• Free chats and webcasts

www.microsoft.com/technet/community/chatswww.microsoft.com/technet/community/webcasts

• List of newsgroupswww.microsoft.com/technet/community/newsgroups

• Microsoft community siteswww.microsoft.com/technet/community

• Community eventswww.microsoft.com/technet/community/events

• Community columnswww.microsoft.com/technet/community/columns

Page 54: A Technical Overview of Microsoft SQL Server 2005
Page 55: A Technical Overview of Microsoft SQL Server 2005

Session Credits

• Author: Saskia Schott – Modified by Greg Low• Producer/Editor: Alan Le Marquand• Technical Specialists

– [Reviewer 1]– [Reviewer 2]

• Microsoft Reviewers/Editors