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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T00:55:58+00:00 2026-05-22T00:55:58+00:00

Im creating an IPad Application which will have an SQL Server backend. My question

  • 0

Im creating an IPad Application which will have an SQL Server backend. My question is, is it better for me to create a new database for each customer as they sign up or should I create an SQL script that generates new tables for the customer when they sign up.

e.g. Scenario 1 One database per user. For 100 users the sql server will have 100 seperate db’s. i.e User1_DB, User2_DB……

Scenario 2 New set of tables for each User. For 100 users the sql server will have 100 seperate sets of the tables in the same database. e.g. MyIPad Database – Table1_User1, Table2_User1, Table1_User2, Table2_User2

In both scenarios we will have automated scripts that would generate the tables/Database when the user signs up.

So my question is what scenario is more efficient? Or are both scenario’s wrong, therefore how should i approach this issue?

Thanks in advance

  • 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-22T00:55:59+00:00Added an answer on May 22, 2026 at 12:55 am

    I would say that unless you have an explicit need to have this much separation, I would suggest having one set of tables and using a customer table with a customer ID to differentiate customer data. You can still limit access to the database through stored procedures so that no customer can see another customer’s data but you don’t have to deal with all of the overhead of multiple databases or thousands of tables.

    If you must have separation, though, use different databases. Database separation gives you the ability to have more control over data security. If you have to go to the lengths of using different objects for each customer, you want the full security of separate databases. This will also give you the portability necessary for moving one customer to a different server, etc.

    There is a similar question on SO already, and they followed my basic advice. Basically, WordPress started out with one database but as they scaled up they ended up going with one database per customer so that they could scale out as well. Here is the link:

    PHP Web Application: mysql database design best practices question

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

Sidebar

Related Questions

I am a developing an iPad application in which i have to use CTRunDelegate
I'm creating an iPad application which needs a UIPopoverController like this one (I mean,
I am creating an iPad application using a UISplitView. I used the default template
I have made my application universal for iPhone and iPad (window-based application; universal) from
I am about to start my A-Level Computing project (High School Level) which will
I'm creating my first web application and I'm really confused as to what technology
I am contemplating creating a realtime app where an iPod Touch/iPhone/iPad talks to a
How would you go about creating a timeline animation for an iPhone or iPad
I'm working in a project for the iPad, it is a small program and
My view doesn't stretch to fit the current orientation! I am creating a tab

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.