Skip site navigation (1) Skip section navigation (2)

Re: Really dumb planner decision

From: Matthew Wakeling <matthew(at)flymine(dot)org>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Really dumb planner decision
Date: 2009-04-16 12:05:13
Message-ID: alpine.DEB.2.00.0904161259590.4053@aragorn.flymine.org (view raw or flat)
Thread:
Lists: pgsql-performance
On Thu, 16 Apr 2009, Robert Haas wrote:
> What happens if you change join_collapse_limit and from_collapse_limit
> to some huge number?
>
> http://www.postgresql.org/docs/current/static/runtime-config-query.html#GUC-FROM-COLLAPSE-LIMIT

That solves the problem. So, a view is treated as a subquery then?

Matthew

-- 
 Contrary to popular belief, Unix is user friendly. It just happens to be
 very selective about who its friends are.                 -- Kyle Hearn

In response to

Responses

pgsql-performance by date

Next:From: Merlin MoncureDate: 2009-04-16 12:06:13
Subject: Re: Shouldn't the planner have a higher cost for reverse index scans?
Previous:From: Robert HaasDate: 2009-04-16 11:42:30
Subject: Re: Really dumb planner decision

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group