DEV Community

Discussion on: Don't Make This Mistake: Choosing the Wrong Database Could Cost You!

Collapse
 
thesohailjafri profile image
Sohail SJ | TheZenLabs • Edited

Database scalability refers to its ability to handle increasing workloads.

  • Horizontal Scaling: Adding more servers to distribute the load. (Using many servers)

    • Pros: Cost-effective, high availability.
    • Cons: Complex, requires data partitioning.
  • Vertical Scaling: Upgrading a single server's hardware. (Using single big server)

    • Pros: Simple, less complex.
    • Cons: Expensive, limited scalability.

I hope this gave much better clarity

Collapse
 
rodriveiga01 profile image
Rodrigo Veiga

Thank you for the explanation!

Thread Thread
 
thesohailjafri profile image
Sohail SJ | TheZenLabs

Glad i can help