Re: Live records and number of records are differents...

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: Live records and number of records are differents...
Дата
Msg-id BANLkTikYKg574CkwZHDKCXwi0S5n4A3EvA@mail.gmail.com
обсуждение исходный текст
Ответ на Live records and number of records are differents...  (F T <oukile@gmail.com>)
Список pgsql-general
On Mon, Jun 27, 2011 at 4:12 PM, F T <oukile@gmail.com> wrote:
> Hello list,
>
> I use PostgreSQL 8.4 and Postgis 1.4.
>
> I use FME to insert 772185 records in a table (multipolygons that represent
> parcels).
>
> Everything seems fine but...
> If I type select count(*), I get the right number of records : 772185
> records.
>
> But If I use pgAdmin and have a look in the stats :
> - row inserted = 772185 OK fine,
> - but the number of live rows is 772308...
>
> I don't understand why the number of live rows and the number of rows is
> différent...
> Any explaination would be very appreciated !
> Thanks you
>

PgAdmin uses the statistical information , that's updated by
(auto)vacuum and not running the actual select count(*) I believe.

--
GJ

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

Предыдущее
От: F T
Дата:
Сообщение: Live records and number of records are differents...
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Custom types as parameter in stored function