BE Configuration
Some BE configuration items are dynamic parameters which you can set interactively when BE nodes are online. The rest of them are static parameters. You can only set the static parameters of a BE node by changing them in the corresponding configuration file be.conf and restarting the BE node to allow the change to take effect.
BE 設定項目の表示
次のコマンドを使用して BE 設定項目を表示できます。
curl http://<BE_IP>:<BE_HTTP_PORT>/varz
BE パラメータの設定
Configure BE dynamic parameters
You can configure a dynamic parameter of a BE node by using the curl command.
curl -XPOST http://be_host:http_port/api/update_config?<configuration_item>=<value>
Configure BE static parameters
You can only set the static parameters of a BE by changing them in the corresponding configuration file be.conf, and restarting the BE to allow the changes to take effect.
BE パラメータの理解
サーバー
priority_networks
- デフォルト: 空文字列
- タイプ: String
- 単位: -
- 変更可能: いいえ
- 説明: BE ノードがホストされているマシンに複数の IP アドレスがある場合に、BE ノードの優先 IP アドレスを指定するために使用される CIDR 形式の IP アドレス。
- 導入バージョン: -
mem_limit
- デフォルト: 90%
- タイプ: String
- 単位: -
- 変更可能: いいえ
- 説明: BE プロセスのメモリ上限。パーセンテージ ("80%") または物理的な制限 ("100G") として設定できます。デフォルトのハードリミットはサーバーのメモリサイズの 90%、ソフトリミットは 80% です。同じサーバーで他のメモリ集約型サービスと一緒に StarRocks をデプロイする場合、このパラメータを設定する必要があります。
- 導入バージョン: -
num_threads_per_core
- デフォルト: 3
- タイプ: Int
- 単位: -
- 変更可能: いいえ
- 説明: 各 CPU コアで開始され るスレッドの数。
- 導入バージョン: -
be_http_port
- デフォルト: 8040
- タイプ: Int
- 単位: -
- 変更可能: いいえ
- 説明: BE HTTP サーバーのポート。
- 導入バージョン: -
be_http_num_workers
- デフォルト: 48
- タイプ: Int
- 単位: -
- 変更可能: いいえ
- 説明: HTTP サーバーが使用するスレッドの数。
- 導入バージョン: -
be_exit_after_disk_write_hang_second
- デフォルト: 60
- タイプ: Int
- 単位: 秒
- 変更可能: いいえ
- 説明: ディスクがハングした後、BE が終了するまでの待機時間。
- 導入バージョン: -
compress_rowbatches
- デフォルト: true
- タイプ: Boolean
- 単位: -
- 変更可能: いいえ
- 説明: BE 間の RPC で行バッチを圧縮するかどうかを制御するブール値。
trueは行バッチを圧縮することを示し、falseは圧縮しないことを示します。 - 導入バージョン: -
serialize_batch
- デフォルト: false
- タイプ: Boolean
- 単位: -
- 変更可能: いいえ
- 説明: BE 間の RPC で行バッチをシリアライズするかどうかを制御するブール値。
trueは行バッチをシリアライズすることを示し、falseはシリアライズしないことを示します。 - 導入バージョン: -
Thrift
be_port
- デフォルト: 9060
- タイプ: Int
- 単位: -
- 変更可能: いいえ
- 説明: BE の thrift サーバーポートで、FE からのリクエストを受信するために使用されます。
- 導入バージョン: -
thrift_client_retry_interval_ms
- デフォルト: 100
- タイプ: Int
- 単位: ミリ秒
- 変更可能: はい
- 説明: thrift クライアントが再試行する時間間隔。
- 導入バージョン: -
thrift_rpc_timeout_ms
- デフォルト: 5000
- タイプ: Int
- 単位: ミリ秒
- 変更可能: はい
- 説明: thrift RPC のタイムアウト。
- 導入バージョン: -
bRPC
brpc_port
- デフォルト: 8060
- タイプ: Int
- 単位: -
- 変更可能: いいえ
- 説明: bRPC のネットワーク統計を表示するために使用される BE の bRPC ポート。
- 導入バージョン: -