5. Challenges
Development
• No uniform DB
project system and
workflow
Deployment
Management
• DBAs and
• Difficult to centrally
Developers work in
control the
silos
environment
• Time consuming
and error prone
6. Investments
Development
• Data-tier Application project
• Integrated editor, debugger,
IntelliSense, policy designer
• Static code analysis, build
service
Deployment Management
• Easier to deploy and • Manage @ Scale: SQL
upgrade Data-tier Server Control Point
Apps from VS and • Visualize resource
SSMS (and now utilization at the
SSDT) instance & application
level
7. Concepts
.dacpac = unit of deployment Schema
(data-tier application + developer LOGICAL PHYSICAL
intent) Tables, Users,
Views, Logins,
Data-tier Application Component Procs, Indexes
UDFs
•Improves collaboration between
developer and DBA
•Moves developers from a procedural DAC Deployment Profile
Deployment
model to a declarative model Requirements,
Management Policies
8. UCP- Enterprise Edition Only •
•
•
AdventureWorks- •
Side by Side DAC •
Data- •
•
9. v2 DAC Upgrade
•Side-by-side process
•Data migrated to new database
•Retained copy of previous database
v3 DAC Upgrade
•Shipped with SQL Server 2012
•Supports in-place upgrades
•No need to copy/migrate all the data (#1 requested feature)
•Support for SQL Server 2005 SP4 (or later) and SQL Azure
•Need to ensure sufficient transaction log space is available for
upgrade process
•PowershellIncrementalUpgrade() method added
10. Enhanced Object Support
Significant enhancement to list of supported
objects
•98% SQL Azure parity
•Support added for permissions and roles
Enhanced database object support:
Newly Supported Objects
SYNONYM SEQUENCE
SPATIAL INDEX GEOMETRY
GEOGRAPHY HIERARCHYID
Cursor Parameters in Stored Procedures STATISTICS