Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAdPf-0005w7-VY for pgsql-performance@arkaria.postgresql.org; Fri, 03 Nov 2017 14:57:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eAdPf-0003Q9-61 for pgsql-performance@arkaria.postgresql.org; Fri, 03 Nov 2017 14:57:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eAdNu-00008l-PV for pgsql-performance@postgresql.org; Fri, 03 Nov 2017 14:55:50 +0000 Received: from n3.nabble.com ([162.255.23.22]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eAdNr-000056-1w for pgsql-performance@postgresql.org; Fri, 03 Nov 2017 14:55:50 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id DE7AF93CE6D2 for ; Fri, 3 Nov 2017 07:55:45 -0700 (MST) Date: Fri, 3 Nov 2017 07:55:45 -0700 (MST) From: legrand legrand To: pgsql-performance@postgresql.org Message-ID: <1509720945908-0.post@n3.nabble.com> In-Reply-To: <9a76f13e-cdb1-1d8d-2178-67e6dcf169bc@gusw.net> References: <1509611428.3268.5.camel@cybertec.at> <1509701327868-0.post@n3.nabble.com> <9a76f13e-cdb1-1d8d-2178-67e6dcf169bc@gusw.net> Subject: Re: OLAP/reporting queries fall into nested loops over seq scans or other horrible planner choices MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org To limit NL usage, wouldn't a modified set of Planner Cost Constants https://www.postgresql.org/docs/current/static/runtime-config-query.html seq_page_cost random_page_cost cpu_tuple_cost cpu_index_tuple_cost cpu_operator_cost be more hash join freindly (as Oracle' optimizer_index_cost_adj )? -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance