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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:19:46+00:00 2026-05-27T04:19:46+00:00

I know the question has been asked many times but I’d like an answer

  • 0

I know the question has been asked many times but I’d like an answer for my case.

I’m working on a web application which will allow my clients to manage their clients, encashments, invoices, reservations, a website, and many other things. I’m using MySQL and one database with about 30 tables.

I’d like my solution to be able to handle around 100,000 clients or more. The needs of my clients will be very different. From 100 inserts per year for one, to 1000 inserts per day for another.

For now I’m using one database (but I’m still in development) where each table has an account field. I’ve created a model layer to access the data which automatically append the account to each query (WHERE guid = 1 become WHERE account = X AND guid = 1). This work very well and is really easy to maintain, but I’m worried about the fact of mixing the data of my clients. Note that I’m using an incremental id instead of a GUID.

My question is, should I continue to do things like this or should I create one database per client?

  • 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-27T04:19:47+00:00Added an answer on May 27, 2026 at 4:19 am

    You’re looking at a multi-tenant database. Multi-tenant solutions range from one database per client (shared nothing) to one row per client (shared everything).

    “Shared nothing” is the most expensive per client. Large numbers of clients imply large numbers of servers. Client disaster recovery is simple and straightforward. “Shared nothing” reduces the possibility of accidentally exposing client data to almost zero.

    “Shared everything” is the least expensive per client. Every table has a column that identifies which client a row belongs to. Client disaster recovery is very complicated; you have to restore individual rows in every table. “Shared everything” is the architecture most likely to accidentally expose client data.

    Microsoft has a good article on multi-tenant architecture. Their terminology is

    • separate database (shared nothing)
    • separate schema
    • shared schema (shared everything)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question has been asked many times, but my problem is a
I know this is a question that has been asked many times before, but
I know this question has been asked many times, but I am having trouble
I know this question has been asked many times, but I never saw a
I know this question has been asked many times. But from what I read,
I know this question has been asked many times before but I can't find
I know this question has been asked so many times before but I couldn't
Yes I know, this question has been asked MANY times but after reading all
I know this question has been asked many times, but I have not been
I know this question has been asked for many times. I've searched but didn't

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.