Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 14757 invoked from network); 5 Sep 2010 10:40:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Sep 2010 10:40:05 -0000 Received: (qmail 74304 invoked by uid 500); 5 Sep 2010 10:40:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 74038 invoked by uid 500); 5 Sep 2010 10:39:58 -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 74030 invoked by uid 99); 5 Sep 2010 10:39:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 10:39:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,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 augustyn.michal@gmail.com designates 209.85.216.44 as permitted sender) Received: from [209.85.216.44] (HELO mail-qw0-f44.google.com) (209.85.216.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Sep 2010 10:39:51 +0000 Received: by qwc9 with SMTP id 9so3435829qwc.31 for ; Sun, 05 Sep 2010 03:39:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=XGPkPGg5fRA67ivmaldNQMco2nVkgVnwvdNoRUD4+hM=; b=SCVU74A2+Xw9cX8KTzuJudoGnCrX1PlPTdh8A8rLRWNrf7jFEHbNu0sL9Lkhk5ObhC NWvfgtjpbmiITNHPd3FEK8lCRXdL9cX04+cdQfYEN/hYnRL1nRcR7U6QGXv/gTH+lmlG rtdonKmpE0d2UO/4YbYqdCcSftdivMtgP8WKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pO07E6/xvyJ91J9suE/SdtqqCQKZHZxH32ydUVwSTH+UQNTgBNdxohWs98fEspCooR NL2Pnws1JQVq2HT5IjDt7djghHCud/tW+uZEp+Q6m4x9DiWwOFh1U7fOscFyZ8ikRpDh bFGeb25S6IlgYYioofHjfG+FE2EYe3CNgOeis= MIME-Version: 1.0 Received: by 10.229.249.198 with SMTP id ml6mr2474347qcb.117.1283683170657; Sun, 05 Sep 2010 03:39:30 -0700 (PDT) Received: by 10.229.25.144 with HTTP; Sun, 5 Sep 2010 03:39:30 -0700 (PDT) Date: Sun, 5 Sep 2010 12:39:30 +0200 Message-ID: Subject: skip + limit support in GetSlice From: =?ISO-8859-1?Q?Michal_August=FDn?= To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e64bb7c2642b74048f80c749 --0016e64bb7c2642b74048f80c749 Content-Type: text/plain; charset=ISO-8859-1 Hello, probably this is feature request. Simply, I would like to have support for standard pagination (skip + limit) in GetSlice Thrift method. Is this feature on the road map? Now, I have to perform GetSlice call, that starts on "" and "limit" is set to "skip" value. Then I read the last column name returned and subsequently perform the final GetSlice call - I use the last column name as "start" and set "limit" to "limit" value. This workaround is not very efficient when I need to skip a lot of columns (so "skip" is high) - then a lot of data must be transferred via network. So I think that support for Skip in GetSlice would be very useful (to avoid high network traffic). The implementation could be very straightforward (same as the workaround) or maybe it could be more efficient - I think that whole row (so all columns) must fit into memory so if we have all columns in memory... Thank you! Augi --0016e64bb7c2642b74048f80c749 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello,

prob= ably this is feature request. Simply, I would like to have support for stan= dard pagination (skip + limit) in GetSlice Thrift method. Is this feature o= n the road map?

Now, I have to perform GetSlice call, that starts on &q= uot;" and "limit" is set to "skip" value. Then I r= ead the last column name returned and subsequently perform the final GetSli= ce call - I use the last column name as "start" and set "lim= it" to "limit" value.

This workaround is not very efficient when I need to sk= ip a lot of columns (so "skip" is high) - then a lot of data must= be=A0transferred=A0via network. So I think that support for Skip in GetSli= ce would be very=A0useful (to avoid high network=A0traffic).

The implementation could be very=A0straightforward=A0(s= ame as the workaround) or maybe it could be more efficient - I think that w= hole row (so all columns) must fit into memory so if we have all columns in= memory...

Thank you!

Augi
--0016e64bb7c2642b74048f80c749--