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.
Understanding Distributed Transactions
A lecture note on distributed transactions, covering their purpose, challenges, and solutions like atomic clocks, compensating transactions, event-driven architectures, and monoliths.
Is QUIC a Good Protocol for Databases?
Exploring whether QUIC, a UDP-based protocol, could enhance database performance by replacing TCP-based connection pooling.
Understanding PostgreSQL Architecture: Processes and Configurations
A detailed look at PostgreSQL's process-based architecture, covering the postmaster, backend processes, background workers, and auxiliary processes like WAL and autovacuum.
How Databases Store Data on Disk
A lecture explaining how databases store data on HDDs and SSDs, including block organization and the impact of data structures like B-trees and LSM trees.
Shopify's Switch from UUID to ULID for Database Optimization
Exploring Shopify's transition from UUID to ULID for idempotency keys to boost database performance in payment systems.
Understanding SELECT COUNT(*) Performance Issues
Exploring why SELECT COUNT(*) queries can slow down database performance and practical solutions like index-only scans and table vacuuming.
73 post articles, 10 pages.