Recommendations
Query Pattern
Query patterns are used to group similar queries together and analyze their performance.
await prisma.product.findMany({ include: { orderItems: { select: { quantity: true } } }, orderBy: { orderItems: { _sum: { quantity: 'desc' } } }, take: 10 });
Performance
Metrics
These are your key database performance metrics in the selected time range.
Average total duration
128.16msAVG
137msP50
146.7msP99
147.18msMAX
Queries per second
15.15-3%
vs. prior 7 days
Error rate
0.000%+0%
vs. prior 7 days
Overall status
Regression
vs. prior 7 days
Latencies
The following graph shows the time it takes for prisma queries to complete
Errors
The following graph shows the query failures and successes over time.