JM,

You are correct. Just disable the table, alter the compression, and then
major and minor compactions will run their course.

Please remember to run the compression test first to make sure there is
nothing wrong with the new algorithm.
On Dec 1, 2012 3:21 PM, "Jean-Marc Spaggiari" <[email protected]>
wrote:

> Hi,
>
> What's the right way to change the compression algorythme for a cf?
>
> Can I simply disable the table, alter the table with the new
> compression alg info, and enable it back? As a result, I will still
> have a table compressed with the previous algorythme, but at some
> point in the future, it will slowly move to the new one when
> compactions are occuring?
>
> That mean that one table can have more than one compression alg used
> at a time, right?
>
> Or this is not possible and I need to make sure it's fully
> un-compressed before I enable another compression algorythme?
>
> Thanks,
>
> JM
>

Reply via email to