[フレーム]
Docs Pricing
Login Book a meeting Try Redis

Configure shard placement

Configure shard placement to improve performance.

Redis Enterprise Software

In Redis Enterprise Software , the location of master and replica shards on the cluster nodes can impact the database and node performance. Master shards and their corresponding replica shards are always placed on separate nodes for data resiliency. The shard placement policy helps to maintain optimal performance and resiliency.

In addition to the shard placement policy, considerations that determine shard placement are:

The shard placement policies are:

When you create a Redis Enterprise Software cluster, the default shard placement policy (dense) is assigned to all databases that you create on the cluster.

You can:

Default shard placement policy

When you create a new cluster, the cluster configuration has a dense default shard placement policy. When you create a database, this default policy is applied to the new database.

To see the current default shard placement policy, run rladmin info cluster:

To change the default shard placement policy so that new databases are created with the sparse shard placement policy, run:

rladmin tune cluster default_shards_placement [ dense | sparse ]

Shard placement policy for a database

To see the shard placement policy for a database in rladmin status.

To change the shard placement policy for a database, run:

rladmin tune db { db:<ID> | <database-name> } shards_placement { dense | sparse }
RATE THIS PAGE
Back to top ↑

On this page

AltStyle によって変換されたページ (->オリジナル) /