From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | David Fetter <david(at)fetter(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Emanuel Calvo Franco <postgres(dot)arg(at)gmail(dot)com>, postgresql Forums <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: limit-offset different result sets with same query |
Date: | 2009-05-11 05:05:04 |
Message-ID: | dcc563d10905102205j25bcb7b1x82e7201ab1461989@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, May 10, 2009 at 2:03 AM, David Fetter <david(at)fetter(dot)org> wrote:
> On Sat, May 09, 2009 at 01:28:03PM -0400, Tom Lane wrote:
>> Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
>> > On Fri, May 8, 2009 at 5:40 PM, Alvaro Herrera
>> > <alvherre(at)commandprompt(dot)com> wrote:
>> >> Yeah, we went over this on the spanish list, turned out that I
>> >> couldn't remember about syncscan :-)
>>
>> > I like the new behavior. It really encourages proper use of order
>> > by, because the natural ordering results are effectively
>> > randomized. A class of subtle bugs has been made obvious. :)
>>
>> Not really, because the syncscan behavior only kicks in when your
>> table gets large ... you'll never see it during devel testing on toy
>> tables ...
>
> Good point. It's important not to test only on toy-sized tables for
> lots and lots of good reasons, scale-dependence of sync scans being a
> small one.
Last job I was at I was the lone pgsql guy who worked with three
Oracle DBAs, and quite a few of them were caught off guard by this
type of behaviour (it was with hash_agg and reporting queries with
group by).
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2009-05-11 05:42:15 | Re: FW: how many connections can i use???? |
Previous Message | Glyn Astill | 2009-05-10 21:17:25 | OLE DB |