hbase-6081. adding section in Compression appendix about changing compression codecs.

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342084 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Doug Meil 2012-05-23 22:57:38 +00:00
parent 31eb0ff6c1
commit a51230651c
1 changed files with 8 additions and 1 deletions

View File

@ -2820,7 +2820,14 @@ hbase> describe 't1'</programlisting>
</para> </para>
</section> </section>
<section xml:id="changing.compression">
<title>Changing Compression Schemes</title>
<para>A frequent question on the dist-list is how to change compression schemes for ColumnFamilies. This is actually quite simple,
and can be done via an alter command. Because the compression scheme is encoded at the block-level in StoreFiles, the table does
<emphasis>not</emphasis> need to be re-created and the data does <emphasis>not</emphasis> copied somewhere else. Just make sure
the old codec is still available until you are sure that all of the old StoreFiles have been compacted.
</para>
</section>
</appendix> </appendix>
<appendix> <appendix>