Re: Almost infinite query -> Different Query Plan when changing where clause value

From: lionel duboeuf <lionel(dot)duboeuf(at)boozter(dot)com>
To:
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Almost infinite query -> Different Query Plan when changing where clause value
Date: 2010-02-12 20:32:30
Message-ID: 4B75BADE.9030906@boozter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Thanks kevin for your answer. Here is some additionnal informations
attached as files.

regards.
Lionel

Kevin Grittner a écrit :
> lionel duboeuf <lionel(dot)duboeuf(at)boozter(dot)com> wrote:
>
>
>> Some informations:
>> The following problem has been detected on
>> Postgresql 8.3 and 8.4. on System linux or windows
>> Default AutoVacuum daemon working
>> One pg_dump every day
>> This happens sometimes and i don't see what can be the cause.
>> A manual Vacuum Analyse repair that problem.
>>
>
> It's good to know that the issue has been observed in more than one
> release or on more than one platform, but it's also useful to get a
> bit more information about one particular occurrence. Please read
> this:
>
> http://wiki.postgresql.org/wiki/SlowQueryQuestions
>
> In particular, knowing such things as your postgresql.conf settings,
> the disk configuration, how much RAM the machine has, etc. can allow
> us to provide more useful advice.
>
> Please run these as EXPLAIN ANALYZE (or at least whatever you can
> get to finish that way) instead of just EXPLAIN. If you can let the
> slow one run through EXPLAIN ANALYZE overnight or on a test machine
> so that it can complete, it will give us a lot more with which to
> work. Please attach wide output (like that from EXPLAIN) as a text
> attachment, to prevent wrapping which makes it hard to read.
>
> -Kevin
>

Attachment Content-Type Size
cpuinfo text/plain 1.4 KB
explain_analyse.txt text/plain 5.1 KB
meminfo text/plain 1.1 KB
postgresql.conf text/plain 16.3 KB

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2010-02-12 20:59:49 Re: Almost infinite query -> Different Query Plan when changing where clause value
Previous Message Alvaro Herrera 2010-02-12 20:11:06 Re: moving pg_xlog -- yeah, it's worth it!