2.6.1 Evaluating the stream data summary analysis scenarios

In the stream data processing system, you define as query groups the stream data summary analysis scenarios that specify the types of data to be input and how the data is to be processed and output.

A query group consists of input streams, queries, and an output stream. You must evaluate whether to define multiple query groups or to define multiple streams and queries in a single query group according to the stream data summary analysis processing to be performed.

You define as many query groups as there are summary analysis scenarios. By executing multiple query groups, you can use a single SDP server to perform multiple summary analysis processes. One SDP server can execute a maximum of 8 query groups.

You define the input and output streams according to the configuration of the corresponding input and output adaptors.

A query definition depends on the type of summary analysis processing that is performed in a query group. If you wish to have a single summary analysis scenario perform multiple summary analysis processes, you can define multiple queries in a query group.

The following figure shows an example configuration of query groups.

Figure 2-12 Example configuration of query groups

[Figure]

In this example, two query groups (query groups 1 and 2) are registered in the SDP server, and each query group is connected to an input adaptor and an output adaptor. Query group 1 defines multiple queries to perform multiple summary analysis processes.