Versions Compared

Key

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

...

Code Block
languagepql
#WAITFORQUERY query1 [period [maxwaitingtime]]

#DROPALLQUERIES

This command

...

drops all installed queries. It does not remove andy sources or sinks, but you can use #DROPALLSINKS or #DROPALLSOURCES for this.

Parameters

Example

Code Block
languagejavascript
themeEclipse
linenumberstrue
#DROPALLQUERIES


#BUFFERPLACEMENT

This command is used to control how buffers are (automatically) placed within the query plan if a query is transformed (e.g. by #QUERY).

Parameters

Examples

No buffers:

Code Block
languagejavascript
themeEclipse
linenumberstrue
#BUFFERPLACEMENT None

Adds a buffer before each operator:

Code Block
languagejavascript
themeEclipse
linenumberstrue
#BUFFERPLACEMENT Standard Buffer Placement

Adds a buffer after each source:

Code Block
languagejavascript
themeEclipse
linenumberstrue
#BUFFERPLACEMENT Source Buffer Placement

Adds a buffer for each query:

Code Block
languagejavascript
themeEclipse
linenumberstrue
#BUFFERPLACEMENT Query Buffer Placement

#DOQUERYSHARING

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

Parameters

Example

Code Block
languagejavascript
themeEclipse
linenumberstrue
/// query sharing off
#DOQUERYSHARING false
/// query sharing on
#DOQUERYSHARING true


#DOREWRITE

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.

Parameters

Example

Code Block
languagejavascript
themeEclipse
linenumberstrue
/// query rewrite off
#DOREWRITE false
/// query rewrite on
#DOREWRITE true
Code Block
#DROPALLQUERIES