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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Possible planner bug/regression introduced in 8.2.5



Jakub Ouhrabka <kuba(at)comgate(dot)cz> writes:
> I've also tried your last patch but still for some queries there is long 
> planning time, e.g. more than 30s on a fast machine for query with 14 
> regularly JOINed tables plus 8 tables are LEFT OUTER JOINed (all normal 
> joins are followed by all outer joins). All joins are constrained on 
> pk/fk. Should this case run faster or is it simply too much for 
> geqo=off? Shall I prepare a test case?

By "last patch" you mean
http://archives.postgresql.org/pgsql-committers/2007-10/msg00409.php
?  If so that's about as fast as it's likely to get.  22 tables is well
beyond what I'd consider reasonable to run through the exhaustive
planner.  You should try geqo again.

			regards, tom lane



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group