Re: Maintenance question / DB size anomaly...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Maintenance question / DB size anomaly...
Дата
Msg-id 27182.1182262325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Maintenance question / DB size anomaly...  (Kurt Overberg <kurt@hotdogrecords.com>)
Список pgsql-performance
Kurt Overberg <kurt@hotdogrecords.com> writes:
> In my investigation of this anomaly, I noticed that the data/ dir on
> db1 (the master) is around 60 Gigs.  The data directory on the slaves
> is around 25Gb.  After about 3 months of head scratching, someone on
> the irc channel suggested that it may be due to index bloat.

This is not something you need to guess about.  Compare the table and
index sizes, one by one, between the master and slaves.  Do a VACUUM
VERBOSE on the one(s) that are radically bigger on the master, and look
at what it has to say.

            regards, tom lane

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

Предыдущее
От: Karl Wright
Дата:
Сообщение: Re: Performance query about large tables, lots of concurrent access
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Maintenance question / DB size anomaly...