Disclosed in the embodiments of the present application are an
execution plan analysis method and apparatus for structured
query language (
SQL), which method and apparatus are used for improving
SQL execution plan analysis efficiency. The method in the embodiments of the present application comprises: a computing device determining an
object function of a
target database, wherein the
object function comprises structured
query language (
SQL) statements that have been modified on the basis of restructuring logic, and the restructuring logic is used for identifying, in an
execution plan,
data manipulation language (DML) statements in the
object function; the computing device generating an execution plan on the basis of the object function, wherein the execution plan is used for indicating performance evaluation
metrics corresponding to one or more DML statements invoked in the object function; and the computing device displaying a performance analysis result corresponding to the execution plan, wherein the performance analysis result is used for identifying, from among the one or more DML statements, a DML statement the performance evaluation metric of which is lower than a threshold value.