Operation 161890

SELECT id, name, email FROM users WHERE id = ?
Operation Type
sql
Duration
22.0 ms
Request Impact
6.5% of total request time
Occurred At
Sep 09, 2026 8:36 PM
SQL Analysis
Normal query (<100 ms)
Performance Comparison
Average: 17.9ms
95th Percentile: 34.0ms
Based on 1000 recent operations
Related Operations
5 similar operations in this request
Potential N+1 query pattern detected
Optimization Tips
Add single_column index: add_index :users, :id - Fast lookups for id = value queries
Add covering index: add_index :users, ["id", "name", "email"], name: 'covering_idx_users_id' - Index-only scan without table access
Index Optimization - Review indexes on the 'users' table. Consider composite indexes for WHERE clauses.