Re: Oddity with view - Mailing list pgsql-performance

From Tom Lane
Subject Re: Oddity with view
Date
Msg-id 11916.1226341898@sss.pgh.pa.us
Whole thread Raw
In response to Re: Oddity with view  (Jim 'Decibel!' Nasby <jnasby@cashnetusa.com>)
List pgsql-performance
"Jim 'Decibel!' Nasby" <jnasby@cashnetusa.com> writes:
> How on earth did the seqscan suddenly take 4x longer? And why is the
> subquery scan then doubling the amount of time again?

Maybe the disk access is less sequential because of the need to fetch
the other table too?

            regards, tom lane

pgsql-performance by date:

Previous
From: "Andrus"
Date:
Subject: Re: Simple indexed IN query takes 40 seconds
Next
From: Jim 'Decibel!' Nasby
Date:
Subject: Re: Oddity with view (now with test case)