Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
124 changes: 124 additions & 0 deletions ydb/docs/ru/core/concepts/_assets/query_workflow.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 YaBrowser/25.8.0.0 Safari/537.36" version="28.2.8">
<diagram name="YDB Query Execution" id="VA4aEMhLpSQhZLtYT9ai">
<mxGraphModel dx="2893" dy="1062" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="M2VwiEWQkAIFONeX4CcQ-71" value="Узел YDB" style="dashed=1;rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;verticalAlign=top;" parent="1" vertex="1">
<mxGeometry x="-80" y="352.5" width="210" height="175" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-57" value="Узел YDB" style="dashed=1;rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;verticalAlign=top;" parent="1" vertex="1">
<mxGeometry x="-80" y="157.5" width="210" height="175" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-46" value="Узел YDB (Входной)" style="dashed=1;rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;verticalAlign=top;" parent="1" vertex="1">
<mxGeometry x="-350" y="170" width="200" height="345" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-19" value="Клиентское &lt;br&gt;приложение" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;verticalAlign=top;" parent="1" vertex="1">
<mxGeometry x="-600" y="210" width="160" height="190" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-39" value="YDB SDK / Driver" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#6c8ebf;verticalAlign=top;" parent="1" vertex="1">
<mxGeometry x="-585" y="250" width="130" height="130" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-51" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-44" target="M2VwiEWQkAIFONeX4CcQ-49" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-44" value="Сессия" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-570" y="290" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-45" value="Сессия" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-570" y="330" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;dashed=1;endArrow=none;startFill=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-49" target="M2VwiEWQkAIFONeX4CcQ-53" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-78" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-49" target="M2VwiEWQkAIFONeX4CcQ-55" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-49" value="Парсер и оптимизатор" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-315" y="285" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-53" value="Кэш планов &lt;br&gt;запросов" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-315" y="210" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-80" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-55" target="M2VwiEWQkAIFONeX4CcQ-63" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-81" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-55" target="M2VwiEWQkAIFONeX4CcQ-73" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="8toKywkaVzNZGOaRmDvN-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-55" target="M2VwiEWQkAIFONeX4CcQ-84" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="8toKywkaVzNZGOaRmDvN-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-55" target="M2VwiEWQkAIFONeX4CcQ-83" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="AdwjtIPiw0c-pGXVra4Z-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="M2VwiEWQkAIFONeX4CcQ-55" target="AdwjtIPiw0c-pGXVra4Z-2">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-55" value="Движок выполнения запрсоов" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-315" y="375" width="130" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-56" value="(Вызов GRpc)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;" parent="1" vertex="1" connectable="0">
<mxGeometry x="-418.5" y="320" width="50" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-69" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-63" target="M2VwiEWQkAIFONeX4CcQ-68" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-63" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-70" y="272.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-70" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-64" target="M2VwiEWQkAIFONeX4CcQ-67" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-64" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="30" y="272.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-67" value="ColumnShards" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="30" y="192.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-68" value="DataShards" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-70" y="192.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-72" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-73" target="M2VwiEWQkAIFONeX4CcQ-77" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-73" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-70" y="467.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-74" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="M2VwiEWQkAIFONeX4CcQ-75" target="M2VwiEWQkAIFONeX4CcQ-76" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-75" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="30" y="467.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-76" value="ColumnShards" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="30" y="387.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-77" value="DataShards" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="-70" y="387.5" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-79" value="План запроса" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;" parent="1" vertex="1" connectable="0">
<mxGeometry x="-235" y="337.5" width="60" height="15" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-82" value="YQL" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;" parent="1" vertex="1" connectable="0">
<mxGeometry x="-420" y="292.5" width="53" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-83" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-340" y="452.5" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="M2VwiEWQkAIFONeX4CcQ-84" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" vertex="1">
<mxGeometry x="-240" y="452.5" width="80" height="40" as="geometry" />
</mxCell>
<mxCell id="AdwjtIPiw0c-pGXVra4Z-2" value="Узел YDB" style="dashed=1;rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;verticalAlign=top;" vertex="1" parent="1">
<mxGeometry x="-80" y="550" width="210" height="90" as="geometry" />
</mxCell>
<mxCell id="AdwjtIPiw0c-pGXVra4Z-4" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="-70" y="580" width="90" height="40" as="geometry" />
</mxCell>
<mxCell id="AdwjtIPiw0c-pGXVra4Z-6" value="Задача на вычисления" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="30" y="580" width="90" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions ydb/docs/ru/core/concepts/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@

{% endif %}

### Сессии

Логические соединения с базой данных, которые хранят контекст, необходимый для выполнения запросов и управления транзакциями. Более подробно сессии описаны в разделе [{#T}](query_execution.md#sessions).

### Неявные транзакции {#implicit-transactions}

**Неявная транзакция** — это режим выполнения запросов, при котором [режим транзакции](transactions.md#modes) не указан. В этом случае {{ ydb-short-name }} самостоятельно определяет, нужно ли обернуть их в транзакцию. Этот режим описан более подробно в [{#T}](transactions.md#implicit).
Expand Down
Loading