Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6832407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:51:17+00:00 2026-05-26T22:51:17+00:00

I created a PowerShell script to upgrade a SQL Azure instance with my latest

  • 0

I created a PowerShell script to upgrade a SQL Azure instance with my latest DACPAC (taken from http://msdn.microsoft.com/en-us/library/ee634742.aspx).

What I have experienced when running my PowerShell script is that it consistently takes approximately 30min to execute. The script is idle for almost half an hour waiting on $dacstore.IncrementalUpgrade($dacName, $dacType, $upgradeProperties) to return from execution and nothing is printed out on the PowerShell console window. Only right at the end of the half hour does the incremental update start spitting out console messages which inform me that the upgrade is taking place (essentially it appears that the script has hung for 30min until it finally comes back alive and the script does this consistently every time).

Does it usually take this long for the IncrementalUpgrade to complete and is there supposed to be a 30min period of inactivity/waiting?

Note that I am running the PowerShell script from my local machine which is external to the Azure network.

Thanks for any insight you can give for this, I am hoping that I can reduce this incremental upgrade process to substantially less than 30min so that my continuous integration build doesn’t take so long.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:51:18+00:00Added an answer on May 26, 2026 at 10:51 pm

    According to Microsoft Support this is a known issue and will be fixed in SQL Server 2012 (code named Denali). Here are the details from Microsoft Support:

    It’s a known issue that using SSMS 2008 or PowerShell to update DAC on
    SqlAzure is very slow. SQLServer 2008 utilize old extraction engine
    which run query for every column and small object. This way works well
    at on-premise server, and meets SQLServer 2008 original design target.
    However, when managing the SqlAzure database, the query need be
    transferred over internet, network latency makes the old extraction
    becomes inefficient, especially, when network is not good.

    Our SQL product team aware this issue and designed new extraction
    engine to fix it. The new engine is integrated in SQL Server 2012
    (code name Denali). Unfortunately, some of the engine behavior may
    bring break changes to SQL Server 2008. We try different approach but
    we can’t relief regression barrier when apply the new engine in the
    SQL server 2008. Therefore, we don’t have plan to deliver the new
    extraction engine as hotfix on SQLServer 2008 so far. That will impact
    the current on-premise users and operation.

    Further details about how I architected the PowerShell script with a continuous integration (CI) process can be found here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how to execute a PowerShell script from SSIS? I have created
I have created a PowerShell script for copying files to a directory, the script,
I'm calling a powershell script from C#. The script is pretty small and is
I've created a small PowerShell script to remove a Autodesk application. However, PowerShell doesn't
I have created a gui with powershell that allows me to copy files from
I have created a Powershell script and set it up to run within a
I need to execute a PowerShell script from within C#. The script needs commandline
I'm attempting to write a Twitter Powershell script that will use community created interfaces
When my PowerShell script tries, for example, to create a SQL Server object for
To piggyback onto this question, PowerShell script to delete files from list and output

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.