Presentation is loading. Please wait.

Presentation is loading. Please wait.

Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft

Similar presentations


Presentation on theme: "Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft"— Presentation transcript:

1 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.

2 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

3 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

4 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

5 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.

6 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

7 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

8 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

9 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

10 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.

11 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.

12 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

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

14 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

15 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.

16 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

17 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.

18 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)

19 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.

20 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”

21 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

22 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 and sign to be notified when the next CTP is available Follow 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.

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

24 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.

25 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.

26 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.

27


Download ppt "Rick Negrin, Program Manager Adrian Bethune, Program Manager Microsoft"

Similar presentations


Ads by Google