Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B8A8F200BB9 for ; Mon, 24 Oct 2016 05:01:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7361160AFD; Mon, 24 Oct 2016 03:01:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0C047160AFC for ; Mon, 24 Oct 2016 05:01:19 +0200 (CEST) Received: (qmail 2797 invoked by uid 500); 24 Oct 2016 03:01:18 -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 2781 invoked by uid 99); 24 Oct 2016 03:01:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2016 03:01:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 758F3C01AF for ; Mon, 24 Oct 2016 03:01:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=coupang-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 1mvqfzYLwLwy for ; Mon, 24 Oct 2016 03:01:15 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7EB995F39D for ; Mon, 24 Oct 2016 03:01:14 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id c78so89472900wme.1 for ; Sun, 23 Oct 2016 20:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coupang-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=EEHbNsRauMgePCSLHQ4+eDVVsQz38TRMXLvCF/T6ZBg=; b=BWmDuHa42n9GYvzxfY9BFlYpeOmuJXwPFRdaWU1KcGu7bpLjJ6/XvkJ4TDx9p3KD0c Yd8YIWYBExlhfqMvtHVRQy2t0VQKLMrBHHk7Xl/ouxLCIDx1XL9odRSrh8giNgItUedm udcGVlLph0FvQ96sLArqZAzn4fQnp6nithhZinDWacuH1zcO59RoCGQDUtnfecqjMnuH P3zpfZai3+4/leJJrF+gXf/9V8MCBc/PFs+nE2+/+E6syp5SmkSfN7mkHM4Lhr9DehAT v28UIVkrnFrR1VwzAYz/QNomMIvIWUT2PYVp70FsYewZUUo51u56uGXytXBoJMLiyG4T QZoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EEHbNsRauMgePCSLHQ4+eDVVsQz38TRMXLvCF/T6ZBg=; b=Bix5lMAWrNpnEhqwHXXiptCz9uVnNh6Qr87CVr8GtoSlkXKCSlfcWVkINJoyG4bhSX Dqa2xau+qO0IGPruJaKGN4R33cX5NrMJPLyWk3GBhxyqr9iUhUN0Y3sJledTpKmxzk/t uqhOaDKlOApK6HsbdATFhpzsK5r2uTziHcdF/YyYEbO04moI3UM3PvkKK/7c9Nap1tgs QetQj0RXVmpW1mMjc4oSAY24xpz55GEtsC/QeBqOZida3CCF7/N5Zex/lG20J0Wd7wKd xc/rjp+Yd3PgCsmhgrmwBIiQXUpKBIBVCsVqCdiMTCwAz90BL0MeyDGZi/ynU4pgIa30 xJXQ== X-Gm-Message-State: AA6/9RnL8FwhMVvqewBbYSpJR+yjU5dPhe2GpFVbwsEIjPbqQz17YppaoDHOu5kF9ZhSqGiAH3S/Qhdg+bmsuzE+ X-Received: by 10.28.113.216 with SMTP id d85mr13324688wmi.52.1477278069563; Sun, 23 Oct 2016 20:01:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.47.147 with HTTP; Sun, 23 Oct 2016 20:01:09 -0700 (PDT) From: =?UTF-8?B?UHJvdXN0KFByb3VzdC9GZW5nIEd1aXpob3UpIFtTYWlwYW5dIMKt?= Date: Mon, 24 Oct 2016 11:01:09 +0800 Message-ID: Subject: [In Memory] Questions about Make HBase Table In Memory To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=001a11465628923ed9053f939a0c archived-at: Mon, 24 Oct 2016 03:01:20 -0000 --001a11465628923ed9053f939a0c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, HBase Experts I have several questions related to HBase BlockCache and IN_MEMORY setting 1. Does BlockCache cache the data when do PUT request, so next time GET/SCAN request against the same data will be served from Memory only? 2. If HBase Table ColumnFamily have *IN_MEMORY=3Dtrue*, and every time I do PUT followed immediately with a GET/SCAN against the same data, assume I have memory larger than the specific table, is that this way I can make sure the whole table is in memory and all read requests against this table will be served from memory only? 3. How can I determine whether a GET served from Disk Reading or Memory? 4. Compared to Item 2 above against "Prefetch Option for Blockcache", which one is best for read performance? The purpose I try to achieve is best and stable read performance even when have high HDFS IO like re-balance when new servers added. we want the performance could be comparable against memory solution like Redis. Thanks Proust --=20 =E5=9C=B0=E5=9D=80: =E4=B8=8A=E6=B5=B7=E5=B8=82=E6=B5=A6=E4=B8=9C=E6=96=B0= =E5=8C=BA=E9=87=91=E7=A7=91=E8=B7=AF2889=E5=BC=84=E9=95=BF=E6=B3=B0=E5=B9= =BF=E5=9C=BAC=E5=BA=A77=E6=A5=BC Address: 7th floor, No#3, Jinke road 2889, Pudong district, Shanghai, China= . Mobile: +86 13621672634 --001a11465628923ed9053f939a0c--