You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

You are able to use Odysseus Script to parallelize an created script automatically. To use this functionality Odysseus Script provides to keywords.

#PARALLELIZATION

This keyword tells Odysseus, that the given query needs to be parallelized. There are two parameters that are mandatory and one optional parameter. 

  • Parallelization-Type: (mandatory) Inter-Operator or Intra-Operator. If Inter-Operator type is selected, the given query plan is modified. If Intra-Operator type is selected, different physical operators are used, that provides multithreading (in Development). 
  • Parallelization degree: (mandatory) Defines the degree of parallelization that should be used. It is also possible to use the constant AUTO, to detect the available cores and use this value.
  • Buffer-size: (optional) Defines the number of elements inside of the used buffers. There is also the possibility to use the constant AUTO, to use an default value.

If this keyword is used, every operator of the query, which has an compatible parallelization strategy is transformed. If only a one are a few operators should parallelized the following keyword need to be used in addition.

 

#INTEROPERATORPARALLELIZATION

  • No labels