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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:53:23+00:00 2026-05-24T23:53:23+00:00

Does it matter how many databases I use in my web system? I am

  • 0

Does it matter how many databases I use in my web system? I am planning to have:

  1. User information and related tables
  2. Admin tables and all system tables
  3. Reporting system
  4. Audit logs of tables
  5. User object tables like Photos, Videos, Comments
  6. User API applications to read/write data.

Questions:

  1. I am using MySQL and MagnoDB with cakephp. So if i implement above then i will use 6 databases in the system. Add backups so 2 of each then 12 databases total. Any advantage / disadvantage this way vs dumping all tables into 1 database? I assume thesedays with sites like yahoo, amazon, facebook, etc having hundreds or thousands of databases is the norm OR are these all powered by 1 database but having multiple instances?

  2. For lookup tables: Do i duplicate them in each database or 1 copy in the admin database is good enough?

  3. Also if i have multiple instance of the same DB do i need to name them like DB1, DB2, DB3 or can i call them anything?

We are developing a local reviews website so expect lots of users eventually.

  • 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-24T23:53:24+00:00Added an answer on May 24, 2026 at 11:53 pm

    Use a single database. The problem with using multiple DBs include distributed queries (as pointed out already), plus overhead associated with each db server / instance, and general maintenance complexity.

    What you want are tablespaces http://dev.mysql.com/doc/refman/5.1/en/create-tablespace.html

    Consider with dbs like Oracle, the overhead per instance is 300-500mb+. Not to mention a new set of processes and separate buffer caches. You want a single, unified buffer cache to make the most of your RAM.

    Partitioning using a database as the partition unit isn’t saving you much, but will make a giant headache. MySQL can handle huge amounts of data (terabytes), as long as you design your schemas well and tune the storage. And use separate tablespaces.

    Moving your app, and backup / restore should be simple too.

    The only reason I create separate DBs is if there are multiple customers involved, or the project requires it. But it is usually not required from a technical point of view.

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

Sidebar

Related Questions

Does it matter how many files I keep in a single directory? If so,
does it matter at all what order the <link> or <script> or <meta> tags
Does endianness matter at all with the bitwise operations? Either logical or shifting? I'm
I have a Python program (with Django - does this matter?) that I want
Simple question: does it matter which side of a bidirectional many-to-many relationship you set
I have a program that does the following: Call webservice (there are many calls
Does it matter to developers that the current, and newer versions of .Net don't
It does not matter what programming language. Can anyone please give me an idea
I'm on OS X 10.5.5 (though it does not matter much I guess) I
Exactly that: Does a strings length equal the byte size? Does it matter on

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.