Re: Trying to figure out why these queries are so slow - Mailing list pgsql-general

From Thom Brown
Subject Re: Trying to figure out why these queries are so slow
Date
Msg-id AANLkTi=sUOMiOLg0VvLJyQgjUfgQn4riGRHhzFTdpyqH@mail.gmail.com
Whole thread Raw
In response to Re: Trying to figure out why these queries are so slow  (Tim Uckun <timuckun@gmail.com>)
Responses Re: Trying to figure out why these queries are so slow
List pgsql-general
On 5 October 2010 12:06, Tim Uckun <timuckun@gmail.com> wrote:
> On Tue, Oct 5, 2010 at 11:38 PM, Thom Brown <thom@linux.com> wrote:
>> On 5 October 2010 10:20, Tim Uckun <timuckun@gmail.com> wrote:
>>> The database machine is a linode host.
>>
>> Good choice ;)
>>
>> Obvious question, but I'll ask it: Have you run ANALYZE or VACUUM
>> ANALZYE on the database?  Also being able to see the query plan would
>> help.
>>
>
> I did run vacuum analzye on the table I created. The other table I
> presume is auto vacuumed since that is on.

I'd still recommend manually running ANALYZE on any involved tables,
just in case.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

pgsql-general by date:

Previous
From: Tim Uckun
Date:
Subject: Re: Trying to figure out why these queries are so slow
Next
From: Craig Ringer
Date:
Subject: Re: Is there a logical reason for 25P02?