Database queries

Track every query, find every N+1, stop duplicates fast.

Laritor captures every database query, highlights N+1 and duplicate patterns, and pinpoints the exact file and line where each query runs. Filter by duration and issue type to fix performance bottlenecks quickly.

Query visibility

Every database query

Performance insight

Duration + trends

Issue detection

N+1 + duplicate

Pinpointed location

Exact file + line

Query detail

N+1 surfaced instantly

See the exact line causing repeated queries.

Duplicate query detection

Know when the same SQL runs too often.

Query intelligence

See exactly where query time goes.

Filter by duration, N+1, or duplicate to focus on the slowest, noisiest, or most wasteful queries.

Watch demo →

Filter by duration thresholds

Highlight N+1 query patterns

Detect duplicate queries immediately

View exact file and line number

Track occurrences per query signature

Correlate queries to request context

Query activity

Query volume over time

Track total query counts to spot spikes or regressions after deploys, schema changes, or feature rollouts.

Query volume over time

Latency trends

Duration trends

Visualize average query durations so you can catch slowdowns before they hurt request latency.

Duration trends

Query details

SQL, occurrences, and exact source lines.

Laritor links every query to the exact file and line where it runs, tracks how often it happens, and flags N+1 or duplicate patterns inline.

  • Exact SQL and bindings for every query
  • N+1 and duplicate indicators surfaced inline
  • Occurrence count with timestamps
  • Precise file and line number of execution
  • Filters by duration, N+1, and duplicates
  • Links back to request, job, or command context
Query duration trends

Laritor AI

Context-aware query optimization guidance.

Laritor AI is aware of your database schema, database type, and version, so recommendations are tailored to your application. It flags risky query patterns and suggests concrete fixes without generic guesswork.

Recommendations tailored to your database type and version
Schema-aware suggestions tied to actual query patterns
Guidance on indexing, eager loading, and query refactors
Context from the originating request, job, or command

Recommendations grounded in your actual data model.

AI query recommendations

Data controls

Redaction and binding control built in.

Protect sensitive data before it leaves your app. Laritor lets you redact query fields and decide whether to capture raw SQL with bindings or just the query text without bindings.

  • Redact sensitive fields before sharing with Laritor
  • Capture raw SQL with bindings or strip bindings entirely
  • Fine-grained filters to exclude noisy queries
  • Optional sampling for high-volume environments

Query observability without blind spots.

Track every query, catch N+1 patterns early, and eliminate duplicates with precise source-level visibility.