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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:06:53+00:00 2026-05-15T10:06:53+00:00

I am developing a custom CRM solution which will be sold via the Web/SaaS

  • 0

I am developing a custom CRM solution which will be sold via the Web/SaaS model. I anticipate tens or hundreds of clients using this solution. I will be using MS SQL as the db engine.

Option 1 is to have a single DB, and include a TenantId column on tables, a suitable index and use ‘where tenantId={…}’ on each db access.

Option 2 is to have an individual DB for each client, avoiding the need for the TenantId and where clauses.

I anticipate that each client will have hundreds of thousands of records, not millions.

As I see it, there will be a total number of data pages whichever option I go for. The decision seems centered on whether SQL is better at managing multiple DBs, or a single DB with TenantId and index. Initially the solution will run on a single DB server, but will eventually move to SAN.

Does anyone have any views on this?

  • 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-15T10:06:54+00:00Added an answer on May 15, 2026 at 10:06 am

    There is an interesting MSDN article, titled Multi-Tenant Data Architecture, which you may want to check out. The authors make a brief analysis on where a certain approach might be more appropriate than another:

    The number, nature, and needs of the
    tenants you expect to serve all affect
    your data architecture decision in
    different ways. Some of the following
    questions may bias you toward a more
    isolated approach, while others may
    bias you toward a more shared
    approach.

    • How many prospective tenants do you
      expect to target? You may be nowhere
      near being able to estimate
      prospective use with authority, but
      think in terms of orders of magnitude:
      are you building an application for
      hundreds of tenants? Thousands? Tens
      of thousands? More? The larger you
      expect your tenant base to be, the
      more likely you will want to consider
      a more shared approach.

    • How much storage space do you expect
      the average tenant’s data to occupy?
      If you expect some or all tenants to
      store very large amounts of data, the
      separate-database approach is probably
      best. (Indeed, data storage
      requirements may force you to adopt a
      separate-database model anyway. If so,
      it will be much easier to design the
      application that way from the
      beginning than to move to a
      separate-database approach later on.)

    • How many concurrent end users do you
      expect the average tenant to support?
      The larger the number, the more
      appropriate a more isolated approach
      will be to meet end-user requirements.

    • Do you expect to offer any per-tenant
      value-added services
      , such as
      per-tenant backup and restore
      capability? Such services are easier
      to offer through a more isolated
      approach.

    Note that the “shared approach” is option 1, and the “isolated approach” is option 2, in your case. You are not biased on either side when it comes to the first two points, so I think I would base my decision on the last two points.

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

Sidebar

Related Questions

I am developing an custom API for a web solution and I am using
I am developing a custom shopping cart for which existing customers will need to
I'm developing a custom PowerShell snap-in, which references another project in the solution. When
I'm developing a custom control, which most resembles a text area. I am drawing
I am developing a custom Web Interface Browser for Subversion Repositories with C#/ASP.NET and
I'm developing a custom control which is a composition of tables and buttons. I
I am developing custom components which fit into the Nimbus look and feel. I'm
I am developing custom iPad applications for clients. So far I know that you
Recently I was developing a custom jQuery-based content slider, which unlike most other sliders
I'm developing a custom Android view which i want to be reused. I want

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.