Re: Trying to figure out why these queries are so slow

From: Thom Brown <thom(at)linux(dot)com>
To: Tim Uckun <timuckun(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Trying to figure out why these queries are so slow
Date: 2010-10-05 11:09:01
Message-ID: AANLkTi=sUOMiOLg0VvLJyQgjUfgQn4riGRHhzFTdpyqH@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 5 October 2010 12:06, Tim Uckun <timuckun(at)gmail(dot)com> wrote:
> On Tue, Oct 5, 2010 at 11:38 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>> On 5 October 2010 10:20, Tim Uckun <timuckun(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-10-05 11:13:32 Re: Is there a logical reason for 25P02?
Previous Message Tim Uckun 2010-10-05 11:06:06 Re: Trying to figure out why these queries are so slow