Re: performance question

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: performance question
Дата
Msg-id Pine.LNX.4.30.0108281431320.699-100000@peter.localdomain
обсуждение исходный текст
Ответ на performance question  ("Reinoud van Leeuwen" <reinoud@xs4all.nl>)
Список pgsql-hackers
Reinoud van Leeuwen writes:

> > radius=# select count (radiuspk) from radius ;
> >  count
> >  --------
> >   398543
> >  (1 row)
>
> This query takes about 3 seconds. But the query plan *already* knows the
> number of rows ("rows=398543").

This is only an estimate which is only updated by VACUUM.  Presumably you
didn't add or remove any rows since your last VACUUM.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: "Reinoud van Leeuwen"
Дата:
Сообщение: performance question
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: performance question