Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0BC8DFB3 for ; Mon, 26 Nov 2012 10:29:23 +0000 (UTC) Received: (qmail 3835 invoked by uid 500); 26 Nov 2012 10:29:21 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 3749 invoked by uid 500); 26 Nov 2012 10:29:21 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 3728 invoked by uid 99); 26 Nov 2012 10:29:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 10:29:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dontariq@gmail.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qa0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 10:29:13 +0000 Received: by mail-qa0-f48.google.com with SMTP id s11so3339935qaa.14 for ; Mon, 26 Nov 2012 02:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ufk6GvdJQhBVcsQ3/nzTNc6mwayh+iNn9PUsNQd69jg=; b=T94ucmya3XbnqKZW+6n/cLynYhvCXYQKD+lG9rj/7tTq65xo16HjNR7NNUDfh4brf2 4L3s7lEO2PC1S77wdBEp+82juURUyKEVfABAQ9gp30gMVbxvGnuf20oeOAvC59zvoPSw N8yQGX0niPqVQYOcUdxvS1N1iWj/ePK8D+yga9KYhNQAOs7eQhJMKV/m/xNSvuhcqqiE v1Fy3uCjGqfnYFgcx7arbxiKcmm9qfJ3fwqlTIJLqC+UtZPyFiADzcrwEiAyF+XuQtKG MjP+rHl9z9pVacknqxlI/eUAKVZaRSbHUK0cRDqmtqZtSItAR/VH7mcbKFe6CXq8tFTn TjzQ== Received: by 10.49.52.33 with SMTP id q1mr13047685qeo.3.1353925732735; Mon, 26 Nov 2012 02:28:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.126.165 with HTTP; Mon, 26 Nov 2012 02:28:12 -0800 (PST) In-Reply-To: References: <9ABAF877128BEB4E8E8C7F8ADD9F30976EADE6@PROD-EXCH-M3.corp.microstrategy.com> From: Mohammad Tariq Date: Mon, 26 Nov 2012 15:58:12 +0530 Message-ID: Subject: Re: Expert suggestion needed to create table in Hbase - Banking To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=047d7bea3bc65a1a0504cf636622 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bea3bc65a1a0504cf636622 Content-Type: text/plain; charset=ISO-8859-1 Hello sir, You might become a victim of RS hotspotting, since the cutomerIDs will be sequential(I assume). To keep things simple Hbase puts all the rows with similar keys to the same RS. But, it becomes a bottleneck in the long run as all the data keeps on going to the same region. HTH Regards, Mohammad Tariq On Mon, Nov 26, 2012 at 3:53 PM, Ramasubramanian Narayanan < ramasubramanian.narayanan@gmail.com> wrote: > Hi, > Thanks! Can we have the customer number as the RowKey for the customer > (client) master table? Please help in educating me on the advantage and > disadvantage of having customer number as the Row key... > > Also SCD2 we may need to implement in that table.. will it work if I have > like that? > > Or > > SCD2 is not needed instead we can achieve the same by increasing the > version number that it will hold? > > pls suggest... > > regards, > Rams > > On Mon, Nov 26, 2012 at 1:10 PM, Li, Min wrote: > > > When 1 cf need to do split, other 599 cfs will split at the same time. So > > many fragments will be produced when you use so many column families. > > Actually, many cfs can be merge to only one cf with specific tags in > > rowkey. For example, rowkey of customer address can be uid+'AD', and > > customer profile can be uid+'PR'. > > > > Min > > -----Original Message----- > > From: Ramasubramanian Narayanan [mailto: > > ramasubramanian.narayanan@gmail.com] > > Sent: Monday, November 26, 2012 3:05 PM > > To: user@hbase.apache.org > > Subject: Expert suggestion needed to create table in Hbase - Banking > > > > Hi, > > > > I have a requirement of physicalising the logical model... I have a > > client model which has 600+ entities... > > > > Need suggestion how to go about physicalising it... > > > > I have few other doubts : > > 1) Whether is it good to create a single table for all the 600+ > columns? > > 2) To have different column families for different groups or can it be > > under a single column family? For example, customer address can we have > as > > a different column family? > > > > Please help on this.. > > > > > > regards, > > Rams > > > --047d7bea3bc65a1a0504cf636622--