Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command switches the query sharing (which tries to optimize a query be reusing parts of already installed query plans) on or off. Default is true.

Parameters

...

This command switches the rewriting (tries to optimize a query plan by switching, deleting, splitting or merging operators without changing the query's semantics) on or off. Default is true.

Parameters

...

In the default processing scenario, all elements in Odysseus are tagged with time stamp meta data. This command can be used to define the meta data.

Hint: This flag overwrites the standard configuration so you must provide all metadata that should be used!

Example

Code Block
#METADATA TimeInterval
#METADATA Latency
#METADATA Priority

Remark: There are some combined metadata elements available: e.g. IntervalLatency or IntervalLatencyPriority

Remark: In former versions of Odysseus is was possible to remove TimeInterval. This is no longer possible.

#OPTIMIZE_PREDICATES

Enable predicate optimization for the current query. The optimizer tries to simplify the predicates used in select operations and transforms the predicate into its conjunctive normal form to move clauses in the expression down to the sources.

...

Code Block
languagejavascript
themeEclipse
linenumberstrue
#QNAME Query1

#QPARAM
Anchor
QPARAM
QPARAM

Some special processing could require query specific processing.This command can be used to set these parameters as key value pairs.

Code Block
#QPARAM key1 value1
#QPARAM key2 value2
#QPARAM key3 value3

Remark for Developers (See Getting Parameter from OdysseusScript into Odysseus)

#QPRIORITY

Set the priority of the next following query

...