hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: adding compression to a table
Date Wed, 18 Aug 2010 14:18:01 GMT
Justin,

You don't need to explicitly call a compaction, conversion will be
done over time. But if you do want to have them converted right away,
call a major_compaction.

J-D

On Wed, Aug 18, 2010 at 6:35 AM, Justin Cohen <justin.cohen@teamaol.com> wrote:
> Can I add record level compression to a preexisting table?  Will old rows be
> compressed or only new rows?
>
> For example, if I use the hbase shell and disable, alter {...COMPRESSION =>
> 'gz'....}, enable....  Do I need to run a compaction as well?
>
> Or do I need to create a new table?
>
> -justin
>

Mime
View raw message