Re: query performance, though it was timestamps,maybe just table size?

From: Henry Drexler <alonup8tb(at)gmail(dot)com>
To: Kevin Grittner <kgrittn(at)mail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: query performance, though it was timestamps,maybe just table size?
Date: 2012-11-30 20:24:03
Message-ID: CAAtgU9S0h2LKk=+cs_+hv2GjqBDTfKyj5QOcTwE2c3kAG=1QWw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Nov 30, 2012 at 1:23 PM, Kevin Grittner <kgrittn(at)mail(dot)com> wrote:

> Henry Drexler wrote:
>
> > why would the query time go from 4 minutes to over 50, for an
> > increase in table rows from 30 million to 65 million?
>
> Did the active (frequently referenced) portion of the database go
> from something which fit in cache to something which didn't? Did
> any hash table or sort nodes in plans go from fitting in work_mem
> to spilling to disk? Did any indexes need an extra level in the
> tree? Did any plans change based on size to something which is less
> than optimal, suggesting a need to tune the cost factors?
>
> -Kevin
>

Thank you for the list - I will research those in the manual.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-11-30 21:46:50 Re: difference in query performance due to the inclusion of a polygon geometry field
Previous Message Henry Drexler 2012-11-30 20:22:45 Re: query performance, though it was timestamps,maybe just table size?