The invention relates to a joint query adaptive
processing method for grid
database, belonging to the field of joint query technology of grid
database. The method sequentially comprises three parts, including a sampling calculation method, an optimal execution
route acquisition method and a query pipeline dynamic adjustment method. The sampling calculation method comprises updating, on the basis of a cost model formula, query selectivity, inter-node network bandwidth and the
processing cost value of nodes for single tuple, and calculating the
processing cost of updating stages of each candidate plan; the optimal execution
route acquisition method comprises finding out the minimal maximum flow
route (the optimal execution route) between a starting point and an endpoint according to a connected graph formed by grids; if the optimal execution route is not the current execution route, the
query plan is adjusted by the query pipeline dynamic adjustment method. Taking the dynamic characteristics of a grid environment in which the grid
database is positioned into sufficient account, the method achieves high
estimation precision of query
processing cost, timely and accurately adjusts the
query plan and effectively enhances the efficiency of query processing.