Re: Query times change by orders of magnitude as DB ages

From: Sergey Aleynikov <sergey(dot)aleynikov(at)gmail(dot)com>
To: Richard Neill <rn214(at)cam(dot)ac(dot)uk>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query times change by orders of magnitude as DB ages
Date: 2009-11-26 12:36:16
Message-ID: a233edb60911260436k653a29aex5cb353f2b6c6cf6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,

2009/11/25 Richard Neill <rn214(at)cam(dot)ac(dot)uk>:

Also, if you find odd statistics of freshly analyzed table - try
increasing statistics target, using
ALTER TABLE .. ALTER COLUMN .. SET STATISTICS ...

If you're using defaults - it's again low for large tables. Start with
200, for example.

Best regards,
Sergey Aleynikov

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Richard Neill 2009-11-26 16:04:32 Re: Query times change by orders of magnitude as DB ages
Previous Message Sergey Aleynikov 2009-11-26 12:11:54 Re: Query times change by orders of magnitude as DB ages