pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #10547: Query too long with order and limit
2+ messages / 2 participants
[nested] [flat]

* BUG #10547: Query too long with order and limit
@ 2014-06-06 09:55 alamy@ltutech.com
  2014-06-07 08:39 ` Re: BUG #10547: Query too long with order and limit Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: alamy@ltutech.com @ 2014-06-06 09:55 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      10547
Logged by:          Arnaud Lamy
Email address:      alamy@ltutech.com
PostgreSQL version: 9.2.4
Operating system:   Linux
Description:        

Hi guys,

After double checked with #postgresqlfr users, I think I have a bug.

With the pastebin below, if I add a limit to my query the behavior totally
change. It could take minutes instead of milliseconds.

explain and query:

http://paste.debian.net/103554/

Please let me know if you need more informations.

I tested with 9.4, same behavior.

Arnaud



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #10547: Query too long with order and limit
  2014-06-06 09:55 BUG #10547: Query too long with order and limit alamy@ltutech.com
@ 2014-06-07 08:39 ` Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2014-06-07 08:39 UTC (permalink / raw)
  To: alamy@ltutech.com; +Cc: pgsql-bugs

On Fri, Jun 6, 2014 at 6:55 PM,  <alamy@ltutech.com> wrote:
> explain and query:
>
> http://paste.debian.net/103554/
The query and the output should be directly posted here. If in the
future a user looks at the archives for a problem similar to yours and
click on the link you are providing here, they may find nothing that
could help.

> Please let me know if you need more informations.
The query and the plan. The url you provided does not work.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2014-06-07 08:39 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06 09:55 BUG #10547: Query too long with order and limit alamy@ltutech.com
2014-06-07 08:39 ` Michael Paquier <michael.paquier@gmail.com>

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