X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D7098329F64 for ; Mon, 27 Sep 2004 19:15:45 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82087-01 for ; Mon, 27 Sep 2004 18:15:40 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 098D0329CFB for ; Mon, 27 Sep 2004 19:15:40 +0100 (BST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i8RIFbfg083001 for ; Mon, 27 Sep 2004 18:15:37 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i8RI9wDs080947 for pgsql-performance@postgresql.org; Mon, 27 Sep 2004 18:09:58 GMT From: Gaetano Mendola X-Newsgroups: comp.databases.postgresql.performance Subject: best statistic target for boolean columns Date: Mon, 27 Sep 2004 20:09:46 +0200 Organization: PYRENET Midi-pyrenees Provider Lines: 9 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@pyrenet.fr User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime To: pgsql-performance@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/287 X-Sequence-Number: 8415 Hi all, don't you think the best statistic target for a boolean column is something like 2? Or in general the is useless have a statistics target > data type cardinality ? Regards Gaetano Mendola