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 3D7E410E57 for ; Thu, 20 Feb 2014 02:18:33 +0000 (UTC) Received: (qmail 416 invoked by uid 500); 20 Feb 2014 02:18:30 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 332 invoked by uid 500); 20 Feb 2014 02:18:29 -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 324 invoked by uid 99); 20 Feb 2014 02:18:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 02:18:29 +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 (athena.apache.org: domain of jigneshmpatel@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 02:18:25 +0000 Received: by mail-lb0-f173.google.com with SMTP id s7so895822lbd.4 for ; Wed, 19 Feb 2014 18:18:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ejDN+QpqGkHuHO0wN3BsDzefQSAGoAK7A5rpDoIRVUc=; b=MdwLheLUujNr5emKyOTtdYtR66EadAIFlaJeqZ+iaQIoYoK2LI0Wsa3Z6yx+72RqPX SBiZhz2Jd4RMPrek19Em78Eu9Ad7gBIb/fb4rFCm+GphGDwWddtMRMMaRitydMJrsfjm 58v3YwfP8r6zMgJxPurgCdGexjo/5IaLz8VadWLgIrSKXtOvsNxHlORtU8XTfl3NsEvt mOKdTu9l2SGcBNc6vMrgYv1q7fCEN7SbwB3CuG6oZ5OD+rj44n0JvMBlyWUIniKlobnc drWrLqOHXbH6HBGP82JgC5LNB5a7j3K98TMEXnvuWKWVEeENyoDm9OsK9Q+7bd7GiJY4 Pz/Q== MIME-Version: 1.0 X-Received: by 10.112.65.36 with SMTP id u4mr2097635lbs.90.1392862684124; Wed, 19 Feb 2014 18:18:04 -0800 (PST) Received: by 10.112.176.204 with HTTP; Wed, 19 Feb 2014 18:18:04 -0800 (PST) Date: Wed, 19 Feb 2014 21:18:04 -0500 Message-ID: Subject: Re: creating tables from mysql to hbase From: Jignesh Patel To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a11339a1e821c3404f2cd1d6f X-Virus-Checked: Checked by ClamAV on apache.org --001a11339a1e821c3404f2cd1d6f Content-Type: text/plain; charset=ISO-8859-1 Assuming this project is used at Salesforce, which has transaction oriented db in the past(Or may be today too). How are you handling transactions with this? Just wondering we On Wed, Feb 19, 2014 at 8:51 PM, Jignesh Patel wrote: > Thank you very much the suggestion. Looks like this is the option I want > to go for. > > > -Jignesh > > > On Wed, Feb 19, 2014 at 1:03 AM, James Taylor wrote: > >> Hi Jignesh, >> Phoenix has support for multi-tenant tables: >> http://phoenix.incubator.apache.org/multi-tenancy.html. Also, your >> primary >> key constraint would transfer over as-is, since Phoenix supports composite >> row keys. Essentially your pk constraint values get concatenated together >> to form your row key in HBase. We do not support unique constraints yet, >> but we do support secondary indexing: >> http://phoenix.incubator.apache.org/secondary_indexing.html >> >> HTH. Thanks, >> >> James >> >> >> On Tue, Feb 18, 2014 at 6:06 PM, Jean-Marc Spaggiari < >> jean-marc@spaggiari.org> wrote: >> >> > You might want to take a look at Phoenix >> > http://phoenix.incubator.apache.org/ >> > >> > JM >> > >> > >> > 2014-02-18 19:29 GMT-05:00 Jignesh Patel : >> > >> > > Jean, >> > > >> > > We have a product which is working on mysql and we are trying to move >> it >> > on >> > > HBase to create multi-tenant database. >> > > I agree with you that because of nosql nature of database, we should >> > > denormalize the mysql database. However, was thinking of making quick >> > > progress by first creating dirty structure of existing database in >> > > hbase(from mysql) and than optimizing/modifying in nosql way. >> > > >> > > >> > > >> > > On Tue, Feb 18, 2014 at 4:11 PM, Jean-Marc Spaggiari < >> > > jean-marc@spaggiari.org> wrote: >> > > >> > > > Moving the discussion to the user mailing list. >> > > > >> > > > Hi Jignesh, >> > > > >> > > > You can not really map mysql tables to HBase. You need to rethink >> your >> > > > schema when moving to HBase. Like in MySQL, a key can be on multiple >> > > > columns. In HBase, it's they key itself. etc. >> > > > >> > > > What are you trying to achieve? >> > > > >> > > > JM >> > > > >> > > > >> > > > 2014-02-18 15:19 GMT-05:00 Jignesh Patel : >> > > > >> > > > > Has anybody used for creating tables from msyql to Hbase through >> > cloud >> > > > > graph? >> > > > > >> > > > >> > > >> > >> > > --001a11339a1e821c3404f2cd1d6f--