public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bill Martin <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Planner selects different execution plans depending on limit
Date: Thu, 13 Sep 2012 14:42:07 +0000
Message-ID: <D48BF41C96B16442B542F5E25C259047011E80F02A@COM211.communardo.local> (raw)

> Tom Lane <[email protected]> writes:
>> Bill Martin <[email protected]> writes:
>> I've tried different values for the statistics but it is all the same (the planner decide to switch to a seqscan if the limit is 10).

>> ALTER TABLE core_content ALTER column content SET STATISTICS 1000;

> Um, did you actually do an ANALYZE after changing that?
> 
> 			regards, tom lane

Yes, I've run the ANALYZE command.

Regards,
Bill Martin


view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Planner selects different execution plans depending on limit
  In-Reply-To: <D48BF41C96B16442B542F5E25C259047011E80F02A@COM211.communardo.local>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox