Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 13595 invoked from network); 8 Aug 2010 02:36:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Aug 2010 02:36:57 -0000 Received: (qmail 40373 invoked by uid 500); 8 Aug 2010 02:36:55 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 40299 invoked by uid 500); 8 Aug 2010 02:36:54 -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 40290 invoked by uid 99); 8 Aug 2010 02:36:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Aug 2010 02:36:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.161.44 as permitted sender) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Aug 2010 02:36:49 +0000 Received: by fxm16 with SMTP id 16so4205253fxm.31 for ; Sat, 07 Aug 2010 19:36:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ln2WpvgXlpeaMWFo62vjCbliCTYUd5bCPxtdhFbDFRE=; b=qdc09WaYHDDKSkBbiM1HnGaqCQc2v84qBQw07RsUCUIyBpuEWbB2rgLL+0TIyKavnO aBYIEfdi8S3CMWZkYdTrgmiIxZVoFlV7DOn6fwIQwzsvJDFQzzsR0ivHSi5vhDwLharW 7i6f8FEdiFmbhF5mO665KuzpHMniAkIzr866w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=s2sfi0f1/L1XnoAeYsde+AScvEmwQT4FqGc9e5LCRsT5rwuLQUwyKxvTsJMuNuVUaE o8+CqiqSJsW3hkKozlPSjzUjfSxcK/FJrboqTV3iJ5HXvI7jjS+1+wBgTkycgyUFIgBa VxzNfuBXGxiGfJFPJ3AIZxMwgWG+pkXtR5v+c= Received: by 10.223.113.12 with SMTP id y12mr14884726fap.36.1281234988104; Sat, 07 Aug 2010 19:36:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.38.92 with HTTP; Sat, 7 Aug 2010 19:36:08 -0700 (PDT) In-Reply-To: <026573A7-DFCA-4653-AD2D-5456CEF9C9D7@voxeo.com> References: <026573A7-DFCA-4653-AD2D-5456CEF9C9D7@voxeo.com> From: Jonathan Ellis Date: Sat, 7 Aug 2010 22:36:08 -0400 Message-ID: Subject: Re: How to migrate any relational database to Cassandra To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 are you using OrderPreservingPartitioner then? On Sat, Aug 7, 2010 at 10:32 PM, Zhong Li wrote: > Here is just my personal experiences. > > I recently use Cassandra to implement a system cross 5 datacenters. Because > it is impossible to do it in SQL Database at low cost, Cassandra helps. > > Cassandra is all about indexing, there is no relationship naturally, you > have to use indexing to keep all relationships. This is fine, because you > can add new index when you want. > > The big pain is the token. Only one token you can choose for a node, all > system have to adopt same rule to create index. It is huge huge pain. > > If Cassandra can implement token at CF level, it is much nature and easy for > us to implement a system. > > Best, > > Zhong > > > On Aug 6, 2010, at 9:23 PM, Peter Harrison wrote: > >> On Sat, Aug 7, 2010 at 6:00 AM, sonia gehlot >> wrote: >> >>> Can you please help me how to move forward? How should I do all the setup >>> for this? >> >> My view is that Cassandra is fundamentally different from SQL databases. >> There >> may be artefact's which are superficially similar between the two systems, >> but >> I guess I'm thinking of a move to Cassandra like my move from dBase to >> Delphi; >> in other words there were concepts which modified how you write >> applications. >> >> Now, you can do something similar to a SQL database, but I don't think you >> would >> be leveraging the features of Cassandra. That said, I think there will be >> a new >> generation of abstraction tools that will make modeling easier. >> >> A perhaps more practical answer: there is no one to one mapping between >> SQL >> and Cassandra. > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com