Re: Interpreting EXPLAIN ANALYSE

From: "Henry C(dot)" <henka(at)cityweb(dot)co(dot)za>
To: tv(at)fuzzy(dot)cz
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Interpreting EXPLAIN ANALYSE
Date: 2011-06-03 14:20:52
Message-ID: ba8ad7e3735ed8d65df48adc46d354cc.squirrel@zenmail.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, June 3, 2011 13:57, tv(at)fuzzy(dot)cz wrote:
> See this http://explain.depesz.com/s/THh
>
>
> There's something very wrong with snames - the planner expects 22 rows but
> gets 164147851. Which probably causes a bad plan choice or something like that.
> Try to analyze the snames table (and maybe increase the statistics
> target on the columns).

Thanks - like you say, looks like the interesting bit is:

rows=22 --> rows=164147851 for table snames.

Nice online tool you have there my china!

Cheers
Henry

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michal Politowski 2011-06-03 14:28:25 Re: [GENERAL] Mixed up protocol packets in server response?
Previous Message Michal Politowski 2011-06-03 14:13:48 Re: Mixed up protocol packets in server response?