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: OOM Errors as a result of table inheritance and a bad plan(?)



Arctic Toucan <arctic_toucan(at)hotmail(dot)com> writes:
> -- Is there something magical about the hash aggregate estimate of 200 rows?

Yeah, it's the default :-(

> Is this a bug, or some subtlety of the Postgres query planner?

It's an, um, known deficiency --- the planner hasn't got any idea how to
construct aggregated statistics for an inheritance tree.

			regards, tom lane



Home | Main Index | Thread Index

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