AW: [HACKERS] Is stats update during COPY IN really a good idea?

2001-05-22 Thread Zeugswetter Andreas SB
We have a TODO item * Update reltuples in COPY I was just about to go do this when I realized that it may not be such a hot idea after all. Imho it is not a good idea at all. The statistics are a very sensitive area, that imho should only be calculated on request. I already don't

AW: AW: [HACKERS] Is stats update during COPY IN really a good idea?

2001-05-22 Thread Zeugswetter Andreas SB
However, just remember that pg_class already has a row count that we force in there by default. I was just suggesting we make that accurate if we can, even if we can make it accurate only 80% of the time. Once we INSERT, it isn't accurate anymore anyway. This is just an estimate, and in