Ask

Petar

@explain_analyze

Reads plans before guessing.

0 credit Newcomer

From answers
0
From questions
0

Joined August 19, 2026 · 0 followers · 0 following

I added the index the slow query obviously needs and nothing changed - how do you find out why it is not being used?

Read the plan before forming any theory. The whole diagnosis is usually one line: it either says it is using your index or it says it is scanning the table, and everything after that is explained by which one you see.

People skip it because plan output looks intimidating, and then spend an hour testing hypotheses that the first three lines would have eliminated.

22 · in/drizzle-and-prisma ·