Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 295E969A9 for ; Wed, 27 Jul 2011 08:49:44 +0000 (UTC) Received: (qmail 6776 invoked by uid 500); 27 Jul 2011 08:42:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 6672 invoked by uid 500); 27 Jul 2011 08:42:36 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 6608 invoked by uid 99); 27 Jul 2011 08:42:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 08:42:32 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2011 08:42:30 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D5D7F8BB69 for ; Wed, 27 Jul 2011 08:42:09 +0000 (UTC) Date: Wed, 27 Jul 2011 08:42:09 +0000 (UTC) From: "Sayyid Amin (JIRA)" To: issues@hbase.apache.org Message-ID: <1316243738.11258.1311756129872.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-3067) in_memory column family records should be available in memory past memstore flush if total memory to hbase > memory to memstore 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/HBASE-3067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sayyid Amin updated HBASE-3067: ------------------------------- Summary: in_memory column family records should be available in memory past memstore flush if total memory to hbase > memory to memstore (was: in_memory column family records should be available in memory past memstore flush if total memory to habse > memory to memstore) > in_memory column family records should be available in memory past memstore flush if total memory to hbase > memory to memstore > ------------------------------------------------------------------------------------------------------------------------------- > > Key: HBASE-3067 > URL: https://issues.apache.org/jira/browse/HBASE-3067 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.89.20100621 > Reporter: Abhijit Pol > > On Fri, Oct 1, 2010 at 8:31 AM, Stack wrote: > Blockcache is made of blocks pulled from HDFS. It'd be a little awkward inserting hot records into the block cache w/o going via HDFS. > But, yes, you have a good point that flush is disruptive of hot records. > In the past we talked of a keyvalue cache on top of the block cache but it fell out of favor because block cache seemed to be good enough but sounds like we need to revive it or do some fancy dancing if column family is marked in-memory, we keep around the snapshot of memstore until we know the block cache has been populated? > Any other suggestions? > On Fri, Oct 1, 2010 at 1:26 AM, Abhijit Pol wrote: > > we are trying to read efficiently a hot column family (in_memory=true, blockcaching=true) that get writes at say 500 qps and reads at 10,000 qps. > > - as long as writes are in memstore we get them from memstore and its fast > > - if we have read it once it will be at least in block cache (gets priority due to in_memory=true) and subsequent reads are faster > > - however memstore flush puts records on disk which demands for disk IO to get them back in block cache > > > > is there a way for memstore flush to go to blockcache? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira