Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 29975 invoked from network); 21 Sep 2010 18:12:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 18:12:12 -0000 Received: (qmail 57796 invoked by uid 500); 21 Sep 2010 18:12:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 57783 invoked by uid 500); 21 Sep 2010 18:12:11 -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 57775 invoked by uid 99); 21 Sep 2010 18:12:11 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 18:12:11 +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; Tue, 21 Sep 2010 18:11:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8LIBWPg020201 for ; Tue, 21 Sep 2010 18:11:32 GMT Message-ID: <33274597.322461285092692847.JavaMail.jira@thor> Date: Tue, 21 Sep 2010 14:11:32 -0400 (EDT) From: "Stu Hood (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1526) Make cassandra sampling and startup faster In-Reply-To: <15972528.321171285090414185.JavaMail.jira@thor> 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-1526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913136#action_12913136 ] Stu Hood commented on CASSANDRA-1526: ------------------------------------- > Since SSTables are immutable is there a way the sampling of the tables could be saved? Yes, this is definitely feasible, and much easier in 0.7. > Make cassandra sampling and startup faster > ------------------------------------------ > > Key: CASSANDRA-1526 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1526 > Project: Cassandra > Issue Type: New Feature > Reporter: Edward Capriolo > > http://wiki.apache.org/cassandra/CassandraHardware makes mention of very large disks I do not see how that would be possible. > We have a server class system have 4x processors 16GB RAM a 6 DISK RAID5 (yes RAID0 would be faster but still) > {noformat} > INFO [main] 2010-09-21 12:58:26,348 SSTableReader.java (line 120) Sampling index for /var/lib/cassandra/data/system/LocationInfo-699-Data.db > ... > INFO [main] 2010-09-21 13:05:51,333 CassandraDaemon.java (line 124) Binding thrift service to cdbsd07/10.71.71.57:9160 > {noformat} > This node has 200GB of data in two column families and the time to sample all tables and startup is 7+ minutes. The logging suggests this process is happening a single SSTable at a time. Additionally the normal system vitals mainly DISK and CPU do not look overtaxed. > * Since SSTables are immutable is there a way the sampling of the tables could be saved? > * Could this process be done in parallel for speedup? > * Can multiple column families be processed at once? > Unless someone has an insanely powerful disk pack making mention of 2TB limitations seem out of place. Unless my calculations are wrong (which they usually are), I have a pretty decent hardware, and if I had 2 TB of data I would have a 95 minute node start up? > I hope that maybe sampling multiple ColumnFamilies at once would make nodes of at least a few hundred GB startup reasonably fast. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.