Re: contrib/dbsize

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: contrib/dbsize
Дата
Msg-id 20050405170300.GA26329@winnie.fuhr.org
обсуждение исходный текст
Ответ на contrib/dbsize  (Joseph Shraibman <jks@selectacast.net>)
Ответы Re: contrib/dbsize
Список pgsql-general
On Tue, Apr 05, 2005 at 12:24:02PM -0400, Joseph Shraibman wrote:
>
> How come relation_size() doesn't work on an index?

Could you define "doesn't work"?  An example with the expected and
actual output might show what's happening.

I just ran some simple tests and relation_size() correctly showed
the on-disk size of the file that stores the index.  Are you expecting
something different?  Or have you found a case where relation_size()
returns the wrong value?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuum time degrading
Следующее
От: David Rysdam
Дата:
Сообщение: Re: Check for existence of index