The SQL Optimizer analyzes SQL queries sent to the database by users or applications and selects the best search strategy for accessing the data records.
The SQL Optimizer
is part of the database kernel. In SAP systems, you can use the DBA Planning
Calendar to display information about the SQL Optimizer; see Database Administration
in the CCMS: SQL Optimizer in the
CCMS
The SQL Optimizer is called by the database system implicitly (see How the Optimizer Works).
You can use the EXPLAIN SQL statement to find out which search strategy was selected by the SQL Optimizer for an SQL statement (see Troubleshooting).