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

From: "Kevin Grittner" <kgrittn(at)mail(dot)com>
To: "Henry Drexler" <alonup8tb(at)gmail(dot)com>,"pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: query performance, though it was timestamps,maybe just table size?
Date: 2012-11-30 18:23:47
Message-ID: 20121130182347.69290@gmx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message hartrc 2012-11-30 18:28:45 pg_basebackup questions
Previous Message Ivan Marchesini 2012-11-30 16:30:44 Re: difference in query performance due to the inclusion of a polygon geometry field