Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EFD4CDCAF for ; Tue, 23 Oct 2012 12:45:13 +0000 (UTC) Received: (qmail 79377 invoked by uid 500); 23 Oct 2012 12:45:13 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 79346 invoked by uid 500); 23 Oct 2012 12:45:13 -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 79325 invoked by uid 99); 23 Oct 2012 12:45:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 12:45:12 +0000 Date: Tue, 23 Oct 2012 12:45:11 +0000 (UTC) From: "Brandon Williams (JIRA)" To: commits@cassandra.apache.org Message-ID: <1136940136.15635.1350996311974.JavaMail.jiratomcat@arcas> In-Reply-To: <1619126050.104197.1348167487688.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (CASSANDRA-4694) populate_io_cache_on_flush option should be configurable for each column family independently MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13482292#comment-13482292 ] Brandon Williams commented on CASSANDRA-4694: --------------------------------------------- This looks good, but, if we're making it a 1.2 feature then it seems like we should have a way to control it from cql3 too. We could do that in a different ticket, though. > populate_io_cache_on_flush option should be configurable for each column family independently > --------------------------------------------------------------------------------------------- > > Key: CASSANDRA-4694 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4694 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Alexey Zotov > Assignee: Alexey Zotov > Priority: Minor > Labels: cli, core, documentation > Fix For: 1.2.0 > > Attachments: cassandra-1.1-4694-populate_io_cache.txt, cassandra-1.2-4694-populate_io_cache.txt, cassandra-1.2-4694-populate_io_cache_v2.txt > > > I suggest to configure populate_io_cache_on_flush option for each column family. It should be configurable from cassandra-cli and should be stored in System keyspace. > That could be useful if you have a few column families inside single keyspace and you need to fit in memory only one of them. > Patch has been attached. I've been testing it on pseudo-cluster using ccm. So I don't have fully confidence about lack of bugs. Please carefully review that code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira