diff --git a/v21.1/vectorized-execution.md b/v21.1/vectorized-execution.md index 63653b5624c..7e22a851c40 100644 --- a/v21.1/vectorized-execution.md +++ b/v21.1/vectorized-execution.md @@ -16,7 +16,7 @@ You can configure vectorized execution with the `vectorize` [session variable](s Option | Description ----------|------------ -`on` | Turns on vectorized execution for all queries on rows over the [`vectorize_row_count_threshold`](#setting-the-row-threshold-for-vectorized-execution) (1000 rows, by default).

**Default:** `vectorize=on` +`on` | Turns on vectorized execution for all queries on rows over the [`vectorize_row_count_threshold`](#setting-the-row-threshold-for-vectorized-execution) (0 rows, by default, meaning all queries will use the vectorized engine).

**Default:** `vectorize=on` `off` | Turns off vectorized execution for all queries. For information about setting session variables, see [`SET` <session variable>](set-vars.html). @@ -29,7 +29,7 @@ To see if CockroachDB will use the vectorized execution engine for a query, run The efficiency of vectorized execution increases with the number of rows processed. If you are querying a table with a small number of rows, it is more efficient to use row-oriented execution. -By default, vectorized execution is enabled for queries on tables of 1000 rows or more. If the number of rows in a table falls below 1000, CockroachDB uses the row-oriented execution engine instead. +By default, vectorized execution is enabled for all queries. For performance tuning, you can change the minimum number of rows required to use the vectorized engine to execute a query plan in the current session with the `vectorize_row_count_threshold` [session variable](set-vars.html).