Operation 200897

SELECT id, name, email FROM users WHERE id = ?
Operation Type
sql
Duration
29.0 ms
Request Impact
290.0% of total request time
Occurred At
Sep 12, 2026 8:24 PM
SQL Analysis
Normal query (<100 ms)
Performance Comparison
Average: 18.1ms
95th Percentile: 34.0ms
Based on 1000 recent operations
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.