Re: what do postgresql with view ? - Mailing list pgsql-hackers

From scott.marlowe
Subject Re: what do postgresql with view ?
Date
Msg-id Pine.LNX.4.33.0404061620090.5918-100000@css120.ihs.com
Whole thread Raw
In response to Re: what do postgresql with view ?  (elrik-de-melnibone@ifrance.com (elrik))
List pgsql-hackers
On 31 Mar 2004, elrik wrote:

> elrik-de-melnibone@ifrance.com (elrik) wrote in message news:<762279de.0403301005.502b3cd3@posting.google.com>...
> > In information i have:
> > 
> > 1. when creating view : PostgreSQL parse the query and stock the tree query.
> > 2. when using : PostgreSQL use this tree like a subselect.
> > 
> > my question : Do PostgreSQL makes an analyse of the resulted tree ?
> 
> 
> I can answer by myself : YES !
> 
> In fact the probleme is when i have more than 11 tables in the query...

Sounds like you might be wresting with the genetic query optimizer.  Try 
turning up the geqo theshold and see if things work better.



pgsql-hackers by date:

Previous
From: "Simon Riggs"
Date:
Subject: Re: Function to kill backend
Next
From: "Marc G. Fournier"
Date:
Subject: Re: Small suggestion on build script