摘要 |
It is disclosed a control node (40; 50) capable of deciding in which computing nodes to execute a plurality of subqueries of a real-time continuous query, and a method therefore. The plurality of subqueries are executed (210; 302) in two or more computing nodes and properties of at least one of: the one or more data centers comprising the computing nodes, execution of the plurality of subqueries, and the data streams, are monitored (212; 304). A subquery is selected, after which this is executed (214; 306) in an alternative computing node. Properties are monitored (214, 308) during this second execution, and if monitored properties from this execution indicate an improved performance, the subquery may be transferred (218; 310)to said alternative computing node. It is an advantage that real-time queries may be optimized, by determining in which computing node to execute what subqueries of a query for best performance. |