From 927e1eec6dd760af93050f075c0655b224b568ad Mon Sep 17 00:00:00 2001 From: Doug Meil Date: Mon, 23 Jan 2012 03:03:39 +0000 Subject: [PATCH] hbase-5253 book.xml - adding chart of object heirarchy in Arch/Regions git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1234677 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/book.xml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/docbkx/book.xml b/src/docbkx/book.xml index 8dc25f08f04..9b33b05baee 100644 --- a/src/docbkx/book.xml +++ b/src/docbkx/book.xml @@ -1790,9 +1790,18 @@ scan.setFilter(filter);
Regions Regions are the basic element of availability and - distribution for tables, and are comprised of a Store per Column Family. - - + distribution for tables, and are comprised of a Store per Column Family. The heirarchy of objects + is as follows: + +Table (HBase table) + Region (Regions for the table) + Store (Store per ColumnFamily for each Region for the table) + MemStore (MemStore for each Store for each Region for the table) + StoreFile (StoreFiles for each Store for each Region for the table) + Block (Blocks within a StoreFile within a Store for each Region for the table) + + +
Region Size @@ -1926,6 +1935,8 @@ scan.setFilter(filter);
StoreFile (HFile) + StoreFiles are where your data lives. +
HFile Format The hfile file format is based on the SSTable file described in the BigTable [2006] paper and on @@ -1962,7 +1973,9 @@ scan.setFilter(filter); Blocks StoreFiles are composed of blocks. The blocksize is configured on a per-ColumnFamily basis. - For more information, see the HFileBlock source code. + Compression happens at the block level within StoreFiles. For more information on compression, see . + + For more information on blocks, see the HFileBlock source code.