pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: sienkomarcin@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13817: Query planner strange choose while select/count small part of big table - complete
Date: Fri, 18 Dec 2015 08:09:40 +0100
Message-ID: <20151218070940.GC362@hjp.at> (raw)
In-Reply-To: <20151214114527.11345.70373@wrigleys.postgresql.org>
References: <20151214114527.11345.70373@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2015-12-14 11:45:27 +0000, sienkomarcin@gmail.com wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      13817
> Logged by:          Marcin_S
> Email address:      sienkomarcin@gmail.com
> PostgreSQL version: 9.4.5
> Operating system:   Windows 7 x64
> Description:        
> 
> Hi,
> 
> First sorry for not completed last bug (browser handle it too fast :). Here
> is complete version:
> 
> 
> I've check todo list but i can't find exact problem i'm reporting. It seems
> like query planner fires not needed sequence scan by all rows in table when
> only a few rows were picked.

Can you try this with version 9.5 (currently in beta)? This looks very
similar to a problem I reported some time ago and which is fixed in 9.5.

	hp

-- 
   _  | Peter J. Holzer    | I want to forget all about both belts and
|_|_) |                    | suspenders; instead, I want to buy pants 
| |   | hjp@hjp.at         | that actually fit.
__/   | http://www.hjp.at/ |   -- http://noncombatant.org/

Attachments:

  signature.asc (application/pgp-signature, 810B) download

view thread (9+ messages)  latest in thread

Message-ID: <20151218070940.GC362@hjp.at>
Permalink:  ../20151218070940.GC362@hjp.at/
Also on:    postgresql.org/message-id/20151218070940.GC362@hjp.at

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: hjp-pgsql@hjp.at, sienkomarcin@gmail.com
  Subject: Re: BUG #13817: Query planner strange choose while select/count small part of big table - complete
  In-Reply-To: <20151218070940.GC362@hjp.at>
  References: <20151214114527.11345.70373@wrigleys.postgresql.org> <20151218070940.GC362@hjp.at>

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

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