Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqN7y-0003L5-8x for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Aug 2018 18:36:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqN7w-0006b8-1Q for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Aug 2018 18:36:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fqN7v-0006b1-Qc for pgsql-hackers@lists.postgresql.org; Thu, 16 Aug 2018 18:36:07 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fqN7s-00008h-B1 for pgsql-hackers@postgresql.org; Thu, 16 Aug 2018 18:36:07 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 4EEEA5F79C; Thu, 16 Aug 2018 14:36:02 -0400 (EDT) Date: Thu, 16 Aug 2018 14:36:02 -0400 From: Stephen Frost To: Jesper Pedersen Cc: Thomas Munro , Bhushan Uparkar , pgsql-hackers , Alexander Korotkov Subject: Re: Index Skip Scan Message-ID: <20180816183602.GT3326@tamriel.snowman.net> References: <707b6f68-16fa-7aa7-96e5-eeb4865e6a30@redhat.com> <89F84E17-D684-4717-B66F-0F05CB00168E@gmail.com> <51bb3284-2902-1c64-0bae-8866c85cde47@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="CC7kGhlJjTyMjSRG" Content-Disposition: inline In-Reply-To: <51bb3284-2902-1c64-0bae-8866c85cde47@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --CC7kGhlJjTyMjSRG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Jesper Pedersen (jesper.pedersen@redhat.com) wrote: > On 08/16/2018 02:22 AM, Thomas Munro wrote: > >The idea of starting with DISTINCT was just that it's > >comparatively easy. We should certainly try to look ahead and bear > >those features in mind when figuring out the interfaces though. Would > >the indexam skip(scan, direction, prefix_size) operation I proposed be > >sufficient? Is there a better way? >=20 > Yeah, I'm hoping that a Committer can provide some feedback on the direct= ion > that this patch needs to take. Thomas is one these days. :) At least on first glance, that indexam seems to make sense to me, but I've not spent a lot of time thinking about it. Might be interesting to ask Peter G about it though. > One thing to consider is the pluggable storage patch, which is a lot more > important than this patch. I don't want this patch to get in the way of t= hat > work, so it may have to wait a bit in order to see any new potential > requirements. Not sure where this came from, but I don't think it's particularly good to be suggesting that one feature is more important than another or that we need to have one wait for another as this seems to imply. I'd certainly really like to see PG finally have skipping scans, for one thing, and it seems like with some effort that might be able to happen for v12. I'm not convinced that we're going to get pluggable storage to happen in v12 and I don't really agree with recommending that people hold off on making improvements to things because it's coming. Thanks! Stephen --CC7kGhlJjTyMjSRG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJbdcQRAAoJEO1sijiDR2RV6/gP/R4y3fcRwJehhR+UQahST28P OtVy+XiYrxFyhpaJibtCSkRRPJ5m54WpWhca1V8FJrZqIsyHj+62EpcO8L8zsw85 6IZ1VVge69kIOKtuIVYd9k/DX7gScuqzYZ5dnIsp9ybf2aFbiwX/5dXBfS5PgNi3 XILvPxDuhL3IXc8MsNQcDYAjdsyqZPl5icMUOnC/E6zWUJUIWDXAaTYnREd1ILcZ cJEMZaDAcHWxoF9/gVljnzovNOPYJITha/ToVd7f6syIEH4Szpnju3NcflC4Po4i bbNYnXsDKMwRU8k+I/mjtK9xfBnW+eLx8rWClRT5uQTfZPrPSmvnL5dQoqekFCfZ lvLmmPnUR1i+cblR7+OD9JeRKsfbJW4yWgL1Y+kr6QnmWYD2c9wHOwUxAWOlcRRN dTj5eO4x2Yzxcn+1baYd6Pu+/DzzeARLTOJgPLgp0iT0iLs2TzIiQDRZFH9of5Sl b2kMnJuZlUrj4y3DIfQr0oD8DhALThE1r9CnS8ZHfSuI9qhJ03l5OH1L66XqboFU jZ5LrnrP0Q/TyRFfawnYb+MsZhVesoLvM+Q7AlBr2xFmstdjxdUtMs1IvJpwyXqp BPa3Iz7WAxt+VC1J9eu1QYpzGRf+UxxL5Jy1fNmFGNNt7odLCUgL1ayRkJleI3ri BfCLgaMyXZNFYFPSXoj/ =rRqZ -----END PGP SIGNATURE----- --CC7kGhlJjTyMjSRG--