Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Database scaling

Sumit Rawal answered on May 20, 2023 Popularity 7/10 Helpfulness 2/10

Contents


More Related Answers

  • check database size
  • check database size
  • scaling data
  • Planet Scale create database
  • Planet Scale create database
  • Planet Scale create database
  • How can you scale a Database?
  • Planet Scale create database

  • Database scaling

    0

    There are two broad approaches for database scaling: vertical scaling and horizontal scaling.

    Vertical scaling

    Vertical scaling, also known as scaling up, is the scaling by adding more power (CPU, RAM, DISK, etc.) to an existing machine. There are some powerful database servers. According to Amazon Relational Database Service (RDS) [12], you can get a database server with 24 TB of RAM. This kind of powerful database server could store and handle lots of data. For example, stackoverflow.com in 2013 had over 10 million monthly unique visitors, but it only had 1 master database [13]. However, vertical scaling comes with some serious drawbacks:

    You can add more CPU, RAM, etc. to your database server, but there are hardware limits. If you have a large user base, a single server is not enough.

    Greater risk of single point of failures.

    The overall cost of vertical scaling is high. Powerful servers are much more expensive.

    Horizontal scaling

    Horizontal scaling, also known as sharding, is the practice of adding more servers. Figure 20 compares vertical scaling with horizontal scaling. 

    Popularity 7/10 Helpfulness 2/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on May 20 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.