re: partition wise aggregate wrong rows cost - Mailing list pgsql-hackers

From bucoo
Subject re: partition wise aggregate wrong rows cost
Date
Msg-id 000c01d86f34$6926c280$3b744780$@sohu.com
Whole thread Raw
In response to partition wise aggregate wrong rows cost  ("bucoo" <bucoo@sohu.com>)
List pgsql-hackers
> We try fairly hard to ensure that the row count estimate for a given relation
> does not vary across paths, so I concur with the OP that this is a bug.  Having
> said that, I'm not sure that the consequences are significant.  As you say, the
> estimates seem to get a lot closer as soon as the table has some statistics.
> (But nonetheless, they are not identical, so it's still a bug.)

Yes, the estimates seem to get a lot closer as soon as the table has some statistics.

> I'm not sure that the consequences are significant.
At least it doesn't make any difference to me for now.
I noticed this problem while testing aggregation.
It looks a little weird, so I emailed.

Thanks every one.




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Improve TAP tests of pg_upgrade for cross-version tests
Next
From: Amit Langote
Date:
Subject: enable/disable broken for statement triggers on partitioned tables