SAP Note 634263 - Selects with FOR ALL ENTRIES

Component : Database Interface / DBMS for Oracle - Oracle

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

Summary :
This SAP Note addresses issues observed in ABAP programs utilizing "FOR ALL ENTRIES" where inappropriate indexes or full table scans lead to high runtimes and costs. Adjustments to the 'rsdb/prefer_in_itab_opt' parameter, which influences how "FOR ALL ENTRIES" is executed, have been recommended. To enhance performance and reduce system strain, especially on memory and CPU resources, the optimal value for 'rsdb/max_in_blocking_factor' should be set at 5. Through transaction ST05, users can test the impact of these adjustments on system behavior. This note emphasizes the importance of consistent parameter settings across all instances for reliability and optimal function.

Key words :
transaction sm50 -> process -> trace -> display file, db server increases considerably due, rsdb/max_in_blocking_factor = 5                    rsdb/min_in_blocking_factor      = 5when, terms rsdb/max_blocking_factor rsdb, call transaction st05, work process log, parameter rsdb/max_in_blocking_factor, full table scan, incorrect access paths, work processes free

Related Notes :

1500503BI quantity conversion: Access optimization
881083Blocking factors on Oracle-based systems
712624High CPU consumption by Oracle
706132Composite SAP Note: Problems with Oracle 9i
682726Access to LTAP with IN list with an incorrect index
653645Composite SAP Note performance
620361Data loading performance/Admin. data target, many requests
601612P11: Manage: Slow formatting due to large Oracle IN list
592366BCT-IM: Performance optimization when reading from PSA
568908Performance of CRM Initial Download on Test Systems
567745Composite note BW 3.x performance: DB-specific setting
556764Upgrade hangs in phase ACT_<REL>
550226CC-ADMIN: Copying the Customizing takes a long time
458077For all entries: Performance problems in APO Demand Planning
176754Problems with CBO and RBO
48230Parameters for the SELECT ... FOR ALL ENTRIES statement