Re: seqscan for 100 out of 3M rows, index present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 26, 2013 at 10:31 PM, Jeff Janes <jeff.janes@xxxxxxxxx> wrote:

Why is it retrieving 3.1 million, when it only needs 17?
 

that's because of the sequential scan, it reads all the data.

cheers,

willy-bas
--
"Quality comes from focus and clarity of purpose" -- Mark Shuttleworth

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux