Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 90641 invoked from network); 16 Jun 2010 13:37:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jun 2010 13:37:02 -0000 Received: (qmail 50274 invoked by uid 500); 16 Jun 2010 13:37:02 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 50259 invoked by uid 500); 16 Jun 2010 13:37:02 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 50251 invoked by uid 99); 16 Jun 2010 13:37:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 13:37:02 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jun 2010 13:37:00 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5GDacbI024001 for ; Wed, 16 Jun 2010 13:36:38 GMT Message-ID: <802531.28891276695398687.JavaMail.jira@thor> Date: Wed, 16 Jun 2010 09:36:38 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-16) Memory efficient compactions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-16?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-16: ------------------------------------ Attachment: (was: 0003-r-m-object-count-abomination.-fix-BF-serialization-to-.txt) > Memory efficient compactions > ----------------------------- > > Key: CASSANDRA-16 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16 > Project: Cassandra > Issue Type: Improvement > Components: Core > Environment: All > Reporter: Sandeep Tata > Assignee: Jonathan Ellis > Fix For: 0.7 > > Attachments: 0001-introduce-AbstractCompactedRow-PrecompactedRow.txt, 0002-make-single-pass-over-columns-for-indexing.txt, 0003-r-m-object-count-abomination.-fix-BF-serialization-to-.txt, 0004-add-LazilyCompactedRow.txt, 0005-make-row-size-64-bits.txt, 0006-make-row-size-at-which-to-drop-to-incremental-compacti.txt, 0007-reduce-seeks-in-SSTableIdentityIterator-methods.txt > > > The basic idea is to allow rows to get large enough that they don't have to fit in memory entirely, but can easily fit on a disk. The compaction algorithm today de-serializes the entire row in memory before writing out the compacted SSTable (see ColumnFamilyStore.doCompaction() and associated methods). > The requirement is to have a compaction method with a lower memory requirement so we can support rows larger than available main memory. To re-use the old FB example, if we stored a user's inbox in a row, we'd want the inbox to grow bigger than memory so long as it fit on disk. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.