Database Performance at Scale

Chapter 1 - A Taste of What You’re Up Against: Two Tales

Chapter 2 - Your Project, Through the Lens of Database Performance

Learn More

Chapter 3 - Database Internals: Hardware and Operation System Interactions

Learn More

Chapter 4 - Database Internals: Algorithmic Optimizations

Chapter 5 - Database Drivers

Learn More

Chapter 6 - Getting Data Closer

Learn More

Chapter 7 - Infrastructure & Deployment Models

Learn More

Chapter 8 - Topology Considerations

Chapter 9 - Benchmarking

Learn More

Chapter 10 - Monitoring

Learn More

  • How to Monitor PostgreSQL - Baron Schwartz (Percona) on how to monitor a database by understanding the difference between workload and resource monitoring—and the golden signals for each
  • Observability Best Practices in Distributed Databases - Felipe Cardeneti Mendes (ScyllaDB) on distributed database observability, showing several real-world situations that may affect workload performance and how to diagnose them
  • Top DynamoDB Performance Metrics - Jean-Mathieu Saponaro (Datadog) on key performance metrics across requests and throttling, errors, and Global Secondary Index creation
  • Top Cassandra Performance Metrics - John Matso (Datadog) on key performance metrics across throughput, latency, disk usage, GC, and more

Chapter 11 - Admin

Appendix A - A Brief Look at Fundamental Database Design Decisions

Learn More

Data Modeling

Getting data modeling right is vital for database performance, but it's a massive topic that varies significantly across database models and types. We reference data modeling throughout the book, but did not feel that adding a dedicated chapter on data modeling would be feasible or adequate. Here are some resources that focus on the topic:

Thanks Cynthia, Felipe, Piotr, and Pavel at scylladb for this awesome article.