Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group