Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

TaminoQPIExecution

Determine parameters of query execution.


Syntax

TaminoQPIExecution

graphics/TaminoQPIExecution.png

NCName StringLiteral

Top of page

Description

A TaminoQPIExecution is a query pragma that has the form of a QPI (query processing instruction), i.e., it is enclosed by "{?" and "?}". You can use it to take influence on the query execution itself. This is useful to avoid running out of memory during the execution of user-defined functions, especially if they use recursion. The following parameters are supported:

call-stack-depth restrict the depth of the stack for user-defined functions (default value is 256)
document-cache-size maximum cache size during query execution in MB; this way you can use it flexibly for single queries instead of the global server parameter XQuery_document_cache_size
memory amount of memory available to a single query processing thread during query execution in MB; it cannot be less than the maximum cache size determined by the value of either the execution parameter document-cache-size or of the server parameter XQuery_document_cache_size.

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page