Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-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 242B1D724 for ; Wed, 1 Aug 2012 13:21:19 +0000 (UTC) Received: (qmail 2888 invoked by uid 500); 1 Aug 2012 13:21:16 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 2857 invoked by uid 500); 1 Aug 2012 13:21:16 -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 2847 invoked by uid 99); 1 Aug 2012 13:21:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 13:21:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.172] (HELO mail-qc0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 13:21:07 +0000 Received: by qcac10 with SMTP id c10so4871717qca.31 for ; Wed, 01 Aug 2012 06:20:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=t0D9mSUwbAHIxf3GBbPH/q3cWgzDBPF07YQV+VQzzGE=; b=JaqGH+HKEjor+xE3Zruoijx/nmSLiSDWE9earkbvu3ojQfuX3RF72FwIVyxXCAgOdL TXK4UvqBnVYgs1jKWuYTJRgpuX7gACUQ1RDIFzLl25NTuvK2SGScMu3veiTErFLwflJn WVyAtgTplaUzUArpuB6Z8s8WKfmcHq2qHmoyLi4viupl+jmMikmUJJjufCYjXL4YFLD4 ybbul/89TbXb5imjqIW4r+tEF7runiw1x+uioOsTTk/Z1Rj7OFeNLm5T6KZglXB7LlIw M7nwV+H075OgTwhHmsHdu1sv0szz6e33zjCRw8W8XxQfZp996gybwZK8Q0tV1kX/RGFd +LUw== MIME-Version: 1.0 Received: by 10.50.217.193 with SMTP id pa1mr3913916igc.39.1343827245880; Wed, 01 Aug 2012 06:20:45 -0700 (PDT) Received: by 10.64.90.165 with HTTP; Wed, 1 Aug 2012 06:20:45 -0700 (PDT) X-Originating-IP: [72.163.0.129] In-Reply-To: References: Date: Wed, 1 Aug 2012 08:20:45 -0500 Message-ID: Subject: Re: Does Cassandra support operations in a transaction? From: Greg Fausak To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn2Lnj3JmC1AXfPrlP0f3e6GqBD03MlmZfYwCPem3y8JGaDhlxAakK3/7vEvl0zxnUo/gm/ Hi Ivan, No Cassandra does not support transactions. I believe each operation is atomic. If that operation returns a successful result, then it worked. You can't do things like bind two operations and guarantee is either fails they both fail. You will find that Cassandra doesn't do a lot of things compared to a sql db :-) But, it does write a lot of data quickly. -g On Wed, Aug 1, 2012 at 5:21 AM, Ivan Jiang wrote: > Hi, > I am a new guy to Cassandra, I wonder if available to call Cassandra in > one Transaction such as in Relation-DB. > > Thanks in advance. > > Best Regards, > Ivan Jiang