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 6492517ECC for ; Sun, 27 Sep 2015 14:36:39 +0000 (UTC) Received: (qmail 20795 invoked by uid 500); 27 Sep 2015 14:36:39 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 20738 invoked by uid 500); 27 Sep 2015 14:36:39 -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 20722 invoked by uid 99); 27 Sep 2015 14:36:38 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2015 14:36:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5E961C0959 for ; Sun, 27 Sep 2015 14:36:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 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_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iUt82icAICqE for ; Sun, 27 Sep 2015 14:36:37 +0000 (UTC) Received: from mail-qg0-f46.google.com (mail-qg0-f46.google.com [209.85.192.46]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id F1E4020313 for ; Sun, 27 Sep 2015 14:36:36 +0000 (UTC) Received: by qgt47 with SMTP id 47so103031606qgt.2 for ; Sun, 27 Sep 2015 07:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=etBZoXmAMJqu2iiJm/H+0uT+e+SQVGPMGr0OM/qXBIQ=; b=qIgksztXDv13EcPwYqAXqI1QaehWTEKbOLZ0tlq/1v19GR+6BSd+/PStwbEral12We 8nEG5h6/y5tqbORzEg+B6iFKlSkRO8zHuVpqqttA7IpI2iiDutdp6+aTW2hq6b0G1Xz2 qD8kX4LC7vvC0d5oxaEJrFM59ZlDbD573Is9qUeS4Ga3RK04KOpPbX9ay5Y6e4c9AHEN +13uKBi+U6c5JYb6gqj/Ui9yqps1oSLEnWZW70YOjYNAqpaEtcS06/fd8sBJQhPKacIP NS+cvsVx+9JNgACrCRmBhlMiMJCX0BtvCjjIW8SmP1ISVrONSHB6Zx9fu438CS0Y+Brh MYkQ== MIME-Version: 1.0 X-Received: by 10.140.93.139 with SMTP id d11mr17159385qge.83.1443364590679; Sun, 27 Sep 2015 07:36:30 -0700 (PDT) Received: by 10.140.105.73 with HTTP; Sun, 27 Sep 2015 07:36:30 -0700 (PDT) Date: Sun, 27 Sep 2015 17:36:30 +0300 Message-ID: Subject: Buffered result status From: Wail Alkowaileet To: dev@asterixdb.incubator.apache.org Cc: Yingyi Bu Content-Type: multipart/alternative; boundary=001a113958c8b57c6a0520bb81ab --001a113958c8b57c6a0520bb81ab Content-Type: text/plain; charset=UTF-8 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 --001a113958c8b57c6a0520bb81ab--