What’s New for Developers in SQL Server 2008 Mike Taulty, Mike Ormond Developer & Platform Group Microsoft Ltd

Slides:



Advertisements
Similar presentations
Language Integrated Query (LINQ) Martin Parry Developer & Platform Group Microsoft Ltd
Advertisements

.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Performance and Scalability. Optimizing PerformanceScaling UpScaling Out.
Hilton Giesenow - The MOSS Show Overview of the SharePoint 2010 Developer Platform SESSION CODE: OFC308.
ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd
.NET Framework V3.5+ & RESTful web services Mike Taulty Developer & Platform Group Microsoft Ltd
The Microsoft Technical Roadshow 2007 Advances for Data in VS “Orcas” Mike Taulty Developer & Platform Group Microsoft Ltd
What’s new in ASP.NET 3.5? Mike Ormond Developer & Platform Group Microsoft Ltd
Jeremy Boyd Director – Mindscape MSDN Regional Director
Graeme Scott – Technology Solution Professional Reduce Infrastructure Costs & Increase Productivity with SQL Server 2008.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Web Client 2.0 for NAV 2013R2 Lukasz Zoglowek & Thomas S. Jensen
Microsoft Business Intelligence Gustavo Santade Business Intelligence Project Manager Improving Business Insight Building a cube using Analysis Services.
Discover, Master, InfluenceSlide 1 SQL Server Compact Edition and the Entity Framework Rob Sanders Readify.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Eric Nelson Developer & Platform Group Microsoft Ltd
Using The WDK For Windows Logo And Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Performance and Scalability. Performance and Scalability Challenges Optimizing PerformanceScaling UpScaling Out.
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder.
2 An Overview of SQL Server 2008 New Features Jeremy Boyd Mindscape MSDN Regional Director & MVP – SQL Server DAT302.
Business Solutions Using Microsoft ® Office SharePoint ® Server ROADSHOW.
OFC335 Microsoft Office Word 2007 XML Programmability: True Data/View Separation and Rich Eventing for Custom XML Tristan Davis Program Manager Microsoft.
Project “Astoria” first announced in Mix 2007 Shared early prototypes, got tons of feedback Now we’re talking about the real deal Production quality bits,
Ronnie Saurenmann Principal Architect Microsoft Switzerland.
Tony Goodhew Product Planner DEV328.
ADO.NET Entity Framework Mike Taulty Developer & Platform Group Microsoft Ltd
Overview of Silverlight Mike Taulty Developer & Platform Group Microsoft Ltd
Why data services? Common challenges when creating rich web applications Creating rich web applications with data services Future scenarios & roadmap.
Under New Management Andrew Fryer Microsoft UK Andrew Fryer Microsoft UK.
1 ADO.NET Data Services Mike Taulty Developer & Platform Group Microsoft Ltd
Stephen Forte DAT401 from s in dat.Speaker select s.Bio; Chief Strategy Officer of Telerik Certified Scrum Master Active in the community: International.
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
Your Data Any Place, Any Time Performance and Scalability.
Aniruddha Deswandikar & Govind Kanshi Microsoft Technology Center, Bangalore SESSION CODE: ##### Building performant Web applications.
Language Integrated Query Mike Taulty Developer & Platform Group Microsoft Ltd
Your Data Any Place, Any Time Beyond Relational. Overview of Beyond Relational Applications Today Beyond Relational Feature Overview Whirlwind Feature.
2 Behind every great site, there is great data Eric Nelson Developer Evangelist Microsoft UK
Data Access Methodologies: When to choose what (ADO.NET, Entity Framework, WCF Data Services) Wriju Ghosh Lead Partner Consultant, Microsoft.
2 ADO.NET Data Services for the Web Mike Flasko Program Manager, Microsoft “Project Astoria”
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
Building and Consuming REST-based Data Services for the Web
System Center Marketing
System Center Marketing
What’s New in SQL Server 2016 Master Data Services
Visual Studio Tools for Office 2005
Accessing and Surfacing LOB Data in SharePoint 2010
Optimizing Microsoft SQL Server 2008 Applications Using Table Valued Parameters, XML, and MERGE
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
ADO.NEXT Advances in Data Access for 2008
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
Matt Masson Software Development Engineer Microsoft Corporation
Accessing Data in a .NET Web Application
SharePoint data access and LINQ to SharePoint
Windows Azure Keenan Newton 3-021
Microsoft Virtual Academy
Visual Studio 2008 Mike Taulty Developer & Platform Group
Tech Ed North America /1/ :36 AM Required Slide
From DTS to SSIS, Redesign or Upgrade
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Pablo Castro Software Architect Microsoft Corporation
Developing for Windows Azure
Andrew Fryer Microsoft UK
Visual Studio + SQL Server Is Better
Microsoft Dynamics.
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
.NET Framework V3.5+ & RESTful web services
© 2008 Microsoft Corporation. All rights reserved
Presentation transcript:

