Re: Table space grow big - PostgreSQL

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Table space grow big - PostgreSQL
Дата
Msg-id 4BE1140602000025000312C9@gw.wicourts.gov
обсуждение исходный текст
Ответ на Table space grow big - PostgreSQL  (Khangelani Gama <Khangelani.Gama@ucs-software.co.za>)
Ответы Re: Table space grow big - PostgreSQL  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-admin
Khangelani Gama  wrote:

> /usr/local/pgsql/data/base directory shows the following where
> 95186722/ takes a lot of space :

> 51G ./95186722

> Now the dump file of the very same database created by using
> command : pg_dump -U user -O dbname > /tmp/filename is 2.8G big.

> The main question I have is: What makes the
> /usr/local/pgsql/data/base/95186722/ grow so big while the actual
> data with its schema is only 2.8G and that is there a way to reduce
> the table space sizes or anything related to that?

The size of a dump is often somewhat smaller than the raw data, but
this extreme difference suggests that your tables are bloated due to
inadequate routine maintenance.  What version of PostgreSQL is this?
What is your vacuum policy?  Please show the contents of your
postgresql.conf file with all comments stripped.

-Kevin


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

Предыдущее
От: Khangelani Gama
Дата:
Сообщение: Table space grow big - PostgreSQL
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: Table space grow big - PostgreSQL