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 22, 2026 | 7 | 12.29 ms | 2.0 ms | 32.0 ms |
| Sep 23, 2026 | 3 | 14.33 ms | 2.0 ms | 31.0 ms |
| Sep 20, 2026 | 10 | 15.6 ms | 3.0 ms | 33.0 ms |
| Sep 19, 2026 | 14 | 15.71 ms | 5.0 ms | 32.0 ms |
| Sep 13, 2026 | 21 | 16.9 ms | 1.0 ms | 33.0 ms |
| Sep 15, 2026 | 17 | 17.53 ms | 1.0 ms | 39.0 ms |
| Sep 18, 2026 | 11 | 17.91 ms | 4.0 ms | 29.0 ms |
| Sep 17, 2026 | 13 | 18.46 ms | 6.0 ms | 35.0 ms |
| Sep 11, 2026 | 17 | 18.76 ms | 3.0 ms | 43.0 ms |
| Sep 12, 2026 | 19 | 18.95 ms | 4.0 ms | 33.0 ms |
Total of 15 record(s).
Page 1 of 2
Normalized Query
SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ?
Diagnostics
Query Characteristics
- Query Type
- SELECT
- Tables
- 1
- Joins
- 0
- Complexity Score
- 4
- Has LIMIT
- No
- Has ORDER BY
- No
- Has GROUP BY
- No
- Has Subqueries
- No
Optimization Suggestions
-
Add composite index: add_index :posts, ["title", "content"]
— Efficient multi-column filtering
add_index :posts, ["title", "content"]
Execution Plan
2 | 0 | 216 | SCAN posts
Query Locations
| Location | P95 Duration (ms) | P95 Row Count | Count |
|---|---|---|---|
app/controllers/search_controller.rb:12 |
33.0 | — | 163 |
app/jobs/webhook_delivery_job.rb:38 |
18.0 | — | 1 |
app/jobs/notification_job.rb:102 |
30.0 | — | 1 |
app/jobs/cache_warming_job.rb:22 |
39.0 | — | 1 |
app/mailers/user_mailer.rb:60 |
28.0 | — | 1 |
app/jobs/image_processing_job.rb:74 |
7.0 | — | 1 |
app/jobs/cache_warming_job.rb:50 |
35.0 | — | 1 |
app/jobs/notification_job.rb:50 |
50.0 | — | 1 |
app/jobs/cache_warming_job.rb:13 |
19.0 | — | 1 |
app/jobs/cache_warming_job.rb:98 |
8.0 | — | 1 |
app/jobs/cache_warming_job.rb:106 |
22.0 | — | 1 |
app/jobs/cache_warming_job.rb:32 |
18.0 | — | 1 |
app/jobs/cache_warming_job.rb:105 |
18.0 | — | 1 |
app/jobs/cache_warming_job.rb:35 |
32.0 | — | 1 |
app/jobs/import_job.rb:108 |
20.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:76 |
32.0 | — | 1 |
app/mailers/user_mailer.rb:102 |
5.0 | — | 1 |
app/jobs/cache_warming_job.rb:94 |
6.0 | — | 1 |
app/jobs/import_job.rb:118 |
6.0 | — | 1 |
app/jobs/notification_job.rb:32 |
43.0 | — | 1 |
app/jobs/image_processing_job.rb:102 |
25.0 | — | 1 |
app/jobs/image_processing_job.rb:26 |
27.0 | — | 1 |
app/jobs/cache_warming_job.rb:47 |
21.0 | — | 1 |
app/jobs/notification_job.rb:94 |
33.0 | — | 1 |
app/jobs/webhook_delivery_job.rb:108 |
20.0 | — | 1 |
app/jobs/cache_warming_job.rb:69 |
8.0 | — | 1 |
app/mailers/user_mailer.rb:100 |
35.0 | — | 1 |
app/jobs/cache_warming_job.rb:90 |
6.0 | — | 1 |
app/jobs/cache_warming_job.rb:65 |
37.0 | — | 1 |
Raw Data
{
"query": {
"id": 81,
"normalized_sql": "SELECT posts.* FROM posts WHERE title LIKE ? OR content LIKE ?",
"analyzed_at": "2026-09-23 06:02:25 UTC"
},
"performance": {
"total_executions": 191,
"p95_duration_ms": "34.0",
"avg_duration_ms": 18.4555,
"p95_row_count": null,
"avg_row_count": null
},
"characteristics": {
"query_type": "SELECT",
"table_count": 1,
"join_count": 0,
"where_clause_complexity": 2,
"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": 4
},
"call_locations": [
{
"location": "app/controllers/search_controller.rb:12",
"count": 163,
"p95_duration_ms": "33.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:38",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:102",
"count": 1,
"p95_duration_ms": "30.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:22",
"count": 1,
"p95_duration_ms": "39.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:60",
"count": 1,
"p95_duration_ms": "28.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:74",
"count": 1,
"p95_duration_ms": "7.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:50",
"count": 1,
"p95_duration_ms": "35.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:50",
"count": 1,
"p95_duration_ms": "50.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:13",
"count": 1,
"p95_duration_ms": "19.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:98",
"count": 1,
"p95_duration_ms": "8.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:106",
"count": 1,
"p95_duration_ms": "22.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:32",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:105",
"count": 1,
"p95_duration_ms": "18.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:35",
"count": 1,
"p95_duration_ms": "32.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:108",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:76",
"count": 1,
"p95_duration_ms": "32.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:102",
"count": 1,
"p95_duration_ms": "5.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:94",
"count": 1,
"p95_duration_ms": "6.0",
"p95_row_count": null
},
{
"location": "app/jobs/import_job.rb:118",
"count": 1,
"p95_duration_ms": "6.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:32",
"count": 1,
"p95_duration_ms": "43.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:102",
"count": 1,
"p95_duration_ms": "25.0",
"p95_row_count": null
},
{
"location": "app/jobs/image_processing_job.rb:26",
"count": 1,
"p95_duration_ms": "27.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:47",
"count": 1,
"p95_duration_ms": "21.0",
"p95_row_count": null
},
{
"location": "app/jobs/notification_job.rb:94",
"count": 1,
"p95_duration_ms": "33.0",
"p95_row_count": null
},
{
"location": "app/jobs/webhook_delivery_job.rb:108",
"count": 1,
"p95_duration_ms": "20.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:69",
"count": 1,
"p95_duration_ms": "8.0",
"p95_row_count": null
},
{
"location": "app/mailers/user_mailer.rb:100",
"count": 1,
"p95_duration_ms": "35.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:90",
"count": 1,
"p95_duration_ms": "6.0",
"p95_row_count": null
},
{
"location": "app/jobs/cache_warming_job.rb:65",
"count": 1,
"p95_duration_ms": "37.0",
"p95_row_count": null
}
],
"n_plus_one": {
"detected": false
},
"index_recommendations": [
"add_index :posts, [\"title\", \"content\"]"
],
"issues": [],
"explain_plan": "2 | 0 | 216 | SCAN posts"
}