Skip to content

Commit

Permalink
add documentation for new table scan session properties
Browse files Browse the repository at this point in the history
  • Loading branch information
natashasehgal committed Dec 24, 2024
1 parent 4ba7216 commit 2daa462
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions presto-docs/src/main/sphinx/presto_cpp/properties-session.rst
Original file line number Diff line number Diff line change
Expand Up @@ -419,3 +419,24 @@ writer scaling if it is detected as overloaded by scale writer exchange.

Minimum amount of data processed by all the logical table partitions to
trigger skewed partition rebalancing by scale writer exchange.

``native_table_scan_scaled_processing_enabled``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* **Type:** ``boolean``
* **Default value:** ``false``

Enables scaled processing for table scans.
When enabled, Presto will attempt to scale up table scans to improve performance.

``native_table_scan_scale_up_memory_usage_ratio``
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

* **Type:** ``double``
* **Minimum value:** ``0``
* **Maximum value:** ``1``
* **Default value:** ``0.7``

Controls the ratio of available memory that can be used for scaling up table scans.
A higher value allows more memory to be allocated for scaling up table scans,
while a lower value limits the amount of memory used.

0 comments on commit 2daa462

Please sign in to comment.