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

  • Home
  • SEARCH
  • 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 35983
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T14:19:19+00:00 2026-05-10T14:19:19+00:00

Having to upgrade a database schema makes installing a new release of software a

  • 0

Having to upgrade a database schema makes installing a new release of software a lot trickier. What are the best practices for doing this?

I’m looking for a checklist or timeline of action items, such as

  • 8:30 shut down apps
  • 8:45 modify schema
  • 9:15 install new apps
  • 9:30 restart db

etc, showing how to minimize risk and downtime. Issues such as

  • backing out of the upgrade if things go awry
  • minimizing impact to existing apps
  • ‘hot’ updates while the database is running
  • promoting from dev to test to production servers

are especially of interest.

  • 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. 2026-05-10T14:19:19+00:00Added an answer on May 10, 2026 at 2:19 pm

    I have a lot of experience with this. My application is highly iterative, and schema changes happen frequently. I do a production release roughly every 2 to 3 weeks, with 50-100 items cleared from my FogBugz list for each one. Every release we’ve done over the last few years has required schema changes to support new features.

    The key to this is to practice the changes several times in a test environment before actually making them on the live servers.

    I keep a deployment checklist file that is copied from a template and then heavily edited for each release with anything that is out of the ordinary.

    I have two scripts that I run on the database, one for schema changes, one for programmability (procedures, views, etc). The changes script is coded by hand, and the one with the procs is scripted via Powershell. The change script is run when everything is turned off (you have to pick a time that annoys the least amount of users for this), and it is run command by command, manually, just in case anything goes weird. The most common problem I have run into is adding a unique constraint that fails due to duplicate rows.

    When preparing for an integration testing cycle, I go through my checklist on a test server, as if that server was production. Then, in addition to that, I go get an actual copy of the production database (this is a good time to swap out your offsite backups), and I run the scripts on a restored local version (which is also good because it proves my latest backup is sound). I’m killing a lot of birds with one stone here.

    So that’s 4 databases total:

    1. Dev: all changes must be made in the change script, never with studio.
    2. Test: Integration testing happens here
    3. Copy of production: Last minute deployment practice
    4. Production

    You really, really need to get it right when you do it on production. Backing out schema changes is hard.

    As far as hotfixes, I will only ever hotfix procedures, never schema, unless it’s a very isolated change and crucial for the business.

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

Sidebar

Ask A Question

Stats

  • Questions 68k
  • Answers 68k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer If the problem's impact on actual usage of the system… May 11, 2026 at 12:09 pm
  • added an answer Well, After some research it seems that the best sysinternals… May 11, 2026 at 12:09 pm
  • added an answer The potential problem with having the ShowBasicView from your edit… May 11, 2026 at 12:09 pm

Related Questions

Having to upgrade a database schema makes installing a new release of software a
Thanks to a library upgrade (easymock 2.2 -> 2.4), we're having tests that have
I'm forced to upgrade to Python 2.6 and am having issues using Numerical Python
Is there anyway to upgrade the installed JRE in the system? We are having
After I upgraded to the beta, I'm having trouble with Html.RadioButtonList. Can someone show
I recently upgraded one of my applications to Rails 2.2.2. Having done that, I've
Is having to recycle an App-Pool in ASP.NET indicative of a larger problem in
I am fed up having to turn them on every time I open the
Instead of having to remember to initialize a simple 'C' structure, I might derive
I'm having to start building the architecture for a database project but i really

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.