What’s New for Developers in SQL Server 2008 Mike Taulty, Mike Ormond Developer & Platform Group Microsoft Ltd ( ( )

Agenda Relational++ New data types beyond the traditional RDBMS Data In, Data Out Information from Data Database Applications Core Capabilities & Tooling

Relational++

New Data Types FILESTREAM Extension to varbinary(max) Data is stored in the file system Access with file system API’s or relational API’s HIERARCHY ID Model the traditional employee/manager relationship New Date & Time data types DATE, TIME, DATETIMEOFFSET, DATETIME2 & functions to deal with them

XML Data Type Enhancements Improved schema validation support Supports validation of Office 12 documents Allows for lax content Unions of lists Lists of unions XQuery support FWOR finally becomes FLWOR (the let clause) Use of variables in.modify() operations

CLR Data Type Enhancements UDTs > 8K possible for CLR implementations Aggregates Multi-input aggregates now possible in CLR implementations Aggregates > 8K now possible in CLR implementations Sort order on CLR Table Valued Functions Today, SQL spools output from CLR TVF’s and then sorts them – often this is redundant

Data Types, XML, CLR

Spatial Data Proliferation of geographical data GPS Systems Virtual Earth, Live Search Maps etc New opportunities for spatially aware apps Route planning Land assessment Territory analysis SQL Server 2008 Storage and retrieval of spatial data using standard SQL syntax

Spatial Data Types Comprehensive Support Flat Earth (Planar) - geometry Round Earth (Geodetic) – geography CLR System Types Microsoft.SqlServer.Types.Geo[metry | graphy] Host of useful spatial methods / properties (OGC) Importing of WKT / WKB (OGC) and GML data High Performance Integrated into SQL 2008 Spatial Index support

Spatial Data in SQL 2008

Semi-Structured Additions Sparse columns Optimised storage for sparsely populated columns Wide Tables Support for hundreds of thousands of sparse columns Filtered Indexes Define indices over subsets of data in tables

ProducIDDescriptionCategoryPriceCurrentColourSizeVolumeFabricFitmentCOSHH 1Dulux Emulsion Paint22.95FalseBlue RollerTools3.95False-L---- 3RugHome79.50FalseBrown--Wool-- 4BulbElectrical1.25TruePearl---Screw- 5WeedkillerGarden7.99True BambooGarden35.00TrueYellow x4Wood2.95True ProducIDDescriptionCategoryPriceCurrentColourSizeVolumeFabricFitmentCOSHH 1Dulux Emulsion Paint22.95FalseBlue RollerTools3.95False-L---- 3RugHome79.50FalseBrown--Wool-- 4BulbElectrical1.25TruePearl---Screw- 5WeedkillerGarden7.99True BambooGarden35.00TrueYellow x4Wood2.95True ProducIDDescriptionCategoryPriceCurrentColourSizeVolumeFabricFitmentCOSHH 1Dulux Emulsion Paint22.95FalseBlue RollerTools3.95False-L---- 3RugHome79.50FalseBrown--Wool-- 4BulbElectrical1.25TruePearl---Screw- 5WeedkillerGarden7.99True BambooGarden35.00TrueYellow x4Wood2.95True Filtered Index Semi-Structured Additions ‘Fixed’ ColumnsSparse Columns

Data In, Data Out

SQL Server Integration Services New Script Environment for Script Tasks & Components VSTA replaces VSA (deprecated) –C# language programmability –More of the familiar VS environment ADO.NET Source and Destination OLEDB source/destinations still there Data Profiling Task & Viewer

SQL Server Integration Services Data Flow performance In 2005, an execution tree (even with branches) is executed on a single thread In 2008, this is handled differently (i.e. better) Lookup Transformation Share cached lookup across packages More granular control over cache use for matched/non-matched data Additional changes elsewhere MERGE, Change Data Capture, Data Types, etc.

Integration Services

Tracking Changes Change Tracking Synchronous - when the DML is committed Detect net changes to data Tables/Rows effectively have a version # Good for building one- and two- way sync solutions Change Data Capture Asynchronous - reads transaction log Detect net and incremental changes to data Good for building one- way sync solutions

Change Tracking & Data Capture

MERGE DML statement combining multiple operations into one source target Merge match so UPDATE no match so INSERT no source match so DELETE

MERGE statement

ADO.NET Synchronisation Services Synchronisation Framework Online/Offline Applications 2-tier, N-tier architectures Set of components Sync Classes Client Database –SQL Server Compact Edition Server Database –Any ADO.NET store “Service” Based Approach

ADO.NET Synchronisation Services Server Sync Provider Server Sync Provider Sync Agent Sync Agent Sync Adapters Sync Adapters Client Sync Provider Client Sync Provider Sync Table Sync Group Client DB Server DB Transport Proxy Service

Microsoft Synchronisation Services

Information from Data

Reporting Services Dependency on IIS has goneNew Design SurfaceNew VisualisationsTable + Matrix = TablixDelivery via Microsoft Office

Reporting Services

Reach All your Users with Scalable BI platform Deliver insights throughout your organization Deliver reports of any size at enterprise scale Scale out through read-only Analysis Services storage Enhance analytical capabilities with more complex computations and aggregations Deploy and manage your BI infrastructure Streamline development of the analysis infrastructure with new cube design tools Optimize cube design with real time best practice alerts Backup cubes with enhanced scalability PervasiveInsight

Database Applications

Client Library Support for Features Visual Studio 2008 ships with;.NET Framework V3.5 –Support for most new SQL 2008 data types –Support for table valued parameters Microsoft Synchronization Services SQL Server 2008 ships with; Client library support for some new data types; –Microsoft.SqlServer.Types.dll (SqlGeometry, SqlHierarchyId) ADO.NET V3.0 Entity Framework, Data Services ship separately

Table Valued Parameters Stored procedures and functions can now take a table as a parameter Passing “arrays” of data to the server in one go Often done in the past with XML, strings Mechanism Declare table type server side Define parameter to be of table type New ADO.NET parameter type SqlDbType.Structured –Pass DataTable, IEnumerable, DbDataReader into ADO.NET client side

Table Valued Parameters

.NET Entity Provider (Entity SQL) Command Connection Reader Adapter V3.0 ADO.NET Entity Framework Store.NET Data Provider V2.0 Command Connection Reader Adapter V3.0 Conceptual Model Entity relationship Store Model (SSDL) Store Model (SSDL) ER Model (CSDL) ER Model (CSDL) Mapping (MSL) V3.0 Programming Model Object Relational Mapping LINQ

ADO.NET Entity Framework Schema independence Store independence Higher level constructs Relationships Inheritance Status At Beta 2 Today Tooling at CTP 1 Store.NET Provider V2.0 Conceptual Model.NET Provider (EntitySQL).NET Provider (EntitySQL) ORM & LINQ V3.0 Mapping

ADO.NET Entity Framework

ADO.NET Data Services (“Astoria”) Flexible data services for the web HTML + Javascript Data (XML, JSON) DLL + XAML Data (XML, JSON) Mashup UI Data Feeds URI addressable resources (RESTful) Simple data formats (XML / JSON) Modelling of data with EDM CRUD operations support

Astoria URI Format Data Service URL (special WCF service) Entity Set Name (eg Customers) Optional Predicate Navigation Property (eg Orders) Optional Predicate Querystring Options (eg orderby)

ADO.NET Data Services

Core Capabilities

Resource Governor Dynamically monitors & controls access to server resources request Resource Pool 1 Resource Pool 2 Workload Group 1 Workload Group 2 MIN, MAX CPU MIN, MAX RAM MIN, MAX CPU MIN, MAX RAM MIN, MAX CPU MIN, MAX RAM MIN, MAX CPU MIN, MAX RAM Workload Group 3 Workload Group 1 Priority Max Request Memory Max Request CPU Time Max DOP Max Requests Priority Max Request Memory Max Request CPU Time Max DOP Max Requests classify()

Resource Governor

Guiding Procedure Execution More control & visibility of stored procedure execution to aid predictable execution sp_create_plan_guide accepts XML Showplan output sp_create_plan_guide_from_cache sys.fn_validate_plan_guide Plan guides visibile in Management Studio Monitoring Events – Plan Guide (Un)Successful Counters – (Mis)Guided Plan Executions/Sec –on SQL Statistics object

Guiding Procedure Execution

Data Collector Collection Set Performance Studio Unified framework for capturing “metrics” from SQL Server Collection Item Counter, SQL trace or SQL query schedule Interfaces Mgmt Studio S’procs API Dashboard UI post SQL 2008

Data Collector

Extended Events (XEvent) High performance eventing system for SQL Integrates with Event Tracing for Windows (ETW) Possibility of end-to-end tracing DDL for managing event sessions on a server “When” to log Where to send it Data to log Data to log Filters

Extended Events

Auditing (not in current CTP) Written to files or event logs Server level auditing –Login, Logoff, Create DB, etc. (many) Database level auditing –Changes to Users, Roles, Schema, etc. (many) Granular level auditing –CRUD + EXECUTE on tables, views, procedures, etc. AUDIT UPDATE ON Employee [BY User1]

Platform Enhancements Transparent Data Encryption (TDE) Encrypt my data on disk transparent to applications Database Compression (not in CTP5) ROW / PAGE Compression Integrated Full Text Search (not in CTP5) Easier to deploy / manage and better performance Declarative Management Framework Establish policies for monitoring or compliance

Platform Enhancements

MSDN in the UK Visit Newsletter Events Screencasts Blogs

© 2007 Microsoft Ltd. 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.