---
title: Databases
url: "https://aaronfrancis.com/topics/databases"
path: "/topics/databases"
type: topic_hub
author: Aaron Francis
topic: Databases
description: "Postgres, SQLite and MySQL. Courses, plus articles and videos."
keywords: [databases, databases]
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Databases

Postgres, SQLite and MySQL. Courses, plus articles and videos.

## Courses

- [Mastering Postgres](https://masteringpostgres.com) *(Course · 2024)*
- [High Performance SQLite](https://highperformancesqlite.com) *(Course · 2024)*
- [MySQL for Developers](https://planetscale.com/mysql) *(Course · 2023)*

## Software

- [Fast Paginate](https://github.com/aarondfrancis/fast-paginate) *(Open source)*

## Videos

- [The database for all your AI needs](/videos/the-database-for-all-your-ai-needs) *(Video · 2025)*
- [Sharding Postgres without extensions with PgDog founder, Lev Kokotov](/videos/sharding-postgres-without-extensions-with-pgdog-founder-lev-kokotov) *(Video · 2025)*
- [Rewriting SQLite from scratch (yes, really)](/videos/rewriting-sqlite-from-scratch-yes-really) *(Video · 2025)*
- [Vitess for Postgres, with the co-founder of PlanetScale](/videos/vitess-for-postgres-with-the-co-founder-of-planetscale) *(Video · 2025)*
- [Making MySQL faster](/videos/making-mysql-faster) *(Video · 2025)*
- [From Prisma Founder to LiveStore: Building local-first apps with Johannes Schickling](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling) *(Video · 2025)*
- [How Durable Objects and D1 Work: A Deep Dive with Cloudflare’s Josh Howard](/videos/how-durable-objects-and-d1-work-a-deep-dive-with-cloudflares-josh-howard) *(Video · 2025)*
- [20 years of hacking Postgres with Heikki Linnakangas (cofounder of Neon)](/videos/20-years-of-hacking-postgres-with-heikki-linnakangas-cofounder-of-neon) *(Video · 2025)*
- [Building a serverless database replica with Carl Sverre](/videos/building-a-serverless-database-replica-with-carl-sverre) *(Video · 2025)*
- [Designing the data model for our course platform (with Stripe)](/videos/designing-the-data-model-for-our-course-platform-with-stripe) *(Video · 2025)*
- [Postgres on bare metal with the CEO of Prisma](/videos/postgres-on-bare-metal-with-the-ceo-of-prisma) *(Video · 2025)*
- [Moving from Redis to SQLite with Mike Buckbee](/videos/moving-from-redis-to-sqlite-with-mike-buckbee) *(Video · 2024)*
- [Vectors in SQLite! (with libSQL)](/videos/vectors-in-sqlite-with-libsql) *(Video · 2024)*
- [Launching Mastering Postgres!](/videos/launching-mastering-postgres) *(Video · 2024)*
- [Creating a Postgres platform with Monica & Tudor from Xata.io](/videos/creating-a-postgres-platform-with-monica-tudor-from-xataio) *(Video · 2024)*
- [Tips for handling timezones in Postgres](/videos/tips-for-handling-timezones-in-postgres) *(Video · 2024)*
- [Heroku's glory days & Postgres vs the world, w/ Craig Kerstiens](/videos/herokus-glory-days-postgres-vs-the-world-w-craig-kerstiens) *(Video · 2024)*
- [Ruby on Rails + SQLite with Stephen Margheim](/videos/ruby-on-rails-sqlite-with-stephen-margheim) *(Video · 2024)*
- [SQL for fun and profit](/videos/sql-for-fun-and-profit) *(Video · 2024)*
- [SQLite's WAL mode is fast fast](/videos/sqlites-wal-mode-is-fast-fast) *(Video · 2024)*
- [Launching High Performance SQLite](/videos/launching-high-performance-sqlite) *(Livestream · 2024)*
- [Migrating from Postgres to SQLite with Kent C. Dodds](/videos/migrating-from-postgres-to-sqlite-with-kent-c-dodds) *(Video · 2024)*
- [Production SQLite with Turso and libSQL](/videos/production-sqlite-with-turso-and-libsql) *(Video · 2024)*
- [SQLite is not weakly typed!](/videos/sqlite-is-not-weakly-typed) *(Video · 2024)*
- [Offline-first, multiplayer SQLite](/videos/offline-first-multiplayer-sqlite) *(Video · 2024)*
- [Distributed SQLite with Litestream and LiteFS](/videos/distributed-sqlite-with-litestream-and-litefs) *(Video · 2024)*
- [DHH discusses SQLite (and Stoicism)](/videos/dhh-discusses-sqlite-and-stoicism) *(Video · 2024)*
- [Two new MySQL expressions](/videos/two-new-mysql-expressions) *(Video · 2023)*
- [Faster than a regular database index](/videos/faster-than-a-regular-database-index) *(Video · 2023)*
- [How I add millions of rows to MySQL (for performance testing)](/videos/how-i-add-millions-of-rows-to-mysql-for-performance-testing) *(Video · 2023)*
- [You don't always need JOINs](/videos/you-dont-always-need-joins) *(Video · 2023)*
- [Saving a SaaS on the weekend](/videos/saving-a-saas-on-the-weekend) *(Video · 2023)*
- [Storing feature flags as JSON (with indexing)](/videos/storing-feature-flags-as-json-with-indexing) *(Video · 2023)*
- [Store 8 feature flags in 1 integer (Bitwise operations in MySQL)](/videos/store-8-feature-flags-in-1-integer-bitwise-operations-in-mysql) *(Video · 2023)*
- [You don't need NoSQL (use MySQL)](/videos/you-dont-need-nosql-use-mysql) *(Video · 2023)*
- [Easy database indexing strategies](/videos/easy-database-indexing-strategies) *(Video · 2023)*
- [Using MySQL to stop freeloaders (in only 8 minutes)](/videos/using-mysql-to-stop-freeloaders-in-only-8-minutes) *(Video · 2023)*
- [I love my database GUI](/videos/i-love-my-database-gui) *(Video · 2023)*
- [Your database will break in 2038 (or sooner)](/videos/your-database-will-break-in-2038-or-sooner) *(Video · 2023)*
- [Database enums are weird](/videos/database-enums-are-weird) *(Video · 2023)*
- [INT(11) is a lie](/videos/int11-is-a-lie) *(Video · 2023)*
- [Faster database indexes (straight from the docs)](/videos/faster-database-indexes-straight-from-the-docs) *(Video · 2023)*
- [Faster geospatial queries in MySQL](/videos/faster-geospatial-queries-in-mysql) *(Video · 2023)*
- [Pagination in MySQL - offset vs. cursor](/videos/pagination-in-mysql-offset-vs-cursor) *(Video · 2023)*
- [Stop using COUNT(id) to count rows](/videos/stop-using-countid-to-count-rows) *(Video · 2023)*
- [Make your database queries 1000 times faster!](/videos/make-your-database-queries-1000-times-faster) *(Video · 2023)*
- [Don't hide your database indexes!](/videos/dont-hide-your-database-indexes) *(Video · 2023)*
- [Storing money in MySQL (the right way)](/videos/storing-money-in-mysql-the-right-way) *(Video · 2023)*
- [MySQL case insensitive searching (don't use LOWER)](/videos/mysql-case-insensitive-searching-dont-use-lower) *(Video · 2023)*
- [Database performance for application developers](/about/speaking/database-performance-for-application-developers) *(Talk · 2022)*

## Writing

- [SQLite is not weakly typed!](/writing/sqlite-is-not-weakly-typed) *(Technical · 2024)*
- [Finding missing orders with a recursive CTE](/writing/finding-missing-orders-with-a-recursive-cte) *(Technical · 2024)*
- [Shipping SQLite to Lambda (with Laravel Vapor)](/writing/shipping-sqlite-to-lambda-with-laravel-vapor) *(Technical · 2023)*
- [Datetimes versus timestamps in MySQL](https://planetscale.com/blog/datetimes-vs-timestamps-in-mysql) *(Elsewhere · 2023)*
- [Generated hash columns in MySQL](https://planetscale.com/blog/generated-hash-columns-in-mysql) *(Elsewhere · 2023)*
- [Using redundant conditions to unlock indexes in MySQL](https://planetscale.com/blog/redundant-and-approximate-conditions) *(Elsewhere · 2023)*
- [Character sets and collations in MySQL](https://planetscale.com/blog/mysql-charsets-collations) *(Elsewhere · 2023)*
- [Why isn’t MySQL using my index?](https://planetscale.com/blog/why-isnt-mysql-using-my-index) *(Elsewhere · 2023)*
- [Indexing JSON in MySQL](https://planetscale.com/blog/indexing-json-in-mysql) *(Elsewhere · 2022)*
- [Pagination in MySQL](https://planetscale.com/blog/mysql-pagination) *(Elsewhere · 2022)*
- [Is COUNT(*) slow in MySQL?](/writing/is-count-slow-in-mysql) *(Technical · 2022)*
- [Efficient MySQL pagination using deferred joins](/writing/efficient-mysql-pagination-using-deferred-joins) *(Technical · 2022)*
- [Bitmasking in Laravel and MySQL](/writing/bitmasking-in-laravel-and-mysql) *(Technical · 2021)*
- [Efficient distance querying in MySQL](/writing/efficient-distance-querying-in-mysql) *(Technical · 2021)*
- [Using MySQL triggers to ensure immutability](/writing/using-mysql-triggers-to-ensure-immutability) *(Technical · 2013)*

---

## Related on aaronfrancis.com

- [Maybe I should be a professor](/newsletter/maybe-i-should-be-a-professor) *(Newsletter · 2025-07-18 · shared: databases)*
- [Become known for a thing](/writing/become-known-for-a-thing) *(Article · 2025-04-28 · shared: databases)*
- [Epic Bets: Practical Tips for Betting on Yourself with Aaron Francis](/podcast/epic-bets-practical-tips-for-betting-on-yourself-with-aaron-francis-a9e9f94b) *(Podcast · 2025-02-08 · shared: databases)*
- [99 Dev Problems with Aaron Francis](/podcast/99-dev-problems-with-aaron-francis-04ae9c5b) *(Podcast · 2025-01-16 · shared: databases)*
- [Teaching Databases, Writing PHP, and Independent Work with Aaron Francis](/podcast/teaching-databases-writing-php-and-independent-work-with-aaron-francis-a22e6b07) *(Podcast · 2024-08-27 · shared: databases)*

## Relevant Resources from Aaron Francis

- **[MySQL for Developers](https://databaseschool.com)** (overview on site: [/courses](/courses)): Full video course covering MySQL indexing, deferred joins, pagination, query plans, and schema design for application developers.
- **[Mastering Postgres](https://databaseschool.com)** (overview on site: [/courses](/courses)): Deep-dive video course on PostgreSQL indexing, query performance, JSONB, full-text search, locking, and production operations.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `databases` ([D-E](/llms/keywords/d-e.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
