Re: Calculation of Database Size in postgres

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Calculation of Database Size in postgres
Дата
Msg-id 1518603681.2402.0.camel@cybertec.at
обсуждение исходный текст
Ответ на Calculation of Database Size in postgres  (pavan95 <pavan.postgresdba@gmail.com>)
Ответы Re: Calculation of Database Size in postgres  (pavan95 <pavan.postgresdba@gmail.com>)
Список pgsql-admin
pavan95 wrote:
> In postgres for knowing the size of a database we generally use the system
> administration function "pg_database_size('database_name')".
> 
> I am curious to know how does this calculate internally from the pages(free
> pages/fragmented pages/full pages) stored in the disk?

It just adds up the sizes of the files that make up the database.

Yours,
Laurenz Albe


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

Предыдущее
От: pavan95
Дата:
Сообщение: Calculation of Database Size in postgres
Следующее
От: pavan95
Дата:
Сообщение: Re: Calculation of Database Size in postgres