Monitoring the execution of query plans
نویسندگان
چکیده
Monitoring the execution of a query plan is the activity concerned with the collection of information that becomes available from the completed or on-going parts of the execution. Monitoring can be classified in three categories according to the transmission of data and messages that are related to the monitoring procedure. First, monitoring can be performed at the level of physical operators that comprise the query plan. In that case, no data is conveyed, and consequently, there is no communication overhead. Second, monitoring may require a set of operators of the query plan on a node to communicate with each other. In that case, the communication overhead can remain very low. Third, operators or sets of operators on different nodes may send data to each other in order to monitor aspects of the query plan. The third case applies to situations in which the query plan is executed in a parallel or distributed setting. In the last two cases, the monitoring incurs communication overhead. In all cases there is a CPU overhead. In order to have a complete view about the quality of the execution of the query plan, apart from the query plan, the execution environment needs to be monitored as well (which can be seen as a fourth case of monitoring). In this report, the focus is on the first case of monitoring, in which no data is conveyed. The improvements in the quality of the derived information when monitoring falls in the other two categories are also discussed.
منابع مشابه
A pay-as-you-go framework for query execution feedback
Past work has suggested that query execution feedback can be useful in improving the quality of plans by correcting cardinality estimation errors in the query optimizer. The state-of-the-art approach for obtaining execution feedback is “passive” monitoring which records the cardinality of each operator in the execution plan. We observe that there are many cases where even after repeated executi...
متن کاملMonitoring Stream Properties for Continuous Query Processing
We are developing a general-purpose Data Stream Management System for processing continuous queries over multiple continuous data streams [MW 03]. When a new continuous query is registered, our query optimizer creates an initial query plan (possibly merged with existing plans for previously registered queries), and allocates initial resources, such as memory for join or aggregation synopses [GG...
متن کاملAn Overview of Adaptive Query Processing Systems
Traditional database query processors separate query optimization from query execution: query plans are chosen by query optimizers and sent to execution engines for processing, until all query results are completely computed. However, new applications such as data streams, large-scale and data integration applications, require query processors to adapt to unpredictable data characteristics and ...
متن کاملQuery processing using HP NonStop SQL/MP software
Query optimization.............................................................................................................................. 3 Generating the plan ......................................................................................................................... 3 Serial execution plans ......................................................................................
متن کاملThe Odyssey Approach for Optimizing Federated SPARQL Queries
Answering queries over a federation of SPARQL endpoints requires combining data from more than one data source. Optimizing queries in such scenarios is particularly challenging not only because of (i) the large variety of possible query execution plans that correctly answer the query but also because (ii) there is only limited access to statistics about schema and instance data of remote source...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003