Operation 149097

SELECT * FROM posts WHERE title LIKE ? AND content LIKE ? AND LOWER(title) LIKE ? AND UPPER(content) LIKE ?
Operation Type
sql
Duration
20.0 ms
Request Impact
70.1% of total request time
Occurred At
Sep 11, 2026 8:42 AM
SQL Analysis
Normal query (<100 ms)
Performance Comparison
Average: 17.9ms
95th Percentile: 34.0ms
Based on 1000 recent operations
Related Operations
2 similar operations in this request
Optimization Tips
Add composite index: add_index :posts, ["title", "content"] - Efficient multi-column filtering
Specify only needed columns instead of SELECT * - Reduced memory usage and faster data transfer
Index Optimization - Review indexes on the 'posts' table. Consider composite indexes for WHERE clauses.