Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Change Balancer Frequency?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Yann Cluchey  
View profile  
 More options Aug 22 2012, 5:59 am
From: Yann Cluchey <yann.cluc...@gmail.com>
Date: Wed, 22 Aug 2012 02:59:11 -0700 (PDT)
Local: Wed, Aug 22 2012 5:59 am
Subject: Change Balancer Frequency?

Hi,

I have a 45GB database with 14m documents, spread over two collections.
This database was originally running on a single server and I have recently
configured sharding across three nodes. Having enabled sharding for each
collection, the mongos balancer is starting to distribute the chunks among
the shards. (There are 899 chunks).

Looking in the mongos log I can see that it periodically makes an
assessment of the distribution of the data and moves chunks as appropriate.

*[Balancer] ChunkManager: time to load chunks for...*
*[Balancer] moving chunk...
*

Judging by the logs, it looks like it's doing this check every 3-6 minutes,
which means that it's going to take another 1-2 days before it completes.
(Incidentally, the database is otherwise idling. Nothing is reading/writing
to it). Is there any way to speed this up? Can I configure the check
frequency?

From what I've read in the docs, I can configure a time window within which
I wish to allow re-balancing, but I didn't spot anything about the check
interval. Is this possible? Or can anyone suggest a quicker approach?

Thanks,

-Yann


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.