---
title: Database performance for application developers
url: "https://aaronfrancis.com/about/speaking/database-performance-for-application-developers"
path: "/about/speaking/database-performance-for-application-developers"
type: talk
author: Aaron Francis
published: 2022-09-14
topic: Databases
keywords: [database performance, query optimization, laracon, laravel, database indexes, sql, n 1 queries, execution plans, slow queries, database design, query profiling, application performance]
location: Laracon Online
chunked: true
full_bytes: 42390
section_count: 3
full_url: "/about/speaking/database-performance-for-application-developers/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Database performance for application developers

I gave a talk called "Database Performance for Application Developers" at a Laravel conference.

## Sections (41.4 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (41.4 KB)](/about/speaking/database-performance-for-application-developers/full.md).

### 1. Part 1 (6:02:24–6:18:11 · 15.3 KB)
Aaron Francis introduces himself as a Laravel developer and new PlanetScale educator, then explains single-column and composite indexes, emphasizing the left-to-right rule and the importance of column ordering in composite indexes.
Keywords: `uuids`, `guids`, `data`, `data structure`, `index`, `database indexes`, `separate data`, `people born`
[Read section 1 verbatim](/about/speaking/database-performance-for-application-developers/sections/1-part-1.md)

### 2. Part 2 (6:18:11–6:34:36 · 15.4 KB)
Composite index queries must follow left-to-right ordering without skipping columns and stop at the first range; generated columns and invisible columns in MySQL 8 provide workarounds for index obfuscation while prioritizing actual index usage in queries.
Keywords: `mysql`, `covering indexes`, `tableplus`, `index`, `json blob`, `generated columns`, `first range`, `select star`
[Read section 2 verbatim](/about/speaking/database-performance-for-application-developers/sections/2-part-2.md)

### 3. Part 3 (6:34:37–6:45:14 · 10.6 KB)
Avoid wrapping indexed columns in functions (e.g., YEAR(created_at)) which forces full table scans; About You hiring announcement for Laravel and technical positions with 10% discount code.
Keywords: `mysql`, `planetscale`, `select star`, `due date`, `redundant condition`, `eloquent`, `columns`, `generated columns`
[Read section 3 verbatim](/about/speaking/database-performance-for-application-developers/sections/3-part-3.md)

---

## Related on aaronfrancis.com

- [You don't always need JOINs](/videos/you-dont-always-need-joins) *(Video · 2023-11-22 · shared: database performance, query optimization, database design)*
- [MySQL for Developers](/courses) *(Course · 2023-03-01 · shared: database design, database indexes, sql)*
- [All the Frontends, Onboarding Nova, and MySQL Stuff](/podcast/all-the-frontends-onboarding-nova-and-mysql-stuff-4b092040) *(Podcast · 2022-01-27 · shared: laravel, database performance, query optimization)*
- [Where there is no vision, the people perish](/newsletter/where-there-is-no-vision) *(Newsletter · 2026-11-13 · shared: laravel, laracon)*
- [This is a season of Type Two fun](/newsletter/this-is-a-season-of-type-two-fun) *(Newsletter · 2025-08-08 · shared: laracon, laravel)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.
- **[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.

## 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: `database performance` ([D-E](/llms/keywords/d-e.txt)), `query optimization` ([Q-R](/llms/keywords/q-r.txt)), `laracon` ([K-L](/llms/keywords/k-l.txt)), `sql` ([S](/llms/keywords/s.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).
