Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 86611 invoked from network); 15 Feb 2011 20:24:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 20:24:13 -0000 Received: (qmail 20697 invoked by uid 500); 15 Feb 2011 20:24:11 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 20597 invoked by uid 500); 15 Feb 2011 20:24:10 -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 20589 invoked by uid 99); 15 Feb 2011 20:24:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 20:24:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of s5alye@gmail.com designates 209.85.210.172 as permitted sender) Received: from [209.85.210.172] (HELO mail-iy0-f172.google.com) (209.85.210.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 20:24:04 +0000 Received: by iym1 with SMTP id 1so471792iym.31 for ; Tue, 15 Feb 2011 12:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=T+iidv+AA/d+K+DgXu9m54e+w1uersmw26jqsoAHg54=; b=JN9h7AagTEvzNULkZPA5il98GpjJF/1ciABF1eTxicx1KZS9nSdZIdwx8MC3YjUly/ CVV3HiaWOaqQ4HIieHDElzqzIfK0XbWD3oHmqcIwRxBpSbACROKRfCdNjMx3cuXUczNX fg2t6rqd9KKZApR43ml+MfAx2zG8XZLVA7jF8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BlZJGS9/b/a40LlpElhYvd8CdtG8X6IF10MMu/VFPWDHlNLAVSearav0IYMZA+8Cn4 /eABb9TP78i9AJGRMW65mNdKkRh/cuoV1iu/DimTbwKJfrakhVVNGjqhO0aVegeJI8K7 QESKVxuciDdyngn2S3KAZkeKxlE2RhNmhLkA4= MIME-Version: 1.0 Received: by 10.231.199.12 with SMTP id eq12mr4407224ibb.2.1297801423656; Tue, 15 Feb 2011 12:23:43 -0800 (PST) Received: by 10.231.15.11 with HTTP; Tue, 15 Feb 2011 12:23:43 -0800 (PST) Date: Tue, 15 Feb 2011 15:23:43 -0500 Message-ID: Subject: Update of value for a given name From: A J To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=90e6ba4fc4a8d89615049c57f087 --90e6ba4fc4a8d89615049c57f087 Content-Type: text/plain; charset=ISO-8859-1 If I update a column (i.e. change the value contents for a given name in a given key), is the physical disk operation equivalent to delete followed by insert. Or is it just insert somehow making the last value marked as stale ? In the definite guide, it says the following about SSTable: *All writes are sequential, which is the primary reason that writes perform so well in Cassandra. No reads or seeks of any kind are required for writing a value to Cassandra because all writes are append operations.* * * It made me wonder how updates work, if it is append only. I am new to cassandra so please let me know if I am missing something basic. Regards, -AJ --90e6ba4fc4a8d89615049c57f087 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable If I update a column (i.e. change the value contents for a given name in a = given key), is the physical disk operation equivalent to delete followed by= insert.
Or is it just insert somehow making the last value marked as s= tale ?

In the definite guide, it says the following about SSTa= ble:
All writes are sequential, which is the primary reas= on that writes perform so well in=A0Cassandra. No reads or seeks of any kin= d are required for writing a value to Cassandra=A0because all writes are ap= pend operations.

It made me wonder how updates work, if it = is append only.

I am new to cassandra so please le= t me know if I am missing something basic.

Regards= ,
-AJ
--90e6ba4fc4a8d89615049c57f087--