Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 30544 invoked from network); 6 Aug 2010 18:25:14 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 18:25:14 -0000 Received: (qmail 93984 invoked by uid 500); 6 Aug 2010 18:25:12 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93921 invoked by uid 500); 6 Aug 2010 18:25:11 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 93210 invoked by uid 99); 6 Aug 2010 18:25:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 18:25:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [88.198.48.29] (HELO eaerendil.duergner.eu) (88.198.48.29) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 18:25:03 +0000 Received: from [192.168.0.20] (g230075056.adsl.alicedsl.de [92.230.75.56]) by eaerendil.duergner.eu (Postfix) with ESMTPSA id 0E46064334 for ; Fri, 6 Aug 2010 20:24:41 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: How to migrate any relational database to Cassandra From: =?iso-8859-1?Q?Michael_D=FCrgner?= In-Reply-To: Date: Fri, 6 Aug 2010 20:24:41 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7914D251-FAE7-4421-9449-429B0DB6C973@duergner.de> References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1081) In my opinion it's the wrong approach when so ask how to migrate from = MySQL to Cassandra from a database level view. The lack of joins in = NoSQL should lead to think about what you wanna get out of your = persistent storage and afterwards think about how to migrate and most of = the time how to denormalize the data you have in order to insert it into = a NoSQL storage like Cassandra. Simply just migrating the data and moving the joins up to the = application level might work in the beginning but most of the times = doesn't scale in the end. Am 06.08.2010 um 20:00 schrieb sonia gehlot: > Hi All, >=20 >=20 > Little background about myself. I am ETL engineer worked in only = relational databases. >=20 > I have been reading and trying Cassandra since 3-4 weeks. I kind of = understood Cassandra data model, its structure, nodes etc. I also = installed Cassandra and played around with it, like=20 >=20 > cassandra> set Keyspace1.Standard2['jsmith']['first'] =3D 'John' > Value inserted. > cassandra> get Keyspace1.Standard2['jsmith'] > (column=3Dfirst, value=3DJohn; timestamp=3D1249930053103) > Returned 1 rows. >=20 > But don't know what to do next? Like if someone says me this is MySQL = database migrate it to cassandra, then I dont know what should be my = next step?=20 >=20 > Can you please help me how to move forward? How should I do all the = setup for this?=20 >=20 > Any help is appreciated. >=20 > Thanks, > Sonia=20 > =20