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 7062511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:36:10+00:00 2026-05-28T04:36:10+00:00

We have a multi-tenant system with a separate database per tenant (but with the

  • 0

We have a multi-tenant system with a separate database per tenant (but with the same schema and application code). How can we best to roll out updates to tenants? The deployment process is automated, but I don’t particularly fancy having to take the whole system offline while any update scripts are run per tenant db? (particularly if one tenant has some unexpected issues because of data in their system – obviously something we’d aim to avoid).

What strategies have people used successfully for this? If I were to instead run each tenant on a separate website instance that gets upgraded separately – there would be more maintenance overhead, but perhaps more flexibility should issues be encountered upgrading? Not sure which is likely to be less painful in the long run? Thanks.

  • 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-28T04:36:11+00:00Added an answer on May 28, 2026 at 4:36 am

    Our way to deal with exactly this problem:

    • Have two instances, one running the old code, one the new code
    • Start (obviously) with all tenant sites pointing to the old version
    • Cycle the tenants (maybe automatically)
    • …. Copy the DB to temporary
    • …. Run update ond DB copy
    • …. wash, rinse, repeat until data converts successfully
    • …. test new code with temporary converted DB
    • …. drop temporary DB
    • …. Take tenant site offline
    • …. Run update on real DB (this should work unless last-minute changes introduced new issues)
    • …. Point tenant site to combination of new code/converted DB
    • End cycle

    This has worked quite well until now, in fact it saved our bacon quite often: Problems tend to surface with the first few tenants, which may prompt a bugfix or two in the new code.

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

Sidebar

Related Questions

We have a multi-tenant system with multiple different levels of access--sometimes even for the
I have a multi-tenant application and I'm experimenting with using the i18n gem to
I'm building a multi-tenant web application where for security concerns, we need to have
I'm currently working on a multi-tenant application that employs Shared DB/Shared Schema approach. IOW,
I am creating a multi tenant db for an application. I have gone with
In a multi-tenant application I have a table with TenantId column. This table is
We have an application which is multi-tenant (lots of users all accessing their own
When you run the same web based application as a multi-tenant application for different
I have a full multi-tenant database with TenantID's on all the tenanted databases. This
I'm working on a multi-tenant ASP.NET MVC application. So far we have been using

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.