-
Notifications
You must be signed in to change notification settings - Fork 606
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translated the Troubleshooting section into Russian (#12759)
Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
- Loading branch information
1 parent
755e82b
commit 7102021
Showing
80 changed files
with
976 additions
and
22 deletions.
There are no files selected for viewing
Binary file modified
BIN
-12.1 KB
(97%)
...ev/troubleshooting/performance/hardware/_assets/embedded-ui-cpu-system-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-11.7 KB
(95%)
...n/core/dev/troubleshooting/performance/infrastructure/_assets/cluster-nodes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
ydb/docs/en/core/dev/troubleshooting/performance/queries/uncached-queries.md
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
-20.1 KB
(90%)
.../troubleshooting/performance/schemas/_assets/node-tablet-monitor-data-shard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-29.2 KB
(90%)
...core/dev/troubleshooting/performance/system/_assets/healthcheck-clock-drift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-36.4 KB
(88%)
ydb/docs/en/core/dev/troubleshooting/performance/ydb/_assets/hive-app.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-35 KB
(89%)
ydb/docs/en/core/dev/troubleshooting/performance/ydb/_assets/updates.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
ydb/docs/en/core/dev/troubleshooting/performance/ydb/ydb-updates.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Диагностика проблем | ||
|
||
В данном разделе описана диагностика проблем, которые могут возникнуть с базами данных {{ ydb-short-name }} и приложениями, работающими с этими базами данных. | ||
|
||
- [{#T}](performance/index.md) |
Binary file added
BIN
+80.8 KB
...ocs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-batch-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+109 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-by-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+76.9 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-ic-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+78.5 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-io-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+49.2 KB
...e/dev/troubleshooting/performance/hardware/_assets/cpu-read-only-tx-latency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+47.8 KB
.../ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-row-read-rows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+71.1 KB
...cs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-system-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+77.9 KB
...docs/ru/core/dev/troubleshooting/performance/hardware/_assets/cpu-user-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+79.1 KB
...troubleshooting/performance/hardware/_assets/disk-time-available--disk-cost.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+335 KB
...ev/troubleshooting/performance/hardware/_assets/embedded-ui-cpu-system-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+60 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/microbursts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+112 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/request-size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+129 KB
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/_assets/requests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+120 KB
...docs/ru/core/dev/troubleshooting/performance/hardware/_assets/response-size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+347 KB
.../dev/troubleshooting/performance/hardware/_assets/storage-groups-disk-space.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions
58
...cs/ru/core/dev/troubleshooting/performance/hardware/_includes/cpu-bottleneck.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
1. Используйте вкладку **Diagnostics** во [встроенном UI](../../../../../reference/embedded-ui/index.md) для анализа загрузки процессора во всех пулах ресурсов: | ||
|
||
1. Откройте [встроенный UI](../../../../../reference/embedded-ui/index.md), перейдите на вкладку **Databases** и нажмите на требуемую базу данных. | ||
|
||
1. На вкладке **Navigation** убедитесь, что требуемая база данных выбрана. | ||
|
||
1. Откройте вкладку **Diagnostics**. | ||
|
||
1. На вкладке **Info** нажмите на кнопку **CPU** и проверьте уровни загрузки процессора во всех пулах ресурсов. | ||
|
||
![](../_assets/embedded-ui-cpu-system-pool.png) | ||
1. Проанализируйте загрузку процессора во всех пулах ресурсов на графиках Grafana: | ||
|
||
1. Откройте панель мониторинга **[CPU](../../../../../reference/observability/metrics/grafana-dashboards.md#cpu)** в Grafana. | ||
|
||
1. Проверьте наличие скачков на следующих графиках: | ||
|
||
- **CPU by execution pool** | ||
|
||
![](../_assets/cpu-by-pool.png) | ||
|
||
- **User pool - CPU by host** | ||
|
||
![](../_assets/cpu-user-pool.png) | ||
|
||
- **System pool - CPU by host** | ||
|
||
![](../_assets/cpu-system-pool.png) | ||
|
||
- **Batch pool - CPU by host** | ||
|
||
![](../_assets/cpu-batch-pool.png) | ||
|
||
- **IC pool - CPU by host** | ||
|
||
![](../_assets/cpu-ic-pool.png) | ||
|
||
- **IO pool - CPU by host** | ||
|
||
![](../_assets/cpu-io-pool.png) | ||
|
||
1. Если скачки потребления ресурсов процессора обнаружены в пользовательском пуле ресурсов (user pool), проанализируйте изменения пользовательской нагрузки, которые могли бы вызвать недостаток ресурсов процессора. Проверьте следующие графики на панели мониторинга **DB overview** в Grafana: | ||
|
||
- **Requests** | ||
|
||
![](../_assets/requests.png) | ||
|
||
- **Request size** | ||
|
||
![](../_assets/request-size.png) | ||
|
||
- **Response size** | ||
|
||
![](../_assets/response-size.png) | ||
|
||
Также проверьте все графики в секции **Operations** на панели мониторинга **DataShard**. | ||
|
||
1. Если скачки потребления ресурсов процессора обнаружены в пакетном пуле ресурсов (batch pool), проверьте, не запущены ли процессы резервного копирования (backups). |
17 changes: 17 additions & 0 deletions
17
...docs/ru/core/dev/troubleshooting/performance/hardware/_includes/io-bandwidth.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
1. Откройте панель мониторинга **[Distributed Storage Overview](../../../../../reference/observability/metrics/grafana-dashboards.md)** в Grafana. | ||
|
||
1. На графике **DiskTimeAvailable and total Cost relation** проверьте, пересекают ли всплески **Total Cost** уровень **DiskTimeAvailable**. | ||
|
||
![](../_assets/disk-time-available--disk-cost.png) | ||
|
||
Этот график показывает ориентировочную суммарную пропускную способность системы хранения в условных единицах (зелёный) и суммарную стоимость использования в условных единицах (синий). Когда суммарная стоимость использования системы хранения превышает суммарную пропускную способность, система хранения {{ ydb-short-name }} перегружается, и задержки выполнения запросов растут. | ||
|
||
1. На графике **Total burst duration** проверьте наличие всплесков в системе хранения. Этот график показывает микровсплески нагрузки на систему хранения, в микросекундах. | ||
|
||
![](../_assets/microbursts.png) | ||
|
||
{% note info %} | ||
|
||
Этот график может выявить микровсплески нагрузки, которые не проявляются на графике со средней стоимостью использования **Cost and DiskTimeAvailable relation**. | ||
|
||
{% endnote %} |
14 changes: 14 additions & 0 deletions
14
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/cpu-bottleneck.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Недостаточное быстродействие процессора | ||
|
||
Высокая нагрузка на процессор может привести к медленному выполнению запросов и увеличению задержек. В условиях ограниченного ресурса процессора база данных может с трудом справляться со сложными запросами или высоконагруженными транзакционными сценариями использования. | ||
|
||
Узлы {{ ydb-short-name }} в основном используют ресурсы процессора на выполнение [акторов](../../../../concepts/glossary.md#actor). На каждом узле акторы выполняются с использованием ресурсов одного из [пулов акторной системы](../../../../concepts/glossary.md#actor-system-pools). Потребление ресурсов каждого пула измеряется отдельно, что позволяет точнее отслеживать изменения в потреблении ресурсов. | ||
|
||
## Диагностика | ||
|
||
<!-- The include is added to allow partial overrides in overlays --> | ||
{% include notitle [#](_includes/cpu-bottleneck.md) %} | ||
|
||
## Рекомендации | ||
|
||
Добавьте дополнительные [узлы базы данных](../../../../concepts/glossary.md#database-node) в кластер или выделите больше процессорных ядер существующим узлам. Если это невозможно, рассмотрите возможность перераспределения ядер процессора между пулами ресурсов. |
29 changes: 29 additions & 0 deletions
29
ydb/docs/ru/core/dev/troubleshooting/performance/hardware/disk-space.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Недостаточное дисковое пространство | ||
|
||
Нехватка места на диске может привести к невозможности сохранения новых данных, когда база переходит в режим только для чтения. Эта проблема может также приводить к замедлению работы, когда система пытается освободить дисковое пространство, активнее приводя данные к более компактному виду в фоне. | ||
|
||
## Диагностика | ||
|
||
1. Проверьте наличие скачков на графиках панели мониторинга **[DB overview > Storage](../../../../reference/observability/metrics/grafana-dashboards.md#dboverview)** в Grafana. | ||
|
||
1. Во [встроенном UI](../../../../reference/embedded-ui/index.md) на вкладке **Storage** проанализируйте список доступных групп хранения и их потребление места на диске. | ||
|
||
{% note tip %} | ||
|
||
Используйте фильтр **Out of Space**, чтобы отображать только группы хранения с заполненными дисками. | ||
|
||
{% endnote %} | ||
|
||
![](_assets/storage-groups-disk-space.png) | ||
|
||
{% note info %} | ||
|
||
Чтобы получить эту информацию, можно также использовать [Healthcheck API](../../../../reference/ydb-sdk/health-check-api.md). | ||
|
||
{% endnote %} | ||
|
||
## Рекомендации | ||
|
||
Добавьте больше [групп хранения](../../../../concepts/glossary.md#storage-group) в базу данных. | ||
|
||
Если у кластера нет свободных групп хранения, необходимо их предварительно сконфигурировать. При необходимости добавьте дополнительные [узлы хранения](../../../../concepts/glossary.md#storage-node). |
Oops, something went wrong.