What problem does it solve? Slow Oracle Database queries and poorly designed indexes degrade Spring Boot application performance, and diagnosing the root cause requires deep knowledge of execution plans, index strategies, and JPA behavior. ## Core Features & Use Cases - Indexing Strategy: Rules for B-Tree, composite, unique, function-based, and partial indexes, including column ordering for composite indexes (equality → range → order). - Execution Plan Analysis: Guidance on reading EXPLAIN PLAN output and identifying problematic operations like TABLE ACCESS FULL on large tables. - Query & JPA Optimization: Rewriting IN to EXISTS, avoiding functions on indexed columns, keyset pagination, Hibernate batch configuration, and eliminating N+1 problems with JOIN FETCH and @EntityGraph. - Use Case: A Spring Boot endpoint loading paginated citizen messages is slow; apply keyset pagination with a composite index on (postbox_id, received_at DESC, id DESC) and verify the fix via the execution plan. ## Quick Start Ask the AI to review a slow Oracle query or JPA repository method and propose indexes and query rewrites following this tuning guide.