Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1416811AC6 for ; Thu, 18 Sep 2014 05:27:58 +0000 (UTC) Received: (qmail 23677 invoked by uid 500); 18 Sep 2014 05:27:58 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 23634 invoked by uid 500); 18 Sep 2014 05:27:57 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 23625 invoked by uid 99); 18 Sep 2014 05:27:57 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 05:27:57 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 95AD7A1A56A; Thu, 18 Sep 2014 05:27:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: misty@apache.org To: commits@hbase.apache.org Message-Id: <6728d124658a48c68ea8954f97d85f01@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: HBASE-11986 Document MOB in Reference Guide Date: Thu, 18 Sep 2014 05:27:57 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/hbase-11339 d147eced5 -> 7cd71d1db HBASE-11986 Document MOB in Reference Guide Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7cd71d1d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7cd71d1d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7cd71d1d Branch: refs/heads/hbase-11339 Commit: 7cd71d1db678fe8ab6efc2191310228d9bb27849 Parents: d147ece Author: Misty Stanley-Jones Authored: Thu Sep 18 15:27:05 2014 +1000 Committer: Misty Stanley-Jones Committed: Thu Sep 18 15:27:41 2014 +1000 ---------------------------------------------------------------------- src/main/docbkx/book.xml | 2 ++ src/main/docbkx/ops_mgt.xml | 3 ++- src/main/docbkx/schema_design.xml | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/book.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/book.xml b/src/main/docbkx/book.xml index 19dd770..78acfea 100644 --- a/src/main/docbkx/book.xml +++ b/src/main/docbkx/book.xml @@ -4658,8 +4658,10 @@ if (result.isStale()) { + + http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/ops_mgt.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/ops_mgt.xml b/src/main/docbkx/ops_mgt.xml index ffcf1ce..51c432d 100644 --- a/src/main/docbkx/ops_mgt.xml +++ b/src/main/docbkx/ops_mgt.xml @@ -2119,7 +2119,8 @@ hbase> restore_snapshot 'myTableSnapshot-122112' If you cannot estimate the size of your tables well, when starting off, it's probably best to stick to the default region size, perhaps going smaller for hot tables (or manually split hot regions to spread the load over the cluster), or go with larger region - sizes if your cell sizes tend to be largish (100k and up). + sizes if your cell sizes tend to be largish (100k and up). See also the new feature , introduced in HBase 2.0+. In HBase 0.98, experimental stripe compactions feature was added that would allow for larger regions, especially for log data. See . http://git-wip-us.apache.org/repos/asf/hbase/blob/7cd71d1d/src/main/docbkx/schema_design.xml ---------------------------------------------------------------------- diff --git a/src/main/docbkx/schema_design.xml b/src/main/docbkx/schema_design.xml index efbcb55..1e86ee7 100644 --- a/src/main/docbkx/schema_design.xml +++ b/src/main/docbkx/schema_design.xml @@ -464,6 +464,15 @@ public static byte[][] getHexSplits(String startKey, String endKey, int numRegio less than the number of row versions. +
+ Cell Size + HBase is optimized to handle cell sizes up to 100 KB very well, though it can technically + handle cell sizes from 1 kb to 10 MB. Objects between 1 MB and 64 MB are referred to as + Medium Objects (MOBs), and support for storing those objects directly in HBase is provided in + HBase 2.0+. See . + For storing objects larger than 64 MB or larger than 10 MB without MOB support, store the + objects directly in HDFS, and store a reference to the file path in HBase. +
Supported Datatypes