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 | 23.0 ms | 15.0 ms | 31.0 ms |
| Sep 22, 2026 | 19 | 18.63 ms | 4.0 ms | 35.0 ms |
| Sep 21, 2026 | 12 | 17.92 ms | 1.0 ms | 32.0 ms |
| Sep 20, 2026 | 19 | 16.63 ms | 1.0 ms | 31.0 ms |
| Sep 19, 2026 | 15 | 17.6 ms | 1.0 ms | 35.0 ms |
| Sep 18, 2026 | 11 | 23.73 ms | 8.0 ms | 34.0 ms |
| Sep 17, 2026 | 10 | 19.8 ms | 14.0 ms | 34.0 ms |
| Sep 16, 2026 | 11 | 14.27 ms | 1.0 ms | 29.0 ms |
| Sep 15, 2026 | 13 | 13.38 ms | 5.0 ms | 26.0 ms |
| Sep 14, 2026 | 15 | 16.2 ms | 2.0 ms | 37.0 ms |
Total of 15 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 | — | 177 |
app/jobs/data_export_job.rb:10 |
5.0 | — | 1 |
app/jobs/image_processing_job.rb:80 |
18.0 | — | 1 |
app/jobs/cache_warming_job.rb:112 |
8.0 | — | 1 |
app/jobs/data_export_job.rb:62 |
37.0 | — | 1 |
app/jobs/cleanup_job.rb:50 |
20.0 | — | 1 |
app/jobs/cache_warming_job.rb:14 |
7.0 | — | 1 |
app/jobs/notification_job.rb:88 |
26.0 | — | 1 |
app/jobs/image_processing_job.rb:117 |
33.0 | — | 1 |
app/mailers/user_mailer.rb:52 |
16.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:12 |
31.0 | — | 1 |
app/jobs/cache_warming_job.rb:67 |
27.0 | — | 1 |
app/jobs/notification_job.rb:109 |
47.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:70 |
12.0 | — | 1 |
app/jobs/image_processing_job.rb:53 |
2.0 | — | 1 |
app/jobs/analytics_job.rb:47 |
47.0 | — | 1 |
app/jobs/report_generator_job.rb:100 |
10.0 | — | 1 |
app/jobs/cache_warming_job.rb:83 |
21.0 | — | 1 |
app/jobs/notification_job.rb:96 |
20.0 | — | 1 |
app/jobs/cache_warming_job.rb:99 |
44.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:35 |
24.0 | — | 1 |
app/jobs/cache_warming_job.rb:18 |
5.0 | — | 1 |
app/mailers/user_mailer.rb:12 |
23.0 | — | 1 |
Raw Data
{
"query": {
"id": 68,
"normalized_sql": "DELETE FROM comments WHERE created_at < ?",
"analyzed_at": "2026-09-23 05:02:24 UTC"
},
"performance": {
"total_executions": 199,
"p95_duration_ms": "35.0",
"avg_duration_ms": 18.7186,
"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": 177,
"p95_duration_ms": "34.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:10",
"count": 1,
"p95_duration_ms": "5.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:80",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:112",
"count": 1,
"p95_duration_ms": "8.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:62",
"count": 1,
"p95_duration_ms": "37.0",
"p95_row_count": null
},
{
"location": "app/jobs/cleanup_job.rb:50",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:14",
"count": 1,
"p95_duration_ms": "7.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:88",
"count": 1,
"p95_duration_ms": "26.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:117",
"count": 1,
"p95_duration_ms": "33.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:52",
"count": 1,
"p95_duration_ms": "16.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:12",
"count": 1,
"p95_duration_ms": "31.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:67",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:109",
"count": 1,
"p95_duration_ms": "47.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:70",
"count": 1,
"p95_duration_ms": "12.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:53",
"count": 1,
"p95_duration_ms": "2.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:47",
"count": 1,
"p95_duration_ms": "47.0",
"p95_row_count": null
},
{
"location": "app/jobs/report_generator_job.rb:100",
"count": 1,
"p95_duration_ms": "10.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:83",
"count": 1,
"p95_duration_ms": "21.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:96",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:99",
"count": 1,
"p95_duration_ms": "44.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:35",
"count": 1,
"p95_duration_ms": "24.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:18",
"count": 1,
"p95_duration_ms": "5.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:12",
"count": 1,
"p95_duration_ms": "23.0",
"p95_row_count": null
}
],
"n_plus_one": {
"detected": false
},
"index_recommendations": [
"add_index :comments, :created_at"
],
"issues": []
}