Optimistic vs Pessimistic Concurrency Control in Databases
A personal look into how databases manage concurrent access through two main strategies: optimistic and pessimistic concurrency control.
Advanced InnoDB Locking Techniques in MySQL 8
This lecture covers how MySQL 8 improved locking in InnoDB with smarter page-level concurrency and B+ tree optimizations.
Understanding Postgres Locks: A Deep Dive
A practical and clear overview of Postgres lock types, their behaviors, and real-world implications.
Understanding Write Amplification in Databases and SSDs
This lecture explores write amplification across application, database, and storage levels, highlighting its impact on performance and hardware longevity.
Understanding NULLs in Database Queries and Their Impact on Performance
Exploring NULLs in databases, their storage in PostgreSQL using null bitmaps, and their impact on query performance, with practical tips for optimization.
Why Uber Switched from Postgres to MySQL: Lecture Notes
A summary of a lecture discussing Uber's 2016 migration from Postgres to MySQL, covering technical challenges, community backlash, and lessons on database choices.
Understanding Indexing in PostgreSQL vs MySQL
A comparison of indexing mechanisms in PostgreSQL and MySQL, highlighting their differences in performance for reads and writes.
Understanding Hash Tables and Consistent Hashing
A deep dive into hash tables, their use in database joins, limitations, and how consistent hashing solves scaling issues in distributed systems.
119 post articles, 15 pages.