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 20150182E2 for ; Mon, 10 Aug 2015 17:18:53 +0000 (UTC) Received: (qmail 27349 invoked by uid 500); 10 Aug 2015 17:18:53 -0000 Delivered-To: apmail-asterixdb-dev-archive@asterixdb.apache.org Received: (qmail 27296 invoked by uid 500); 10 Aug 2015 17:18:53 -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 Delivered-To: moderator for dev@asterixdb.incubator.apache.org Received: (qmail 68618 invoked by uid 99); 10 Aug 2015 16:27:38 -0000 X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.118 X-Spam-Level: X-Spam-Status: No, score=-1.118 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:reply-to:references:in-reply-to:message-id:date :subject:from:to:content-type; bh=VsnfCDgMr01qjcQb4gmnIlBjkQoajPIYDA2RsT3XBDk=; b=h6tk0BTd8cHNGKiMd20ppveNGVDKKg3oCo08/CJFo6m8RJX19gP2fOlEPfR/2eh9jC Wgk1mqCKtYHjLqR3uU/o/Hc6VVscbi1Ttgltxj4Dw7ixKtav88HArRxOztxyyI8D2QOD CNvnMgW9FAhZjmsAxZDBRiJo1j/EW5Flj4W6l/ZyZbgt12rixbB809CsLukgtSwTS+Gv 1TFUPV8OlFrXFkTKpMTwDWL0mPIH8UCRmbLAnvsBin4oI7zXVqQd7VuO/HBDQ+yZRHaa U5LPYRLV4dQ5xoCYD3hlj33T6WYzPn8ax659GjNVLNv2uJLz6v/8S5lhekQReeiO9NFU BqMg== MIME-Version: 1.0 X-Received: by 10.70.34.103 with SMTP id y7mr5487363pdi.6.1439224051113; Mon, 10 Aug 2015 09:27:31 -0700 (PDT) Reply-To: X-Generated-By: Google Code X-GoogleCode-Project: asterixdb X-GoogleCode-Issue-Id: 925 References: <1-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> <0-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> In-Reply-To: <1-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> Message-ID: <2-12833755227771893259-10344353308763431914-asterixdb=googlecode.com@googlecode.com> Date: Mon, 10 Aug 2015 16:27:31 +0000 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: asterixdb@googlecode.com To: dev@asterixdb.incubator.apache.org Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Comment #2 on 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 That's correct. I missed that. But still the possibility to see the deleted secondary key from the secondary index in reality could be very low. We need to profile the pros and cons of using bloomfilter in this situation. Probably, pin/unpin will be the major cost if the page is not in the buffercache already plus the overhead of going through buffer cache's critical section. Other than that, computing hash value will be the next major cost. -- 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