Skip to content

Add parallel description #8585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion ydb/docs/en/core/yql/query_plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Query execution stage.
**UI representation**:
![stage](_assets/stage.png)

A stage can contatin the following operations:
A stage can contain the following operations:

#### TableFullScan
Full table scan. This operation's resource consumption is proportional to the table size, so it should be avoided whenever possible.
Expand All @@ -22,6 +22,7 @@ Table | table name
ReadColumns | read columns list
ReadLimit | read rows limit
Reverse | flag indicating the order in which the rows will be read, by default the order is forward (ascending), but if the flag is set to `true`, the reading order will be reversed (descending).
Parallel | flag indicating that rows will be read from shards in parallel

#### TableRangeScan
Reading a table by a specific primary key range.
Expand All @@ -33,6 +34,7 @@ ReadColumns | read columns list
ReadRange | key range
ReadLimit | read rows limit
Reverse | flag indicating the order in which the rows will be read, by default the order is forward (ascending), but if the flag is set to `true`, the reading order will be reversed (descending).
Parallel | flag indicating that rows will be read from shards in parallel

#### TablePointLookup
Reading a table by specific primary key values. Note that for this operation, all components of the primary key should be specified. Reading by a key prefix is performed as a `TableRangeScan` operation.
Expand Down
2 changes: 2 additions & 0 deletions ydb/docs/ru/core/yql/query_plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Table | имя таблицы
ReadColumns | список читаемых колонок
ReadLimit | лимит на число прочитанных строк
Reverse | флаг, указывающий на порядок, в котором будут прочитаны строки, по умолчанию порядок прямой (от меньшего к большему), но в случае выставления флага в `true` порядок чтения будет обратным
Parallel | флаг, указывающий на то что чтение строк будет происходить паралленьно по шардам

#### TableRangeScan
Чтение строк таблицы по определённому диапазону значений первичного ключа.
Expand All @@ -34,6 +35,7 @@ ReadColumns | список читаемых колонок
ReadRange | диапазон ключей, по которому выполняется чтение
ReadLimit | лимит на число прочитанных строк
Reverse | флаг, указывающий на порядок, в котором будут прочитаны строки, по умолчанию порядок прямой (от меньшего к большему), но в случае выставления флага в `true` порядок чтения будет обратным
Parallel | флаг, указывающий на то что чтение строк будет происходить паралленьно по шардам

#### TablePointLookup
Чтение строк таблицы по конкретным значениям первичного ключа. Обратите внимание, что для этой операции необходимо указать все компоненты первичного ключа, чтение по префиксу ключа выполняется как `TableRangeScan`.
Expand Down
Loading