P95 Query Time
33 ms
Compared to previous 7 days
Query Responses
Click marker to copy SHA
| Time Period ▼ | Executions | Avg Duration | Min Duration | Max Duration |
|---|---|---|---|---|
| Sep 23, 2026 | 2 | 25.0 ms | 17.0 ms | 33.0 ms |
| Sep 22, 2026 | 13 | 21.08 ms | 5.0 ms | 33.0 ms |
| Sep 21, 2026 | 11 | 16.91 ms | 1.0 ms | 32.0 ms |
| Sep 20, 2026 | 14 | 9.29 ms | 1.0 ms | 26.0 ms |
| Sep 19, 2026 | 14 | 16.14 ms | 2.0 ms | 33.0 ms |
| Sep 18, 2026 | 16 | 15.31 ms | 3.0 ms | 31.0 ms |
| Sep 17, 2026 | 6 | 14.17 ms | 1.0 ms | 30.0 ms |
| Sep 16, 2026 | 15 | 15.27 ms | 4.0 ms | 34.0 ms |
| Sep 15, 2026 | 14 | 18.57 ms | 3.0 ms | 32.0 ms |
| Sep 14, 2026 | 16 | 21.19 ms | 3.0 ms | 39.0 ms |
Total of 15 record(s).
Page 1 of 2
Normalized Query
SELECT id, name FROM users WHERE email = ?
Diagnostics
Query Characteristics
- Query Type
- SELECT
- Tables
- 1
- Joins
- 0
- Complexity Score
- 3
- Has LIMIT
- No
- Has ORDER BY
- No
- Has GROUP BY
- No
- Has Subqueries
- No
Optimization Suggestions
-
Add single_column index: add_index :users, :email
— Fast lookups for email = value queries
add_index :users, :email
Execution Plan
2 | 0 | 216 | SCAN users
Query Locations
| Location | P95 Duration (ms) | P95 Row Count | Count |
|---|---|---|---|
app/models/application_record.rb:12 |
33.0 | — | 171 |
app/jobs/cache_warming_job.rb:87 |
3.0 | — | 1 |
app/jobs/analytics_job.rb:61 |
16.0 | — | 1 |
app/jobs/analytics_job.rb:65 |
18.0 | — | 1 |
app/jobs/cache_warming_job.rb:27 |
22.0 | — | 1 |
app/jobs/notification_job.rb:27 |
27.0 | — | 1 |
app/jobs/image_processing_job.rb:30 |
14.0 | — | 1 |
app/jobs/data_export_job.rb:35 |
19.0 | — | 1 |
app/jobs/data_export_job.rb:97 |
14.0 | — | 1 |
app/jobs/analytics_job.rb:16 |
39.0 | — | 1 |
app/jobs/data_export_job.rb:70 |
45.0 | — | 1 |
app/jobs/image_processing_job.rb:51 |
24.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:48 |
14.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:35 |
50.0 | — | 1 |
app/mailers/user_mailer.rb:110 |
31.0 | — | 1 |
app/jobs/notification_job.rb:59 |
44.0 | — | 1 |
app/jobs/import_job.rb:116 |
4.0 | — | 1 |
app/jobs/import_job.rb:47 |
2.0 | — | 1 |
app/jobs/import_job.rb:26 |
49.0 | — | 1 |
app/jobs/notification_job.rb:89 |
2.0 | — | 1 |
app/jobs/notification_job.rb:71 |
30.0 | — | 2 |
app/jobs/data_export_job.rb:112 |
47.0 | — | 1 |
app/jobs/cache_warming_job.rb:35 |
29.0 | — | 1 |
app/jobs/cache_warming_job.rb:102 |
8.0 | — | 1 |
app/jobs/notification_job.rb:22 |
31.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:78 |
13.0 | — | 1 |
app/jobs/notification_job.rb:91 |
24.0 | — | 1 |
app/jobs/cache_warming_job.rb:29 |
12.0 | — | 1 |
app/jobs/cache_warming_job.rb:119 |
30.0 | — | 1 |
app/jobs/image_processing_job.rb:26 |
4.0 | — | 1 |
app/jobs/cache_warming_job.rb:109 |
25.0 | — | 1 |
app/mailers/user_mailer.rb:28 |
43.0 | — | 1 |
app/mailers/user_mailer.rb:18 |
9.0 | — | 1 |
app/jobs/cache_warming_job.rb:69 |
34.0 | — | 1 |
Raw Data
{
"query": {
"id": 55,
"normalized_sql": "SELECT id, name FROM users WHERE email = ?",
"analyzed_at": "2026-09-23 05:02:24 UTC"
},
"performance": {
"total_executions": 205,
"p95_duration_ms": "34.0",
"avg_duration_ms": 18.639,
"p95_row_count": null,
"avg_row_count": null
},
"characteristics": {
"query_type": "SELECT",
"table_count": 1,
"join_count": 0,
"where_clause_complexity": 1,
"has_subqueries": false,
"has_limit": false,
"has_order_by": false,
"has_group_by": false,
"has_having": false,
"has_distinct": false,
"has_aggregations": false,
"estimated_complexity": 3
},
"call_locations": [
{
"location": "app/models/application_record.rb:12",
"count": 171,
"p95_duration_ms": "33.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:71",
"count": 2,
"p95_duration_ms": "30.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:87",
"count": 1,
"p95_duration_ms": "3.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:26",
"count": 1,
"p95_duration_ms": "49.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:89",
"count": 1,
"p95_duration_ms": "2.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:112",
"count": 1,
"p95_duration_ms": "47.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:35",
"count": 1,
"p95_duration_ms": "29.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:102",
"count": 1,
"p95_duration_ms": "8.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:22",
"count": 1,
"p95_duration_ms": "31.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:78",
"count": 1,
"p95_duration_ms": "13.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:91",
"count": 1,
"p95_duration_ms": "24.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:29",
"count": 1,
"p95_duration_ms": "12.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:119",
"count": 1,
"p95_duration_ms": "30.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:26",
"count": 1,
"p95_duration_ms": "4.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:109",
"count": 1,
"p95_duration_ms": "25.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:28",
"count": 1,
"p95_duration_ms": "43.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:18",
"count": 1,
"p95_duration_ms": "9.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:69",
"count": 1,
"p95_duration_ms": "34.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:61",
"count": 1,
"p95_duration_ms": "16.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:65",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:27",
"count": 1,
"p95_duration_ms": "22.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:27",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:30",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:35",
"count": 1,
"p95_duration_ms": "19.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:97",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:16",
"count": 1,
"p95_duration_ms": "39.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:70",
"count": 1,
"p95_duration_ms": "45.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:51",
"count": 1,
"p95_duration_ms": "24.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:48",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:35",
"count": 1,
"p95_duration_ms": "50.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:110",
"count": 1,
"p95_duration_ms": "31.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:59",
"count": 1,
"p95_duration_ms": "44.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:116",
"count": 1,
"p95_duration_ms": "4.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:47",
"count": 1,
"p95_duration_ms": "2.0",
"p95_row_count": null
}
],
"n_plus_one": {
"detected": false
},
"index_recommendations": [
"add_index :users, :email",
"add_index :users, [\"email\", \"id\", \"name\"], name: 'covering_idx_users_email'"
],
"issues": [],
"explain_plan": "2 | 0 | 216 | SCAN users"
}