Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft

Slides:



Advertisements
Similar presentations
Session 1.
Advertisements

demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
How We Do Language Design at Microsoft (C#, Visual Basic, F#)
Tech·Ed  North America /11/ :01 AM SESSION CODE: DEV405
6/12/ :53 PM DEV311 Deep Dive into Microsoft Visual Studio Team Foundation Server 2010 Reporting Steven Borg, Principal ALM Consultant Northwest.
2010 Microsoft BI Conference
Tech·Ed North America /19/2018 3:29 PM
Julie Strauss Senior Program Manager Microsoft
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MDOP: Advanced Group Policy Management 4.0
Tech Ed North America /13/ :13 AM Required Slide
Tech·Ed North America /14/2018 7:13 PM
Excel Services Deployment and Administration
Overview of Social Computing in Microsoft SharePoint 2010
T-SQL Power! The OVER Clause: Your Key to No-Sweat Problem Solving
Tech·Ed North America /21/2018 6:42 PM
What’s New In ASP.NET MVC 2
Matt Masson Software Development Engineer Microsoft Corporation
TechEd /23/ :44 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Jason Zander Unplugged
Title of Presentation 12/2/2018 3:48 PM
High Availability: A Contrarian View
Tech·Ed North America /4/2018 2:51 AM
TechEd /4/2018 3:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Better Together: Secure SQL Server on Secure Windows
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
TechEd /6/2018 8:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Tech Ed North America /1/ :36 AM Required Slide
Tech Ed North America /1/2019 2:58 AM Required Slide
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Tech·Ed North America /17/2019 1:47 AM
TechEd /18/2019 2:43 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft SharePoint Conference 2009 Jon Flanders
Vittorio Bertocci Principal Technical Evangelist Microsoft
Building Silverlight Apps with RIA Services
MDC-B203 Deploying Applications in Microsoft System Center Virtual Machine Manager Using Services John Messec Program Manager Microsoft.
From Development to Production: Optimizing for Continuous Delivery
2010 Microsoft BI Conference
TechEd /28/2019 7:27 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Pushing Data to and from the Cloud with SQL Azure Data Sync
Tech Ed North America /12/2019 6:45 AM Required Slide
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
One Marketing Template
TechEd /11/ :25 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
A Lap Around Internet Explorer 9 For Developers
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
2010 Microsoft BI Conference
Service Template Creation from the Ground Up
Hack-proofing your Clients using Windows 7 Security!
How and When to Use MEF: Too Much Is Never Enough
Tech Ed North America /27/ :04 AM Required Slide
Service Template Creation from the Ground Up
Шитманов Дархан Қаражанұлы Тарих пәнінің
Lap Around the Windows Azure Platform
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Building BI applications using PowerPivot for Excel
Title of Presentation 5/24/2019 1:26 PM
TechEd /28/ :34 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Tech·Ed North America /7/2019 2:30 PM
TechEd /5/2019 2:08 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
What’s New in Visual Studio 2012 for Web Developers
Presentation transcript:

Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft DBI306 Using Contained Databases and DACs to Build Applications in Microsoft SQL Server Code-Named "Denali" and SQL Azure Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft © 2007 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.

Pain Points and Capabilities # of applications and amount of data is exploding IT spending 80% managing existing apps Focus on management at scale Hybrid on-premise and cloud environments Key Characteristics Capabilities Symmetry Isolation Deployment/Movement/Upgrade Development Experience Available 24x7 availability Scalable Resources dynamically assigned / unassigned Measured Automatic control & Optimization Self Service Unilaterally provision resources without human intervention Elastic Rapid & Elastic Provisioning Greatly Reduced TCO & Increased Agility

Data-tier Application Lifecycle Source Code Definition Runtime Container CREATE TABLE Orders ( id INT, ordTime DATETIME, . ) -- ON OrdPS(ordTime) CREATE TABLE OrderEntr Build DACPAC Deploy Upgrade CREATE TABLE Orders ( id INT, ordTime DATETIME, . ) -- ON OrdPS(ordTime) CREATE TABLE OrderEntr Contained Database (CDB) Reverse Engineer Extract DAC Framework Services

Symmetry Across SQL Azure & SQL Server Roadmap SQL Azure 2012 CDB and DAC, most features SQL Azure 2010 CDB, some features, DAC support SQL Server & SQL Azure app features aligned SQL Azure 2011 CDB and DAC, more features SQL Denali CDB: partial containment SQL “Denali” + 1 Full CDB: Symmetry Across SQL Azure & SQL Server SQL Server 2008 R2, DAC Support SQL Server 2008: Existing DB Model

Contained Database (CDB) 12/6/2018 1:07 AM Contained Database (CDB) © 2007 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.

Host-App Binding: a Cautionary Tale Master MSDB Temp Master MSDB User DB User DB Instance Collation Logins Credentials Linked Server Defs. CLR … Agent Replication DB Mail … User DB … TempDB Collation Other Apps Other DBs TempDB User DB

Separating Concerns Dev/App Admin Server admin / System Database CDB Instance/System System Managed Resource Governance HA Setup Collation Authentication Security Authorization Jobs Distributed Queries

Contained Database: Where are we today? SQL Azure Fully Contained Uncontained features turned off SQL Server “Denali” Severed dependency on system settings Split metadata and data collation Contained authentication Partial Containment Provided metadata showing uncontained uses. Statically, sys.dm_db_uncontained_entities Dynamically, cdb_uncontained_usage XEvent

Fixing Collations CDBs introduce the catalog collation _SC  UTF-16 Latin1_General_100_CI_AS_WS_KS Fixed Catalog collation used for all metadata Variables, cursors, goto labels Table names, Temp table names Database collation used for all data Table data Temp table data (different from today!) _SC  UTF-16

Authentication SQL logins → users with passwords. New user type. Not mapped to login. Like a SQL login, it carries a password hash. But the hash is stored in the database. User is effectively guest on the instance. Authentication is direct to the CDB. Windows logins are handled similarly. No new user type... ...but need not have a matching login to authenticate.

12/6/2018 1:07 AM CDB Demos demo © 2007 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.

Data-tier Application Lifecycle Source Code Definition Runtime Container CREATE TABLE Orders ( id INT, ordTime DATETIME, . ) -- ON OrdPS(ordTime) CREATE TABLE OrderEntr Build DACPAC Deploy Upgrade CREATE TABLE Orders ( id INT, ordTime DATETIME, . ) -- ON OrdPS(ordTime) CREATE TABLE OrderEntr Contained Database (CDB) Reverse Engineer Extract DAC Framework Services

Development and Management Difficulties Schema and data portability Maintaining database script libraries Versioned deployments Management at scale

DAC and Containment DAC application model symmetrical with SQL Azure Extract, Build, and Export validate the model The model enables schema and data portability Import and Export services Available as a CTP on http://www.sqlazurelabs.com/importexport.aspx

demo DAC portability 12/6/2018 1:07 AM © 2007 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.

DAC – Development Develop DACs in Declarative authoring IntelliSense Visual Studio 2010 SQL Server Development Tools Codename “Juneau” Based on Visual Studio Declarative authoring IntelliSense Designers Deep Validation Versioned builds

Start developing with DAC 12/6/2018 1:07 AM Start developing with DAC demo © 2007 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.

DAC – Deployment and Management Extract, Deploy, and Upgrade In-place upgrades (with SQL Azure Support) as of Visual Studio 2010 SP1 SQL Server 2008 R2 SP1 (CTP)

demo DAC upgrades 12/6/2018 1:07 AM © 2007 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.

Wrap Up Capability SQL Azure – SQL Server “Denali” Symmetry Incremental progress Full Isolation Full containment in Azure Partial containment in “Denali” Full containment Movement, Deployment, Upgrade DAC aligned to CDB (SQL Azure) DAC Development Experience “Juneau”

Symmetry Across SQL Azure & SQL Server Q&A SQL Azure 2012 CDB and DAC, most features SQL Azure 2010 CDB, some features, DAC support SQL Server & SQL Azure app features aligned SQL Azure 2011 CDB and DAC, more features SQL Denali CDB: partial containment SQL “Denali” + 1 Full CDB: Symmetry Across SQL Azure & SQL Server SQL Server 2008 R2, DAC Support SQL Server 2008: Existing DB Model

Database Platform (DAT) Resources Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Tech Ed North America 2010 12/6/2018 1:07 AM Database Platform (DAT) Resources Visit the updated website for SQL Server® Code Name “Denali” on www.microsoft.com/sqlserver and sign to be notified when the next CTP is available Follow the @SQLServer Twitter account to watch for updates Try the new SQL Server Mission Critical BareMetal Hand’s on-Labs Visit the SQL Server Product Demo Stations in the DBI Track section of the Expo/TLC Hall. Bring your questions, ideas and conversations! Microsoft® SQL Server® Security & Management Microsoft® SQL Server® Optimization and Scalability Microsoft® SQL Server® Programmability Microsoft® SQL Server® Data Warehousing Microsoft® SQL Server® Mission Critical Microsoft® SQL Server® Data Integration © 2010 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.

Resources Learning http://northamerica.msteched.com Tech Ed North America 2010 12/6/2018 1:07 AM Resources Connect. Share. Discuss. http://northamerica.msteched.com Learning Sessions On-Demand & Community Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning Resources for IT Professionals Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn © 2010 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.

Complete an evaluation on CommNet and enter to win! Tech Ed North America 2010 12/6/2018 1:07 AM Complete an evaluation on CommNet and enter to win! © 2010 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.

Tech Ed North America 2010 12/6/2018 1:07 AM © 2010 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.

12/6/2018 1:07 AM © 2011 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. © 2009 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.