Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ To see the shard placement policy for a database in `rladmin status`.
To change the shard placement policy for a database, run:

```sh
rladmin placement db [ database name | database ID ] [ dense | sparse ]
rladmin tune db { db:<ID> | <database-name> } shards_placement { dense | sparse }
```
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ rladmin placement
{ dense | sparse }
```

{{< note >}}
`rladmin placement db` is deprecated and will be removed in a future version. Use [`rladmin tune db`]({{< relref "/operate/rs/7.8/references/cli-utilities/rladmin/tune#tune-db" >}}) with the `shards_placement` parameter instead.
{{< /note >}}

### Parameters

| Parameter | Type/Value | Description |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ rladmin tune db { db:<id> | <name> }
[ data_internode_encryption { enabled | disabled } ]
[ db_conns_auditing { enabled | disabled } ]
[ resp3 { enabled | disabled } ]
[ shards_placement { dense | sparse } ]
[ tracking_table_max_keys <size> ]
```

Expand Down Expand Up @@ -189,6 +190,7 @@ rladmin tune db { db:<id> | <name> }
| repl_timeout | time in seconds | Replication timeout (in seconds) |
| resp3 | `enabled`<br /> `disabled` | Enables or deactivates RESP3 support (defaults to `enabled`) |
| schedpolicy | `cmp`<br /> `mru`<br /> `spread`<br /> `mnp` | Controls how server-side connections are used when forwarding traffic to shards |
| shards_placement | `dense`<br /> `sparse` | Configures the [shard placement policy]({{< relref "/operate/rs/7.8/databases/memory-performance/shard-placement-policy" >}}) for the database |
| skip_import_analyze | `enabled`<br /> `disabled` | Skips the analyzing step when importing a database |
| slave_buffer | `auto`<br />value in MB<br /> hard:soft:time | Redis replica output buffer limits<br />• `auto`: dynamically adjusts the buffer limit based on the shard’s current used memory<br />• value in MB: sets the buffer limit in MB<br />• hard:soft:time: sets the hard limit (maximum buffer size in MB), soft limit in MB, and the time in seconds that the soft limit can be exceeded |
| slave_ha | `enabled`<br /> `disabled` | Activates or deactivates replica high availability (defaults to the cluster setting) |
Expand Down
2 changes: 1 addition & 1 deletion content/operate/rs/databases/configure/shard-placement.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ To see the shard placement policy for a database in `rladmin status`.
To change the shard placement policy for a database, run:

```sh
rladmin placement db [ database name | database ID ] [ dense | sparse ]
rladmin tune db { db:<ID> | <database-name> } shards_placement { dense | sparse }
```
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ rladmin placement
{ dense | sparse }
```

{{< note >}}
`rladmin placement db` is deprecated and will be removed in a future version. Use [`rladmin tune db`]({{< relref "/operate/rs/references/cli-utilities/rladmin/tune#tune-db" >}}) with the `shards_placement` parameter instead.
{{< /note >}}

### Parameters

| Parameter | Type/Value | Description |
Expand Down
2 changes: 2 additions & 0 deletions content/operate/rs/references/cli-utilities/rladmin/tune.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ rladmin tune db { db:<id> | <name> }
[ data_internode_encryption { enabled | disabled } ]
[ db_conns_auditing { enabled | disabled } ]
[ resp3 { enabled | disabled } ]
[ shards_placement { dense | sparse } ]
[ tracking_table_max_keys <size> ]
```

Expand Down Expand Up @@ -188,6 +189,7 @@ rladmin tune db { db:<id> | <name> }
| repl_timeout | time in seconds | Replication timeout (in seconds) |
| resp3 | `enabled`<br /> `disabled` | Enables or deactivates RESP3 support (defaults to `enabled`) |
| schedpolicy | `cmp`<br /> `mru`<br /> `spread`<br /> `mnp` | Controls how server-side connections are used when forwarding traffic to shards |
| shards_placement | `dense`<br /> `sparse` | Configures the [shard placement policy]({{< relref "/operate/rs/databases/memory-performance/shard-placement-policy" >}}) for the database |
| skip_import_analyze | `enabled`<br /> `disabled` | Skips the analyzing step when importing a database |
| slave_buffer | `auto`<br />value in MB<br /> hard:soft:time | Redis replica output buffer limits<br />• `auto`: dynamically adjusts the buffer limit based on the shard’s current used memory<br />• value in MB: sets the buffer limit in MB<br />• hard:soft:time: sets the hard limit (maximum buffer size in MB), soft limit in MB, and the time in seconds that the soft limit can be exceeded |
| slave_ha | `enabled`<br /> `disabled` | Activates or deactivates replica high availability (defaults to the cluster setting) |
Expand Down