SAP Note 766349 - FAQ: Oracle SQL optimization

Component : Oracle - Backoffice Service Delivery

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

Summary :
SAP Note discusses the criticality of SQL optimization, outlining methods to identify, assess, and enhance resource-intensive SQL statements to improve system performance. Detailing the identification of statements causing high I/O and CPU demands through analysis tools like SAP's ST04 Transaction and other monitoring services. It highlights the necessity for regular SQL statement reviews for efficient system functioning, tackling resultant complications like buffer busy waits. Information on executed SQL statements is accessible via the Shared Cursor and can be further drilled down by transaction records for optimization. Techniques include adjusting buffer reads, disk reads, and understanding cursor behaviors, alongside examining ABAP source code alignment and optimizations therein, ensuring better data management and system efficiency without compromising security.

Key words :
select ltap~lgnum ltap~tanum ltap~tapos     ltap~vltyp ltap~nltyp ltak~bwlvs    ltak~bdatu ltak~bzeit, index rowid ltap            index range scan ltap~0        sort join             table access, selecting               transaction st04-> detail analysis menu-> sql request, index rowid ltak                index range scan ltak~, ltak~tanum = ltap~tanum, sap j2ee engine visual administrator activate, ltak~lgnum = ltap~lgnum, sap early watch alert services, single highly processing-intensive sql statement, previously barely usable system function

Related Notes :

1601951Self Service 'SQL Statement Tuning' - Prerequisites and FAQ
1128663Oracle 10g: SQL trace using auditing
1100926FAQ: Network performance
1093107Costly SQL statement due to synchronous matchcodes
1037755Performance problems with ASSM tablespaces
913247Performance problems due to open changes
912620FAQ: Oracle indexes
896717Problems with tables in ASSM tablespaces
881083Blocking factors on Oracle-based systems
853576Oracle 10g: Performance analysis w/ ASH and Oracle Advisors
832343FAQ: Clustering factor
825653Oracle: Common misconceptions
806554FAQ: I/O-intensive database operations
797629FAQ: Oracle histograms
793113FAQ: Oracle I/O configuration
772497FAQ: Oracle Hints
771929FAQ: Index fragmentation
767414FAQ: Oracle latches
762808FAQ: Keep pool
756335Statistics in tables w/ heavily fluctuating volumes of data
750631Approximations for cost calculation of the CBO
745639FAQ: Oracle enqueues
724545Adjusting the CBO statistics manually using DBMS_STATS
723879Explain: System displays an incorrect access path
712624High CPU consumption by Oracle
706478Preventing Basis tables from increasing considerably
651060FAQ: Oracle Parallel Execution
619188FAQ: Oracle wait events
618868FAQ: Oracle performance
613872Oracle traces with ORADEBUG
602667Perform a SQL Trace on an oracle utility or external program
588668FAQ: Database statistics
563359Performance optimization for tables with LOB columns
502782Composite SAP Note ora-4030
354080Note collection for Oracle performance problems
329914Expensive SQL statements composite note
191492Performance: Customer developments in MM/WM
187906Performance: Customer developments in PP and PM
185530Performance: Customer developments in SD
176754Problems with CBO and RBO
135048Long runtimes statements w/ ROWNUM <= condition
132861CBO: Statistics creation with SAPDBA or BRCONNECT
131372CBO: Tuning of expensive SQL statements
130480Database Hints in Open SQL for Oracle
122718CBO: Tables with special treatment
48230Parameters for the SELECT ... FOR ALL ENTRIES statement
3807Error messages regarding rollback and undo segments