Re: db size

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: db size
Дата
Msg-id 48070708.4060605@archonet.com
обсуждение исходный текст
Ответ на Re: db size  (Adrian Moisey <adrian@careerjunction.co.za>)
Ответы Re: db size
Re: db size
Список pgsql-performance
Adrian Moisey wrote:
> Hi
>
>> Running VACUUM VERBOSE will give you a detailed view of space usage of
>> each individual table.
>
> I did that.
>
> Not too sure what I'm looking for, can someone tell me what this means:
>
> INFO:  "blahxxx": scanned 27 of 27 pages, containing 1272 live rows and
> 0 dead rows; 1272 rows in sample, 1272 estimated total rows

This is a small table that takes up 27 pages and it scanned all of them.
You have 1272 rows in it and none of them are dead (i.e. deleted/updated
but still taking up space).

> INFO:  free space map contains 4667977 pages in 1199 relations
> DETAIL:  A total of 4505344 page slots are in use (including overhead).
> 4505344 page slots are required to track all free space.
> Current limits are:  15537488 page slots, 1200 relations, using 91172 kB.

You are tracking ~ 4.6 million pages and have space to track ~ 15.5
million, so that's fine. You are right up against your limit of
relations (tables, indexes etc) being tracked though - 1200. You'll
probably want to increase max_fsm_relations - see manual for details
(server configuration / free space map).

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Strange behavior: pgbench and new Linux kernels
Следующее
От: Adrian Moisey
Дата:
Сообщение: Re: db size