Return-Path: X-Original-To: apmail-asterixdb-dev-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA8DA18468 for ; Sun, 27 Sep 2015 21:29:56 +0000 (UTC) Received: (qmail 45202 invoked by uid 500); 27 Sep 2015 21:29:56 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 45142 invoked by uid 500); 27 Sep 2015 21:29:56 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 45129 invoked by uid 99); 27 Sep 2015 21:29:56 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2015 21:29:56 +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 08ECEC5E1A for ; Sun, 27 Sep 2015 21:29:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id lEsyKGvI0ote for ; Sun, 27 Sep 2015 21:29:55 +0000 (UTC) Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 755C120925 for ; Sun, 27 Sep 2015 21:29:54 +0000 (UTC) Received: by ykft14 with SMTP id t14so157927211ykf.0 for ; Sun, 27 Sep 2015 14:29:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jjdC2u1CxJlZu1QJRVmYwPANf5c4W223IOjxsTF4EMY=; b=XlgMJLac2e0DAZTVl6JQB7Ya1vbHZ41+GfUfhMhLdd5bSVnZPAc61OI3/jkHJL3QJS zOq0SyxUzPklWwOD8eZ9XU/Hfc+T7rPVyhi/w0P4g1lhtUQ8trye6F60OunZDOkc5jtr 53xY2pSTiF5siPythH5rM+x5YrbO+kk1s0Nlw5KOuVFRXBcjDYbWWDWLsmZluYLYQwqk jdy2Kyp+6BvH2xAZ1zrovs5qPid3w6RmoNOphcluwIYe0USnxFBKcRHMCyMgXb1G7cmY qm3CyylBaGgXFkqvHXfr7L7CrkHscVPeZ5uyVsbycFhtZt6cX3x4Q+oAs1tzjf89miNd ENjw== MIME-Version: 1.0 X-Received: by 10.170.49.147 with SMTP id 141mr14014552ykr.26.1443389387479; Sun, 27 Sep 2015 14:29:47 -0700 (PDT) Received: by 10.37.21.196 with HTTP; Sun, 27 Sep 2015 14:29:47 -0700 (PDT) In-Reply-To: References: Date: Sun, 27 Sep 2015 14:29:47 -0700 Message-ID: Subject: Re: Buffered result status From: Yingyi Bu To: Wail Alkowaileet Cc: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11c041beb6a35a0520c147f4 --001a11c041beb6a35a0520c147f4 Content-Type: text/plain; charset=UTF-8 Wail, Right, that should be an undocumented feature and the memory manager is only used by the result distribution framework. This is different from Hyracks Buffer Cache. The buffer cache I referred to was only used by the storage, e.g., B-Tree, LSM B-tree, R-Tree, etc. Best, Yingyi On Sun, Sep 27, 2015 at 7:36 AM, Wail Alkowaileet wrote: > Dears, > > I was looking in the base code of the Distributed result and I found that > the result can be buffered. i.e. the result temp file will only be written > if the number of available memory pages < the result size. The buffer > policy is LRU as > in org.apache.hyracks.control.nc.dataset.DatasetMemoryManager.evictPage() > > The memory size can be configured in the NCConfig with the > option: -result-manager-memory > Is it an undocumented feature? > > @Yingyi is that similar to what you referred to as (Hyracks Buffer Cache) ? > > Thanks! > -- > > *Regards,* > Wail Alkowaileet > --001a11c041beb6a35a0520c147f4--