Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24347E6F9 for ; Fri, 1 Mar 2013 16:08:02 +0000 (UTC) Received: (qmail 39226 invoked by uid 500); 1 Mar 2013 16:08:00 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 39031 invoked by uid 500); 1 Mar 2013 16:07:59 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 39023 invoked by uid 99); 1 Mar 2013 16:07:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 16:07:59 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eczech52@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vc0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Mar 2013 16:07:55 +0000 Received: by mail-vc0-f171.google.com with SMTP id fy7so2042204vcb.16 for ; Fri, 01 Mar 2013 08:07:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=KgQAJKZYDhqw6l539ymVA+Y+mLdB5uoz/F11pN84lsU=; b=Kzn/3/2raIrjBnrW0jforrCAxJa+dOFtmJKtldKselvjoePaHzOHzK9ATI2vxW34tJ x2W1h7OkTMLvNrqNSRgdNPGLFiFDoMFFdUih/dNBRt4pyY0wwHRQa7QPWO3yJ/MCIeLC 0Vef8F219Mx49Ft2HogHBhMbBy7fAbOo69zNEKM5yJN5UWAMhkpT/rPRqc3Z8CQhl+Np XOSd5tAuAJJrl5H6wo9nqdtBMifFY0t+GKh+MQ4xJhyLftzA1Hwk7IcGDQhkud6lgcOn VrmhY9xw7bcOUDJigY6f3icGdWgJ15XWbpj9yTr4NM1F1Wcq8JIQoEqWOL8ZHi6NG1oL +++w== X-Received: by 10.220.151.203 with SMTP id d11mr3304169vcw.9.1362154054238; Fri, 01 Mar 2013 08:07:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.0.142 with HTTP; Fri, 1 Mar 2013 08:07:14 -0800 (PST) In-Reply-To: References: From: Eric Czech Date: Fri, 1 Mar 2013 11:07:14 -0500 Message-ID: Subject: Re: Prewarming in-memory column families To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=f46d043c7c9088497604d6df340d X-Virus-Checked: Checked by ClamAV on apache.org --f46d043c7c9088497604d6df340d Content-Type: text/plain; charset=ISO-8859-1 Thanks guys. I think I'll use the initial scan then but limit the rows used to a smaller subset that I know should fit in the in-memory part of the block cache. On Tue, Feb 26, 2013 at 8:16 PM, Jean-Daniel Cryans wrote: > It's touchy... what if the data set doesn't fit in the in-memory's > part of the block cache (which is 25%)? Maybe the user only wants to > keep "in-memory" those edits that are being used? What about the IO > hit of assigning those regions at startup that would now need to read > X GBs all at once? > > FWIW I've never been a fan of that setting. > > J-D > > On Tue, Feb 26, 2013 at 5:04 PM, Sergey Shelukhin > wrote: > > should we make this built-in? Sounds like default user intent for > in-memory. > > > > On Tue, Feb 26, 2013 at 2:13 PM, Stack wrote: > > > >> On Fri, Feb 22, 2013 at 7:39 AM, Eric Czech wrote: > >> > >> > Hi everyone, > >> > > >> > Are blocks for in-memory column families automatically loaded in to > the > >> > block cache on restart? > >> > >> > >> No > >> > >> > >> > If not, would anyone recommend running a scan with > >> > .setCacheBlocks(true) after a restart for in-memory column families? > >> > > >> > >> Yes. > >> > >> It should be easy verifying whether the above warmup had an effect. > >> > >> Good luck, > >> St.Ack > >> > --f46d043c7c9088497604d6df340d--