{
  "id": "shard-placement",
  "title": "Configure shard placement",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/databases/configure/shard-placement/",
  "summary": "Configure shard placement to improve performance.",
  "content": "In Redis Enterprise Software , the location of master and replica shards on the cluster nodes can impact the database and node performance.\nMaster shards and their corresponding replica shards are always placed on separate nodes for data resiliency.\nThe [shard placement policy]() helps to maintain optimal performance and resiliency.\n\n\n\n## Default shard placement policy\n\nWhen you create a new cluster, the cluster configuration has a `dense` default shard placement policy.\nWhen you create a database, this default policy is applied to the new database.\n\nTo see the current default shard placement policy, run `rladmin info cluster`:\n\n\n\nTo change the default shard placement policy so that new databases are created with the `sparse` shard placement policy, run:\n\n```sh\nrladmin tune cluster default_shards_placement [ dense | sparse ]\n```\n\n## Shard placement policy for a database\n\nTo see the shard placement policy for a database in `rladmin status`.\n\n\n\nTo change the shard placement policy for a database, run:\n\n```sh\nrladmin tune db { db:\u003cID\u003e | \u003cdatabase-name\u003e } shards_placement { dense | sparse }\n```\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

