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 70A2B200C6E for ; Mon, 8 May 2017 20:05:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6F28C160BA5; Mon, 8 May 2017 18:05:46 +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 B4F34160BA2 for ; Mon, 8 May 2017 20:05:45 +0200 (CEST) Received: (qmail 47395 invoked by uid 500); 8 May 2017 18:05:45 -0000 Mailing-List: contact dev-help@asterixdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.apache.org Delivered-To: mailing list dev@asterixdb.apache.org Received: (qmail 47382 invoked by uid 99); 8 May 2017 18:05:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2017 18:05:44 +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 3ECE3C12A5 for ; Mon, 8 May 2017 18:05:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id LCm8vOnLqiXf for ; Mon, 8 May 2017 18:05:43 +0000 (UTC) Received: from mail-pg0-f46.google.com (mail-pg0-f46.google.com [74.125.83.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id BE2895F477 for ; Mon, 8 May 2017 18:05:42 +0000 (UTC) Received: by mail-pg0-f46.google.com with SMTP id 64so14943219pgb.3 for ; Mon, 08 May 2017 11:05:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=nPJ0Y0cZsCoCq/EjzwJjryIBfIIQNEjY38ljYB+zauE=; b=YhMkWQWPzGXjrIsWdhPzPD5VIAfvaq0Y3c/ux+Bwlmdryk+ya759YOzOnxl9QB2qM0 UecU7X2MkIuA9n7c8+FXW1Xn/TugtO+CGUEm4nUSv2dKILDPTd8XQprK6ei8q/4LERt5 JybZqyM86SuYijLOozJH6DdKluIKm/iWWezDVgIP07BwWqHGu16e28uoqcDDklMkEx7E zqoV2XuIluGB619klYIle83A7nPnhGxkSJZoG/kIaJoe6NPnO1Nh3zRaU2ciu9RdDmsn J9/6IAOUPYTAmq+c7kOsAsYVMwg9RWqsY1XEwlaJ/8bxWXn7IU4QZ16IU+Ondb7uOuaC DrAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=nPJ0Y0cZsCoCq/EjzwJjryIBfIIQNEjY38ljYB+zauE=; b=cZXJc1yXO3HcwJ2lULq2vn+n91nh0c1t/AqM+0iV9pVsPtAXNT2Zkq2nP8qUuKOLXl 4tnbxj9VP1Vcdt8APoqmlpqZ2TPj19J/8iFFjlY/lc298MnfoXjTyiVOQCKWMiJeoYYg mInLhvwVqsR+BYpM27dgxOj2Qr0cJSf0hiI+Xcrc5/99zQwiD6EYNk7BRXFnZW4JU0/I 3IzfpJCF5LO9Tm0sYeCi50jMuzo98amP+eVoadxc4BwXaknsZzr7TpU+TgDjGyyw6HxQ IZ/Yfrq9q0MUDY5cnQaKUolSl3KctQm7y+fisFTVnLKms/kkvHWr0nByxwI/StkaEYeB wJDg== X-Gm-Message-State: AN3rC/4b4gZMf5PSUVqFmkyhQWKSkLnm8ZDHF7Ytwb2erNz9VOf6HxLw 8qnmIFvVR0y56vRkBXY= X-Received: by 10.84.230.135 with SMTP id e7mr87737669plk.20.1494266741750; Mon, 08 May 2017 11:05:41 -0700 (PDT) Received: from mikejcarey.local ([12.147.0.194]) by smtp.googlemail.com with ESMTPSA id s83sm26087360pfa.128.2017.05.08.11.05.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 May 2017 11:05:41 -0700 (PDT) Subject: Re: Searching for duplicates during feed ingestion. To: dev@asterixdb.apache.org References: From: Mike Carey Message-ID: <43958678-0b82-c3a3-dbf7-ce39115bb107@gmail.com> Date: Mon, 8 May 2017 11:05:35 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------3323EE4E89DC99841EBBCD34" archived-at: Mon, 08 May 2017 18:05:46 -0000 --------------3323EE4E89DC99841EBBCD34 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit +0.99 from me. On 5/8/17 9:50 AM, Taewoo Kim wrote: > +1 for auto-generated ID case > > Best, > Taewoo > > On Mon, May 8, 2017 at 8:57 AM, Yingyi Bu wrote: > >> Abdullah has a pending change that disables searches if there's no >> secondary indexes [1]. >> Auto-generated ID could be another case for which we can disable searches >> as well. >> >> Best, >> Yingyi >> >> [1] https://asterix-gerrit.ics.uci.edu/#/c/1711/ >> >> >> On Mon, May 8, 2017 at 4:30 AM, Wail Alkowaileet >> wrote: >> >>> Hi Devs, >>> >>> I'm noticing a behavior during the ingestion is that it's getting slower >> by >>> time. I know that is an expected behavior in LSM-indexes. But what I'm >>> seeing is that I can notice the drop in ingestion rate roughly after >> having >>> 10 components (around ~13 GB). That's what I'm not sure if it's expected? >>> >>> I tried multiple setups (increasing Memory component size + >>> max-mergable-component-size). All of which delayed the problem but not >>> solved it. The only part I've never changed is the bloom-filter >>> false-positive rate (1%). Which I want to investigate next. >>> >>> So.. >>> What I want to suggest is that when the primary key is auto-generated, >> why >>> AsterixDB looks for duplicates? it seems a wasteful operation to me. >> Also, >>> can we give the user the ability to tell the index that all keys are >> unique >>> ? I know I should not trust the user .. but in certain cases, probably >> the >>> user is certain that the key is unique. Or a more elegant solution can >>> shine in the end :-) >>> >>> -- >>> >>> *Regards,* >>> Wail Alkowaileet >>> --------------3323EE4E89DC99841EBBCD34--