P95 Query Time
34 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.5 ms | 18.0 ms | 33.0 ms |
| Sep 22, 2026 | 13 | 15.38 ms | 2.0 ms | 32.0 ms |
| Sep 21, 2026 | 11 | 17.0 ms | 1.0 ms | 31.0 ms |
| Sep 20, 2026 | 19 | 18.47 ms | 2.0 ms | 35.0 ms |
| Sep 19, 2026 | 16 | 16.31 ms | 2.0 ms | 32.0 ms |
| Sep 18, 2026 | 14 | 18.14 ms | 2.0 ms | 35.0 ms |
| Sep 17, 2026 | 6 | 16.67 ms | 1.0 ms | 26.0 ms |
| Sep 16, 2026 | 9 | 25.0 ms | 7.0 ms | 35.0 ms |
| Sep 15, 2026 | 20 | 19.8 ms | 3.0 ms | 42.0 ms |
| Sep 14, 2026 | 14 | 16.64 ms | 2.0 ms | 48.0 ms |
Total of 15 record(s).
Page 1 of 2
Normalized Query
UPDATE posts SET view_count = view_count + ? WHERE published = ?
Diagnostics
Query Characteristics
- Query Type
- UPDATE
- Tables
- 0
- Joins
- 0
- Complexity Score
- 1
- 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/models/post.rb:67 |
34.0 | — | 159 |
app/jobs/cleanup_job.rb:105 |
23.0 | — | 1 |
app/jobs/cache_warming_job.rb:76 |
42.0 | — | 1 |
app/mailers/user_mailer.rb:82 |
31.0 | — | 1 |
app/jobs/cache_warming_job.rb:45 |
22.0 | — | 1 |
app/mailers/user_mailer.rb:118 |
20.0 | — | 1 |
app/jobs/cache_warming_job.rb:10 |
14.0 | — | 1 |
app/mailers/user_mailer.rb:81 |
15.0 | — | 1 |
app/jobs/cache_warming_job.rb:74 |
20.0 | — | 2 |
app/jobs/analytics_job.rb:73 |
3.0 | — | 1 |
app/jobs/image_processing_job.rb:33 |
2.0 | — | 1 |
app/mailers/user_mailer.rb:113 |
27.0 | — | 1 |
app/jobs/cache_warming_job.rb:77 |
48.0 | — | 1 |
app/jobs/notification_job.rb:68 |
27.0 | — | 1 |
app/jobs/image_processing_job.rb:71 |
19.0 | — | 1 |
app/jobs/image_processing_job.rb:70 |
27.0 | — | 1 |
app/jobs/data_export_job.rb:19 |
13.0 | — | 1 |
app/jobs/cache_warming_job.rb:52 |
14.0 | — | 1 |
app/jobs/image_processing_job.rb:85 |
8.0 | — | 1 |
app/jobs/cache_warming_job.rb:59 |
19.0 | — | 1 |
app/jobs/notification_job.rb:116 |
7.0 | — | 1 |
app/jobs/import_job.rb:95 |
14.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:93 |
48.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:102 |
47.0 | — | 1 |
app/jobs/notification_job.rb:62 |
46.0 | — | 1 |
app/jobs/cache_warming_job.rb:87 |
32.0 | — | 1 |
app/jobs/analytics_job.rb:118 |
34.0 | — | 1 |
app/jobs/cache_warming_job.rb:48 |
6.0 | — | 1 |
app/mailers/user_mailer.rb:28 |
30.0 | — | 1 |
app/mailers/user_mailer.rb:41 |
7.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:63 |
11.0 | — | 1 |
app/jobs/analytics_job.rb:48 |
20.0 | — | 1 |
app/jobs/data_export_job.rb:70 |
49.0 | — | 1 |
app/jobs/cache_warming_job.rb:54 |
38.0 | — | 1 |
app/jobs/import_job.rb:116 |
6.0 | — | 1 |
app/jobs/data_export_job.rb:102 |
38.0 | — | 1 |
app/jobs/data_export_job.rb:44 |
32.0 | — | 1 |
app/jobs/cache_warming_job.rb:116 |
26.0 | — | 1 |
app/jobs/notification_job.rb:33 |
27.0 | — | 1 |
Raw Data
{
"query": {
"id": 136,
"normalized_sql": "UPDATE posts SET view_count = view_count + ? WHERE published = ?",
"analyzed_at": "2026-09-23 08:02:23 UTC"
},
"performance": {
"total_executions": 198,
"p95_duration_ms": "35.0",
"avg_duration_ms": 19.1768,
"p95_row_count": null,
"avg_row_count": null
},
"characteristics": {
"query_type": "UPDATE",
"table_count": 0,
"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": 1
},
"call_locations": [
{
"location": "app/models/post.rb:67",
"count": 159,
"p95_duration_ms": "34.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:74",
"count": 2,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/cleanup_job.rb:105",
"count": 1,
"p95_duration_ms": "23.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:95",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:93",
"count": 1,
"p95_duration_ms": "48.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:102",
"count": 1,
"p95_duration_ms": "47.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:62",
"count": 1,
"p95_duration_ms": "46.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:87",
"count": 1,
"p95_duration_ms": "32.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:118",
"count": 1,
"p95_duration_ms": "34.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:48",
"count": 1,
"p95_duration_ms": "6.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:28",
"count": 1,
"p95_duration_ms": "30.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:41",
"count": 1,
"p95_duration_ms": "7.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:63",
"count": 1,
"p95_duration_ms": "11.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:48",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:70",
"count": 1,
"p95_duration_ms": "49.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:54",
"count": 1,
"p95_duration_ms": "38.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:116",
"count": 1,
"p95_duration_ms": "6.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:102",
"count": 1,
"p95_duration_ms": "38.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:44",
"count": 1,
"p95_duration_ms": "32.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:116",
"count": 1,
"p95_duration_ms": "26.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:33",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:76",
"count": 1,
"p95_duration_ms": "42.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:82",
"count": 1,
"p95_duration_ms": "31.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:45",
"count": 1,
"p95_duration_ms": "22.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:118",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:10",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:81",
"count": 1,
"p95_duration_ms": "15.0",
"p95_row_count": null
},
{
"location": "app/jobs/analytics_job.rb:73",
"count": 1,
"p95_duration_ms": "3.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:33",
"count": 1,
"p95_duration_ms": "2.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:113",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:77",
"count": 1,
"p95_duration_ms": "48.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:68",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:71",
"count": 1,
"p95_duration_ms": "19.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:70",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/data_export_job.rb:19",
"count": 1,
"p95_duration_ms": "13.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:52",
"count": 1,
"p95_duration_ms": "14.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:85",
"count": 1,
"p95_duration_ms": "8.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:59",
"count": 1,
"p95_duration_ms": "19.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:116",
"count": 1,
"p95_duration_ms": "7.0",
"p95_row_count": null
}
],
"n_plus_one": {
"detected": false
},
"index_recommendations": [],
"issues": []
}