sh.startBalancer()

sh.startBalancer(timeout, interval)
参数:
  • timeout (integer) – Milliseconds to wait.
  • interval (integer) – Milliseconds to sleep each cycle of waiting.

The sh.startBalancer() enables the balancer in a sharded cluster and waits for balancing to initiate.

MongoDB Manual (Index)

关于

生态系统

格式

资源