Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docs/src/main/sphinx/admin/properties-query-management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,26 @@
Query management properties
===========================

``query.execution-policy``
^^^^^^^^^^^^^^^^^^^^^^^^^^

* **Type:** :ref:`prop-type-string`
* **Default value:** ``phased``
* **Session property:** ``execution_policy``

Configures the algorithm to organize the processing of all of the
stages of a query. You can use the following execution policies:

* ``phased`` schedules stages in a sequence to avoid blockages because of
inter-stage dependencies. This policy maximizes cluster resource utilization
and provides the lowest query wall time.
* ``all-at-once`` schedules all of the stages of a query at one time. As a
result, cluster resource utilization is initially high, but inter-stage
dependencies typically prevent full processing and cause longer queue times
which increases the query wall time overall.
* ``legacy-phased`` has similar functionality to ``phased``, but can increase
the query wall time as it attempts to minimize the number of running stages.

``query.max-execution-time``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down