Re: [HACKERS] what do postgresql with view ?
[EMAIL PROTECTED] (elrik) wrote in message news:[EMAIL PROTECTED]... 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... ---(end of broadcast)--- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
Re: [HACKERS] what do postgresql with view ?
In fact the probleme is when i have more than 11 tables in the query... Please post the EXPLAIN ANALYZE results of the problematic query, as well as the definition of any views it uses. Also, SHOW from_collapse_limit; ---(end of broadcast)--- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html
Re: [HACKERS] what do postgresql with view ?
On 31 Mar 2004, elrik wrote: [EMAIL PROTECTED] (elrik) wrote in message news:[EMAIL PROTECTED]... 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. ---(end of broadcast)--- TIP 7: don't forget to increase your free space map settings