Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5D2C9B73 for ; Thu, 23 Feb 2012 23:10:13 +0000 (UTC) Received: (qmail 86048 invoked by uid 500); 23 Feb 2012 23:10:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 85971 invoked by uid 500); 23 Feb 2012 23:10:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 85955 invoked by uid 99); 23 Feb 2012 23:10:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 23:10:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 23:10:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B1A5337E1C for ; Thu, 23 Feb 2012 23:09:51 +0000 (UTC) Date: Thu, 23 Feb 2012 23:09:51 +0000 (UTC) From: "stack (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <33081916.12478.1330038591177.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <24342554.10498.1315612689104.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4365) Add a decent heuristic for region size MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13215176#comment-13215176 ] stack commented on HBASE-4365: ------------------------------ @Lars You want to put an upper bound on the number of regions? I think if we do power of three, we'll lose some of the benefit J-D sees above; we'll fan out the regions slower. Do you want to put an upper bound on the number of regions per regionserver for a table? Say, three? As in, when we get to three regions on a server, just scoot the split size up to the maximum. So, given a power of two, we'd split on first flush, then the next split would happen at (2*2*128M) 512M, then 9*128M=1.2G and thereafter we'd split at the max, say 10G? Or should we just commit this for now and do more in another patch? > Add a decent heuristic for region size > -------------------------------------- > > Key: HBASE-4365 > URL: https://issues.apache.org/jira/browse/HBASE-4365 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.92.1, 0.94.0 > Reporter: Todd Lipcon > Priority: Critical > Labels: usability > Attachments: 4365-v2.txt, 4365.txt > > > A few of us were brainstorming this morning about what the default region size should be. There were a few general points made: > - in some ways it's better to be too-large than too-small, since you can always split a table further, but you can't merge regions currently > - with HFile v2 and multithreaded compactions there are fewer reasons to avoid very-large regions (10GB+) > - for small tables you may want a small region size just so you can distribute load better across a cluster > - for big tables, multi-GB is probably best -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira