Prisma Optimize
Prisma Optimize. helps you generate insights and provides recommendations that can help you make your database queries faster.
This helps you to:
- Generate insights about your database queries
- Identify errors to help debug your database queries
- Receive recommendations and discuss them with an AI assistant to enhance query performance.
Optimize aims to help developers of all skill levels write efficient database queries, reducing database load and making applications more responsive.
Get started
Start analyzing the prisma queries in your app in 5 minutes.
Examples
Explore our ready-to-run examples using Optimize.
Supported databases
Optimize works with the database you already have.
In this section
Optimize
Prisma Optimize
Getting Started
Prerequisites
Recordings
The recordings feature helps developers debug and isolate sets of queries into distinct sessions, known as recordings. This targeted approach enables precise performance analysis and optimization by preventing the mixing of queries from different applications or test rounds, leading to clearer insights and more effective debugging.
Recommendations
Prisma AI
Prisma AI enables you to ask follow-up questions on a provided recommendation for additional clarity.
Performance metrics
An Optimize recording session provides detailed insights into the latencies of executed queries, capturing key metrics such as average duration, 50th percentile, 99th percentile, and maximal query execution time.
FAQ
Does Optimize automatically implement optimizations?
Known limitations
Below are the known limitations when using Prisma Optimize. If you are aware of any limitations that are missing, please let us know on the #help-and-questions channel in our community Discord.