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 3B27218DBE for ; Mon, 10 Aug 2015 08:30:35 +0000 (UTC) Received: (qmail 66517 invoked by uid 500); 10 Aug 2015 08:30:35 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 66463 invoked by uid 500); 10 Aug 2015 08:30:35 -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 66450 invoked by uid 99); 10 Aug 2015 08:30:34 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Aug 2015 08:30:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 69DCF1A9B82 for ; Mon, 10 Aug 2015 08:30:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.881 X-Spam-Level: ** X-Spam-Status: No, score=2.881 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, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id rK9NgUbM9Tt4 for ; Mon, 10 Aug 2015 08:30:30 +0000 (UTC) Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com [209.85.160.174]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 974662C6DC for ; Mon, 10 Aug 2015 08:22:31 +0000 (UTC) Received: by ykdz80 with SMTP id z80so22120004ykd.2 for ; Mon, 10 Aug 2015 01:22:25 -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 :content-type; bh=o0TvqUZ5XFauRoKdv/96KWlat7q54G0iQEorYLcga3c=; b=v4WHqRvTW1SvxIvI2kBR+3zxAs8nRguc84xg2AB5xNG8Kt2BA3XD5xdJFylZ15vm+e wuQpjyaPIBJjG2qgYioMnV3Iv4uv0dGiHER/MDr9mBGeOEevcXvqJWUJcqA3ggtw1+RV Bc6K5mVDRcFoYct05C49SlPGuA5ahWRNZka627tN8mJROqm9JvdDM5C5wLwyG2yK1DZh 56lblaPzyJ5R2PZiLcqMqfE3y0DLSVXd6PID3ok8X3gXrRZDMyet6wwkUQtumQT6i01x U1fvaKppxRziX95npJ1dBCGMjjXGBr85DZrfc9J1XB9hu57CCnmhW5myp86m8h+aIXZu gvRQ== MIME-Version: 1.0 X-Received: by 10.13.252.6 with SMTP id m6mr20461869ywf.83.1439194945537; Mon, 10 Aug 2015 01:22:25 -0700 (PDT) Received: by 10.37.37.142 with HTTP; Mon, 10 Aug 2015 01:22:25 -0700 (PDT) In-Reply-To: <0-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> References: <0-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> Date: Mon, 10 Aug 2015 01:22:25 -0700 Message-ID: Subject: Re: Issue 925 in asterixdb: Bloomfilter search preceded by primary index lookup after secondary index search is nothing but overhead since all primary keys returned from secondary indexes are all valid and exist. From: Yingyi Bu To: dev@asterixdb.incubator.apache.org, codesite-noreply@google.com Content-Type: multipart/alternative; boundary=94eb2c06bef27dce1b051cf0af21 --94eb2c06bef27dce1b051cf0af21 Content-Type: text/plain; charset=UTF-8 In theory, a returned primary key could be deleted because secondary index search does not lock anything... Is the overhead mostly from pin/un-pin BF pages? Best, Yingyi On Mon, Aug 10, 2015 at 1:03 AM, wrote: > Status: Accepted > Owner: kiss...@gmail.com > Labels: Type-Enhancement Priority-Medium > > New issue 925 by kiss...@gmail.com: Bloomfilter search preceded by > primary index lookup after secondary index search is nothing but overhead > since all primary keys returned from secondary indexes are all valid and > exist. > https://code.google.com/p/asterixdb/issues/detail?id=925 > > Bloomfilter search preceded by primary index lookup after secondary index > search is nothing but overhead since all primary keys returned from > secondary indexes are all valid and exist. > > -- > You received this message because this project is configured to send all > issue notifications to this address. > You may adjust your notification preferences at: > https://code.google.com/hosting/settings > --94eb2c06bef27dce1b051cf0af21--