← Back to learning notes

MySQL N+1 signals

Short notes for spotting N+1 behavior before it turns into a database fire drill.

Mar 5, 20261 min read

Signals #

  • repeated query template with changing IDs
  • query count grows with collection size
  • request DB time rises even when individual queries look indexed
  • ORM serializers trigger hidden relationship loads

Reminder #

An N+1 issue is often an application design problem with database symptoms.