Thanks Stack,

Will check the logs for reason. I'm only disabling compaction during
dynamic splits (~10 mins), so it's acceptable in my case.

Thanks,
Jianshi

On Wed, Jan 7, 2015 at 1:37 AM, Stack <[email protected]> wrote:

> On Mon, Jan 5, 2015 at 11:00 PM, Jianshi Huang <[email protected]>
> wrote:
>
> > Hi,
> >
> > Firstly, I found it strange that when I added a new split to a table and
> do
> > admin.move, it will trigger a MAJOR compaction for the whole table.
> >
>
> Usually, a compactions says what provoked it in the log and why it a major
> compaction.
>
> Splits and moves are not hooked up to force a major compaction so check
> logs to see what brought on the compaction.  Rather than wholesale disable
> compactions -- probably a bad idea -- you are probably better off trying to
> tune what triggers compactions in your workload.
>
> St.Ack
>



-- 
Jianshi Huang

LinkedIn: jianshi
Twitter: @jshuang
Github & Blog: http://huangjs.github.com/

Reply via email to