另外51个复制碎片也移动到第二个容器以便平衡,对于每个碎片,它的主碎片和复制碎片都位于不同的容器中。
The other 51 replica shards are also moved to the second container so that you have balance, and, for each shard, its primary and replica are in separate containers.
负载平衡:如果某台服务器负载过大,我们可以复制一份并让某个次级服务器成为主服务器,同时还可以将某份复制移动到其他服务器上去。
Load Balancing: if one specific server is really busy, we can take a replica and move one of the secondary replicas and make it primary, we can also clone a replica and more it to another server.
在下面的例子中可以看到,无论何时使用db2relocatedb移动或复制数据库,都必须移动或复制该目录。
As you will see in the examples below, this directory must be moved or copied any time that a database is moved or copied using db2relocatedb.
应用推荐