Re: Greenplum patch for estimated rowcounts being wrong.

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Greenplum patch for estimated rowcounts being wrong.
Дата
Msg-id 937d27e10904150206s155fd6a8l180179b70e45fa9e@mail.gmail.com
обсуждение исходный текст
Ответ на Greenplum patch for estimated rowcounts being wrong.  (Chuck McDevitt <cmcdevitt@greenplum.com>)
Список pgadmin-hackers
Thanks, applied.

On Wed, Apr 15, 2009 at 3:24 AM, Chuck McDevitt <cmcdevitt@greenplum.com> wrote:
> Greenplum stores the number of rows per segmentDatabase (actually the max of any of the segDBs) in
pg_class.reltuples,not the total number of tuples. 
>
> This causes the stats to display wrong values, and causes pgAdmin to warn that Analyze is needed when it is not.
>
> This simple patch multiplies the reltuples x gp_segments, so that we get a better value.
>
> Of course, it only does this for Greenplum connections.
>
>
>



--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7810 - trunk/pgadmin3/pgadmin/schema
Следующее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7811 - trunk/pgadmin3/pgadmin/frm