Operation 37975

SELECT id, name, email FROM users WHERE id = ?
Operation Type
sql
Duration
6.0 ms
Request Impact
1.7% of total request time
Occurred At
Sep 23, 2026 2:30 AM
SQL Analysis
Normal query (<100 ms)
Performance Comparison
Average: 17.9ms
95th Percentile: 34.0ms
Based on 1000 recent operations
Related Operations
4 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.