Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ap8SB-0007vi-Pj for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 06:02:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1ap8SA-0001ZL-Rz for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Apr 2016 06:02:34 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ap8Qo-0008Py-Mn for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 06:01:10 +0000 Received: from mail-io0-x230.google.com ([2607:f8b0:4001:c06::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1ap8Ql-0005lr-TI for pgsql-hackers@postgresql.org; Sun, 10 Apr 2016 06:01:09 +0000 Received: by mail-io0-x230.google.com with SMTP id o126so152150002iod.0 for ; Sat, 09 Apr 2016 23:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=y7JOD4lYv8Tq0dwl1ZUrKeCVZZI2Tz8mCx2NjA5mmCo=; b=cgvXbdWT18Ng4uKL/tQEnPvniC3iGjjxyGJtLFdvvuDBjy4WCjjRvRy0iSlXOqkZMd f7XwKwXjQnXzOFKofswPjwBl/FSgyYosw6muWPQGjsBATngJ8y8DH0RY+uDVAyeQEA4Y 4Gh2hKNMPqWS2x/4FqYXTzH0N3qXyPr81Zyz8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=y7JOD4lYv8Tq0dwl1ZUrKeCVZZI2Tz8mCx2NjA5mmCo=; b=BBjZAVWGYtNLP5G7w0eZgkAGmTwZ75jyNS01JKyHKZiscipEG08ejmQNc/DiZkCGHA ne0qTYiZ+yfC9pm+5I3dtF9RQn3i/u6HUqqkLErn+JwQv6GirIWFZBj0d8Fbd0WQQP6k Ez1WElaIJEe+rlz6j0QE+0Ie8KNCFEirSfbZ2r8nlXteshJgA2wAh7XEjSwUOy1m778O DmxWw5DU5ufjHINvE6ipoqqLrL+iImnk4m4/A5+zBxw6CXJ/Z/XrRqmQnSE3j3LqfF7g /fgfdPXFzFrGoqG6Wm3ok8zjp5ci1OADVanBdhxx7/4bQtjrxPsDTfgy5nI7k7EVqkcD RNlg== X-Gm-Message-State: AOPr4FWhqLgpxXynJMmanRKyyii8fPH6stjdPxujrwC8b015Z2JedDnyF7WBDGfRYl/NRQ== X-Received: by 10.107.40.9 with SMTP id o9mr5067417ioo.183.1460268066514; Sat, 09 Apr 2016 23:01:06 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id yf9sm7723508igc.16.2016.04.09.23.01.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Apr 2016 23:01:05 -0700 (PDT) Date: Sun, 10 Apr 2016 02:01:02 -0400 From: Noah Misch To: Tom Lane Cc: Teodor Sigaev , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Bloom index contrib module Message-ID: <20160410060102.GC1741844@tornado.leadboat.com> References: <12656.1460217008@sss.pgh.pa.us> <20160409234332.GA1747447@tornado.leadboat.com> <28003.1460252943@sss.pgh.pa.us> <5835.1460254081@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5835.1460254081@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sat, Apr 09, 2016 at 10:08:01PM -0400, Tom Lane wrote: > I wrote: > > I was depressed, though not entirely surprised, to find that you get > > exactly that same line-count coverage if the table size is cut back > > to ONE row. > > Oh, I found the flaw in my testing: there are two INSERTs in the test > script and I was changing only one of them. After correcting that, > the results behave a little more sanely: > > Line Coverage Functions > 1 row: 70.4 % 349 / 496 93.1 % 27 / 29 > 10 row: 73.6 % 365 / 496 93.1 % 27 / 29 > 100 rows: 73.6 % 365 / 496 93.1 % 27 / 29 > 1000 rows: 75.4 % 374 / 496 93.1 % 27 / 29 > > Still, we've reached the most coverage this test can give us at 1000 > rows, which still means it's wasting the last 99% of its runtime. If dropping the row count to 1000 shaves >500ms on your primary machine, +1 for committing such a row count change. This is exactly what I meant by "someone identifies a way to realize similar coverage with lower duration." Thanks for contributing this study. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers