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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:21:48+00:00 2026-05-23T08:21:48+00:00

Although I currently do not have it, I’m interested in learning how someone would

  • 0

Although I currently do not have it, I’m interested in learning how someone would scale an individual table in MySQL that might have, say 20 million users. Is this something you would use sharding for? What are some strategies one might use to make an individual table of this magnitude “scalable” ?

  • 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-23T08:21:49+00:00Added an answer on May 23, 2026 at 8:21 am

    20M records is generally considered “small”. Depending on the size of records and the kind of queries performed, you are likely to get very good performance on the lowliest of servers.

    Almost all servers can keep such a database in memory. Let’s consider that a record takes 1024 bytes, including indexes. This is quite a large record, yet 20M rows is still only 20Gb, which fits comfortably within the RAM of a modest server.

    While your database fits in RAM, queries are likely to be very fast.

    But in any case, you need to consider what the access patterns are.

    Do you have

    • Very high write rates – more than 100 transactions per second?
    • Lots of hard queries / reports?

    If the answer to both of these is “no”, you probably need no special equipment at all.

    Certainly you don’t want to shard. It’s complicated, it massively complicates your application, and will require a LOT of developer time which is better spent on features (which you can actually sell to customers)

    In order to improve performance with big data, in approximate order of preference, you want to:

    • Buy better hardware (within reason)
    • Reduce the amount of data you need to store
    • Use horizontal partitioning
    • Use vertical partitioning / functional partitioning
    • Get a better database engine which can use existing hardware more efficiently (possible examples: Infobright, Tokutek)
    • Shard (you really don’t want to do this!)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have a C# form, although I would like to find out how
Although I'm specifically interested in web application information, I would also be somewhat curious
Although my question might seem abstract I hope it's not. Suppose I develop an
I currently have a WCF web API that I have split into two versions.
I'm currently scraping a website and have all the useful data I need, although
I am struggling to overcome this obstacle and I have high hopes that someone
I have an Android app that I am currently developing. I have created icons
I have a .htaccess file that currently looks like: <Files .htaccess> order allow,deny deny
Although it's documented that this is supposedly possible, the API currently doesn't allow liking
I'm a blind student currently in a system admin/shell programming class. Although ssh works

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.