The invention provides an
execution management method and device for a Spark
SQL query plan tree based on a DPU, and aims at allowing the mixed operation of the DPU and a CPU for a query task, improving the calculation performance and improving the
resource utilization rate, carrying out the overall deployment of the
query plan tree when a self-adaptive query execution mode is not operated, and carrying out the overall deployment of the
query plan tree when all operators accord with the types supported by the DPU. The operator is preferentially unloaded to the DPU for operation, and otherwise, the operator is wholly processed by the CPU. And when the self-adaptive query execution mode runs, judging whether the currently intercepted sub-plan tree has a self-adaptive query execution operator or not, if so, judging whether the whole query plan tree can be unloaded and marked in the configuration
list or not, and if not, querying the mark of the configuration
list and delivering the current sub-plan tree to a DPU or a CPU for
processing according to the mark. The
execution management mode is integrally deployed for a single query task, so that introduction of additional row-column conversion operators and data replication overhead caused by the row-column conversion operators are avoided, resources are saved, and calculation performance is improved.