Altering sharded property databasesEnterprise EditionNot available on AuraIntroduced in 2025.10
You can alter a sharded property database on two levels.
It is possible to change the entire sharded database with ALTER DATABASE or alter a specific shard with ALTER DATABASE <shard-name>.
Syntax
| Command | Syntax | 
|---|---|
  | 
 | 
  | 
 | 
  | 
 | 
Example 1: Change the topology of the graph shard and all property shards
ALTER DATABASE foo-sharded
SET GRAPH SHARD {
 SET TOPOLOGY 1 PRIMARY 2 SECONDARIES
}
SET PROPERTY SHARDS {
  SET TOPOLOGY 1 REPLICA;
}