SAP Note 772497 - FAQ: Oracle Hints

Component : Oracle - Backoffice Service Delivery

Solution : https://service.sap.com/sap/support/notes/772497 (SAP Service marketplace login required)

Summary :
SAP Note discusses the effective use of Oracle hints in SAP environments. Oracle typically optimizes SQL queries based on cost or rules, but hints can be specified to enforce a particular access path. These hints are directly inserted into the SQL queries and can significantly influence the execution plan. The note covers different types of hints, such as CACHE, INDEX, and FIRST_ROWS, each serving specific purposes like improving buffer utilization, favoring certain indices, or optimizing join operations. Instructions for proper syntax and placement of hints within SQL statements are provided, alongside insights on potential pitfalls and the impact of hints on database performance.

Key words :
components sv-bo backoffice service delivery priority recommendations / additional info category faq validity, reference-> 5 optimizer hintssql reference-> basic elements, customer component bc-db-ora oracle, oracle sql-> comments header data released, index access versus full table scan, open sql 135048   long runtimes statements, hints' profile parameter 881083   blocking factors, equi_check_asset function module 789011   faq, /3 parameter dbs/ora/use_hints, dbs/ora/use_hints parameter

Related Notes :

1853295
1138411Performance of rescheduling
902675MB51: Database hints to improve runtime / 4.70
902157MB5B: Improving the runtime using database hints/4.70
881083Blocking factors on Oracle-based systems
825653Oracle: Common misconceptions
817810PM-AA: Runtime problems in EQUI_CHECK_ASSET function module
789011FAQ: Oracle memory areas
766349FAQ: Oracle SQL optimization
750631Approximations for cost calculation of the CBO
724545Adjusting the CBO statistics manually using DBMS_STATS
712624High CPU consumption by Oracle
651060FAQ: Oracle Parallel Execution
176754Problems with CBO and RBO
135048Long runtimes statements w/ ROWNUM <= condition
129385Database hints in Open SQL