Data Tier Application (IDF)
-
Upload
sqlservercoil -
Category
Technology
-
view
692 -
download
1
Transcript of Data Tier Application (IDF)
Data-Tier Applications
Meir DudaiValinorhttp://www.SQLServer.co.il/twitter: @SQLServercoil
Database evolution
Number of database apps
Number of DBAs
1990 2000 2010
Hardware computing ca
pacityUnderutilized
hardware
Overburdened Administrators
Having fun with deployment
Agenda
• What is DAC• Live demo• Utility Control Point• Q&A• Summary
Challenges
Development
• No uniform DB project system and workflow
Deployment
• DBAs and Developers work in silos
• Time consuming and error prone
Management
• Difficult to centrally control the environment
InvestmentsDevelopment
• Data-tier Application project• Integrated editor, debugger,
IntelliSense, policy designer• Static code analysis, build
service
Deployment
• Easier to deploy and upgrade Data-tier Apps from VS and SSMS
Management
• Manage @ Scale: SQL Server Control Point
• Visualize resource utilization at the instance & application level
Concepts - Data-tier Application Project
• New project type in VS 2010; Leverages Database project system code base
• First class T-SQL/DAC development experience in Visual Studio
Concepts• .dacpac = unit of deployment
(data-tier application + developer intent)
• Data-tier Application Component• Improves collaboration
between developer and DBA• Moves developers from a
procedural model to a declarative model
• V1 is targeted at small apps
Data-tier Application Component
Schema
LOGICALTables, Views, Procs, UDFs
PHYSICALUsers, Logins, Indexes
DAC Deployment ProfileDeployment
Requirements, Management Policies
Unit of D
eployment
Database Project vs. DAC Project
Data-tier Application Project V1(Small Apps)
Visual Studio
Build
.dacpac
Database Project(Mission Critical, Business Critical)
Visual Studio
.dbschema.sql
Build
DeployDeploy
Generate scripts
Data-Tier Application
Key Concept: SQL Server Utility
DBA
SQL0
2SQ
L03
SQL0
4
SQL0
1
Managed Instances
SQL0
5
UCP
Utility Control Point (UCP)• Central reasoning point
of the utility• Central policy
evaluation, deployment, impact, and what if analysis can be performed
• Simple to setup and use
DBA
SQL Server Management Studio
9
Managed Instances
HR
ControlPoint
SALE
S
DEVELOP DEPLOY MANAGE
Visual Studio 2010
Developer
FinAppProd DB
DBA
SQL Server Management Studio
FinAppDev DB1
Reverse Engineer
DAC
2
Create policies
3
Deploy /Upgrade
DAC
4
.dacpac
Compile+ Build
5
Hand-off to DBA
6
Deploy /Upgrade
DAC
7
Manage, Register, Uninstall, Extract,
Upgrade DAC
8
Summary
• What is DAC• Live demo• Utility Control
Point