public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Claudio Freire <[email protected]>
Cc: Justin Pryzby <[email protected]>
Cc: postgres performance list <[email protected]>
Subject: Re: index fragmentation on insert-only table with non-unique column
Date: Sun, 05 Jun 2016 12:03:58 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAGTBQpZ+auG+KhcLghvTecm4-cGGgL8vZb5uA3=47K7kf9RgJw@mail.gmail.com>
References: <[email protected]>
	<CAMkU=1wsSEgByzYQ5uazD1gSsJh9RRYME6ehgJsUp3XcMm2Djg@mail.gmail.com>
	<[email protected]>
	<CAGTBQpbqkQYRbnz-7MJEhCL9bRhaE3sX12LZh4YGh4m+xoUqYA@mail.gmail.com>
	<[email protected]>
	<CAGTBQpZ+auG+KhcLghvTecm4-cGGgL8vZb5uA3=47K7kf9RgJw@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

Claudio Freire <[email protected]> writes:
> So correlated index scans look extra favourable vs bitmap index scans
> because bitmap heap scans consider random page costs sans correlation
> effects (even though correlation applies to bitmap heap scans as
> well).

Really?  How?  The index ordering has nothing to do with the order in
which heap tuples will be visited.

			regards, tom lane


-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: index fragmentation on insert-only table with non-unique column
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox