Re: Really really slow select count(*)

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Greg Smith" <greg(at)2ndquadrant(dot)com>, "Marti Raudsepp" <marti(at)juffo(dot)org>
Cc: "felix" <crucialfelix(at)gmail(dot)com>,<sthomas(at)peak6(dot)com>, "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>, "Maciek Sakrejda" <msakrejda(at)truviso(dot)com>
Subject: Re: Really really slow select count(*)
Date: 2011-02-08 21:20:23
Message-ID: 4D515F37020000250003A65D@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Marti Raudsepp <marti(at)juffo(dot)org> wrote:
> Greg Smith <greg(at)2ndquadrant(dot)com> wrote:
>> Kevin and I both suggested a "fast plus timeout then immediate"
>> behavior is what many users seem to want.

> Seems that a better solution would be implementing a new -m option
> that does this transparently?

Maybe. Another option might be to use -t or some new switch (or -t
in combination with some new switch) as a time limit before
escalating to the next shutdown mode.

-Kevin

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2011-02-08 21:41:00 Re: Really really slow select count(*)
Previous Message Marti Raudsepp 2011-02-08 21:09:46 Re: Really really slow select count(*)