Re: Slow cursor - Mailing list pgsql-performance

From Andres Freund
Subject Re: Slow cursor
Date
Msg-id 201110261510.46828.andres@anarazel.de
Whole thread Raw
In response to Slow cursor  ("Cezariusz Marek" <cezariusz.marek@comarch.pl>)
List pgsql-performance
Hi,

On Wednesday 26 Oct 2011 14:43:08 Cezariusz Marek wrote:
> Is there any known problem with slow cursors in PostgreSQL 8.4.5?
>
> I have a following query, which is slow (on my database it takes 11 seconds
> to execute), probably should be rewritten, but it doesn't matter here. The
> problem is, that in cursor, each fetch takes much longer (even few
> minutes!), while only the first one should be slow. Am I doing something
> wrong?
Does the problem persist if you play around with cursor_tuple_fraction?

Andres

pgsql-performance by date:

Previous
From: "Cezariusz Marek"
Date:
Subject: Re: Slow cursor
Next
From: Tom Lane
Date:
Subject: Re: Anti join miscalculates row number?