Re: OOM Errors as a result of table inheritance and a bad plan(?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arctic Toucan <arctic_toucan@xxxxxxxxxxx> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux