Subject: OOM Errors as a result of table inheritance and a bad plan(?)
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 9/28/2007 4:56:49 PM
Arctic Toucan <arctic_toucan@hotmail.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
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
|