Awselasticache-engine-parameters

提供:Dev Guides
移動先:案内検索

AWS ElastiCache-エンジンパラメーター

Redisクラスターノードの実行時の動作を制御するために、クラスターに組み込まれている多くのパラメーターを使用します。 クラスターのエンジンバージョンが変更されると、さらに多くのパラメーターが現れます。 多くのパラメーターはグループ化され、グループの名前が付けられているため、依存関係があるパラメーターや、互いの値に影響を与えるパラメーターを簡単に管理できます。

特定のパラメーターグループのパラメーター値は、所属するクラスターに関係なく、グループに関連付けられているすべてのノードに適用されます。 クラスターのパフォーマンスを微調整するには、一部のパラメーター値を変更するか、クラスターのパラメーターグループを変更します。

以下は、パラメーターがどのように見え、何を制御できるかのいくつかの例のリストです。

Name Use
cluster-node-timeout Cluster node timeout is the amount of milliseconds a node must be unreachable for it to be considered in failure state.
reserved-memory-percent The percent of a node’s memory reserved for non-data use. By reserving memory, you can set aside some of the available memory for non-Redis purposes to help reduce the amount of paging.
cluster-enabled Indicates whether this is a Redis replication group in cluster mode or a replication group in non-cluster mode.
proto-max-bulk-len Max size of a single element request.
client-query-buffer-limit Max size of a single client query buffer.
activedefrag Enabled active defragmentation.
maxclients 10000 Set the max number of connected clients at the same time. By default this limit is set to 10000 clients, however if the Redis server is not able to configure the process file limit to allow for the specified limit the max number of allowed clients is set to the current file limit minus 32.

パラメータ管理のルール

  • デフォルトのパラメータグループを変更または削除することはできません。 カスタムパラメータ値が必要な場合は、カスタムパラメータグループを作成する必要があります。
  • クラスターのパラメーターグループを変更する場合、条件付きで変更可能なパラメーターの値は、現在のパラメーターグループと新しいパラメーターグループの両方で同じである必要があります。
  • クラスターのパラメーターを変更すると、その変更はすぐに、またはクラスターの再起動後にクラスターに適用されます。 これは、クラスターのパラメーターグループ自体を変更する場合でも、クラスターのパラメーターグループ内のパラメーター値を変更する場合でも同じです。