From 211553dd35d9a9da5e9b9142417c00bb7e89ca98 Mon Sep 17 00:00:00 2001 From: Doug Meil Date: Mon, 21 Nov 2011 18:11:49 +0000 Subject: [PATCH] HBASE-4837 book.xml, schema design git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1204627 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/book.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/docbkx/book.xml b/src/docbkx/book.xml index e24293964ce..f670a8e97bf 100644 --- a/src/docbkx/book.xml +++ b/src/docbkx/book.xml @@ -538,9 +538,9 @@ String table = "myTable"; admin.disableTable(table); HColumnDescriptor cf1 = ...; -admin.addColumn(table, cf1 ); // adding new ColumnFamily +admin.addColumn(table, cf1); // adding new ColumnFamily HColumnDescriptor cf2 = ...; -admin.modifyColumn(table, cf2 ); // modifying existing ColumnFamily +admin.modifyColumn(table, cf2); // modifying existing ColumnFamily admin.enableTable(table); @@ -548,6 +548,13 @@ admin.enableTable(table); Note: online schema changes are supported in the 0.92.x codebase, but the 0.90.x codebase requires the table to be disabled. +
Schema Updates + When changes are made to either Tables or ColumnFamilies (e.g., region size, block size), these changes + take effect the next time there is a major compaction and the StoreFiles get re-written. + + See for more information on StoreFiles. + +