P95 Query Time
35 ms
Compared to previous 7 days
Query Responses
Click marker to copy SHA
| Time Period ▼ | Executions | Avg Duration | Min Duration | Max Duration |
|---|---|---|---|---|
| Sep 22, 2026 | 18 | 16.11 ms | 3.0 ms | 34.0 ms |
| Sep 21, 2026 | 9 | 18.0 ms | 4.0 ms | 32.0 ms |
| Sep 20, 2026 | 11 | 15.64 ms | 2.0 ms | 34.0 ms |
| Sep 19, 2026 | 14 | 14.57 ms | 3.0 ms | 35.0 ms |
| Sep 18, 2026 | 7 | 20.86 ms | 13.0 ms | 34.0 ms |
| Sep 17, 2026 | 18 | 21.28 ms | 3.0 ms | 35.0 ms |
| Sep 16, 2026 | 9 | 19.22 ms | 3.0 ms | 35.0 ms |
| Sep 15, 2026 | 19 | 24.79 ms | 5.0 ms | 50.0 ms |
| Sep 14, 2026 | 13 | 23.31 ms | 12.0 ms | 36.0 ms |
| Sep 13, 2026 | 18 | 21.83 ms | 1.0 ms | 46.0 ms |
Total of 14 record(s).
Page 1 of 2
Normalized Query
DELETE FROM comments WHERE created_at < ?
Diagnostics
Query Characteristics
- Query Type
- DELETE
- Tables
- 1
- Joins
- 0
- Complexity Score
- 3
- Has LIMIT
- No
- Has ORDER BY
- No
- Has GROUP BY
- No
- Has Subqueries
- No
Query Locations
| Location | P95 Duration (ms) | P95 Row Count | Count |
|---|---|---|---|
app/jobs/cleanup_job.rb:23 |
34.0 | — | 175 |
app/jobs/report_generator_job.rb:98 |
50.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:54 |
37.0 | — | 1 |
app/jobs/notification_job.rb:18 |
44.0 | — | 1 |
app/mailers/user_mailer.rb:71 |
31.0 | — | 1 |
app/mailers/user_mailer.rb:48 |
39.0 | — | 1 |
app/jobs/cache_warming_job.rb:46 |
23.0 | — | 1 |
app/jobs/cache_warming_job.rb:62 |
12.0 | — | 1 |
app/jobs/report_generator_job.rb:116 |
10.0 | — | 1 |
app/jobs/image_processing_job.rb:46 |
42.0 | — | 1 |
app/mailers/user_mailer.rb:56 |
23.0 | — | 1 |
app/jobs/cache_warming_job.rb:112 |
46.0 | — | 1 |
app/jobs/cleanup_job.rb:106 |
18.0 | — | 1 |
app/mailers/user_mailer.rb:10 |
45.0 | — | 1 |
app/jobs/cache_warming_job.rb:40 |
21.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:33 |
48.0 | — | 1 |
app/mailers/user_mailer.rb:105 |
19.0 | — | 1 |
app/jobs/report_generator_job.rb:13 |
29.0 | — | 1 |
app/jobs/notification_job.rb:32 |
24.0 | — | 1 |
app/jobs/image_processing_job.rb:65 |
10.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:94 |
18.0 | — | 1 |
app/jobs/cache_warming_job.rb:102 |
47.0 | — | 1 |
app/jobs/notification_job.rb:29 |
4.0 | — | 1 |
Raw Data
{
"query": {
"id": 45,
"normalized_sql": "DELETE FROM comments WHERE created_at < ?",
"analyzed_at": "2026-09-23 04:02:22 UTC"
},
"performance": {
"total_executions": 197,
"p95_duration_ms": "36.0",
"avg_duration_ms": 20.1371,
"p95_row_count": null,
"avg_row_count": null
},
"characteristics": {
"query_type": "DELETE",
"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/jobs/cleanup_job.rb:23",
"count": 175,
"p95_duration_ms": "34.0",
"p95_row_count": null
},
{
"location": "app/jobs/report_generator_job.rb:98",
"count": 1,
"p95_duration_ms": "50.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:54",
"count": 1,
"p95_duration_ms": "37.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:18",
"count": 1,
"p95_duration_ms": "44.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:71",
"count": 1,
"p95_duration_ms": "31.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:48",
"count": 1,
"p95_duration_ms": "39.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:46",
"count": 1,
"p95_duration_ms": "23.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:62",
"count": 1,
"p95_duration_ms": "12.0",
"p95_row_count": null
},
{
"location": "app/jobs/report_generator_job.rb:116",
"count": 1,
"p95_duration_ms": "10.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:46",
"count": 1,
"p95_duration_ms": "42.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:56",
"count": 1,
"p95_duration_ms": "23.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:112",
"count": 1,
"p95_duration_ms": "46.0",
"p95_row_count": null
},
{
"location": "app/jobs/cleanup_job.rb:106",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:10",
"count": 1,
"p95_duration_ms": "45.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:40",
"count": 1,
"p95_duration_ms": "21.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:33",
"count": 1,
"p95_duration_ms": "48.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:105",
"count": 1,
"p95_duration_ms": "19.0",
"p95_row_count": null
},
{
"location": "app/jobs/report_generator_job.rb:13",
"count": 1,
"p95_duration_ms": "29.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:32",
"count": 1,
"p95_duration_ms": "24.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:65",
"count": 1,
"p95_duration_ms": "10.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:94",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:102",
"count": 1,
"p95_duration_ms": "47.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:29",
"count": 1,
"p95_duration_ms": "4.0",
"p95_row_count": null
}
],
"n_plus_one": {
"detected": false
},
"index_recommendations": [
"add_index :comments, :created_at"
],
"issues": []
}