A
SQL task link optimization method, device, equipment, storage medium and program product are disclosed, task related data of a
SQL task is acquired, a dependency link between
SQL tasks is filtered based on the task related data, wherein the dependency link is used to represent an association relationship between the SQL tasks, a
directed graph network of the SQL tasks is constructed based on the filtered dependency link, the
directed graph network is divided into at least two connected subgraphs, a SQL task in each connected subgraph is subjected to a merging feasibility test, a task merging decision is generated based on a test result, and a link of the SQL task is restructured and optimized according to the task merging decision. By adopting the embodiment of the present application, an execution exception of a SQL task can be captured in real time,
system failure caused by problem accumulation can be avoided, and the management requirement of a high
concurrency and large data volume SQL task link can be adapted.