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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:07:49+00:00 2026-05-19T22:07:49+00:00

can i create as many as 500000000 databases in Mysql?? If yes, is it

  • 0

can i create as many as 500000000 databases in Mysql??

If yes, is it efficient??

here, each database holds user data with 6 tables in it containing user info in it..

please explain me the pros and cons of this idea with respect to performance and implementation..

  • 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-19T22:07:49+00:00Added an answer on May 19, 2026 at 10:07 pm

    Please Don’t!

    Whatever you’re thinking, whatever the reason. There is absolutely no way that creating that many databases is a good idea.

    If you’re looking for storing data per user, or for every X. Then please take a look again at what a relational database is “A relational database matches data by using common characteristics found within the data set.”

    Let’s say you’re createing an image service and want each user to have their own images. One way is to give each user their own database. This is wrong, because the data for each user contains the same characteristics, the only thing that is different is the relation (user A has picture A, user B has picture B), (1 user has 0…* pictures, and 1 picture belongs to 1 user). So instead of creating that many databases, you create a user table, and relate that to a picture table, this way you’ve efficiently used a database.

    To answer your more direct question. Create a table with 50.000 entries is surely more efficient then creating 50.000 databases.

    Edit a related answer on mysql.com: http://forums.mysql.com/read.php?20,74692,74705#msg-74705

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

Sidebar

Related Questions

I know that horizontal partitioning...you can create many tables. How can you do this
I have many tables with identical schemas but different names. Can I create a
I created 3 tables: User User-Group Group Where I can have a many-to-many relationship.
In my app the user can create many UIImageViews programmly, and tags are assigned
I have many items and many users in a database. A user can set
many user can create many Events. And users can send request to owner to
I need to find/create a library that can load hdr images in many formats
How can create a string in JSON after a mysql select: $ritorno = '{Prodotto:'.$riga['Prodotto'].',Prezzo:'.$riga['Prezzo'].'}'
I have a GUI application which can create many similar windows on desktop. All
I have two entities. Groups. Pools. A Group can create many pools. So I

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.