Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does DACPAC stand for?

In Visual Studio 2012 we have new project type called SQL Server Database Project and when compiled will create a .dacpac output file.

A Google for this term will link it with Data-tier Application but I cannot link this name with D A C P A and C?

What does dacpac stand for?

like image 696
Nam G VU Avatar asked Dec 09 '13 13:12

Nam G VU


People also ask

What is a Dacpac?

What is a DACPAC? A DACPAC is a data-tier application package in the form of a windows file containing all the database structure into one unit.

What is Bacpac vs Dacpac?

BACPAC exists to support the import and export of data because the data must match the database schema, the DACPAC includes both. DACPAC also supports versioning. This helps the developer and the DBA maintain and manage the database history. It's always possible to go back to an older DACPAC to reset the schema.

What is azure Dacpac?

DACPAC. The simplest way to deploy a database is to create data-tier package or DACPAC. DACPACs can be used to package and deploy schema changes and data. You can create a DACPAC using the SQL database project in Visual Studio. YAML.

How do I extract a Dacpac file?

Right-click the DAC package (. dacpac) file and select Unpack. Double-click the DAC package file.


2 Answers

In the article 'It’s Data Tier Application and Data Application Component' from December 23 2009 Microsoft's Buck Woody states DAC stands for:

  • Data Application Component

And he also talks about the result as a package, so it seems reasonable to surmise:

  • The PAC part probably refers to package.

This is the relevant quote (relevant part in bold, my emphasis):

OK – In SQL Server 2008 R2 we did “re-use” an acronym or two (DAC and DTA), but it’s important to remember there are actually two parts to this new feature. One is the Data Application Component (DAC) and the other is the Data Tier Application (DTA). The DAC is the file created for a DTA.

In SQL Server 2008R2 and Visual Studio you’ll find there is a new way to write and transfer database code. I’ll blog about it more as I finish my testing, but the process works kind of like this…

You can “birth” a Data Tier Application in two places. You can create a new project type in Visual Studio where the developer can create the database structure, put all of the policies that they want to enforce and so on there. The DBA can also right-click a database and make a Data Tier Application out of a current structure.

In both cases, something called a DAC – or Data Application Component – is created. It’s a file with the payload of the the major parts of the structure of the database and so on. that’s the “package” you use to transfer the DTA around.

From there, you right-click in the “Data Tier Application” node in SQL Server Management Studio on another Instance and “Deploy” the Data Tier Application. It will build the database for you and keep it together as a DTA. You can make changes in the “originating” system or code, and then “upgrade” the Data Tier Application.

So there you have it. It’s DTA and DAC – but I think you’ll know the difference when the time comes to use one…

This InfoWorld article suggests a slight variation on the above, stating that the DACPAC part stands for:

  • Data-tier Application Component PACkages.
like image 107
tomRedox Avatar answered Sep 19 '22 16:09

tomRedox


DAC stands for Data-tier Application

PAC stands for package

So to my thoughts, DACPAC stands for Data-tier Application package

like image 30
Nam G VU Avatar answered Sep 21 '22 16:09

Nam G VU