Re: unused tuples constantly increasing

Поиск
Список
Период
Сортировка
От Chantal Ackermann
Тема Re: unused tuples constantly increasing
Дата
Msg-id 3E1EEB6F.9040204@biomax.de
обсуждение исходный текст
Ответ на Re: unused tuples constantly increasing  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Список pgsql-general
hello Shridhar, hello Tom,

long story short:

Neither adding ANALYZE nor reducing the rows from 2000 at one time to
500 changes anything: the UnUsed value keeps growing, as does the
overall amount of pages. The VACUUM ANALYZE takes the same time or even
more.

Following your advice, Tom, I increased the rows to 200,000. The update
now takes about 140 secs, the VACUUM ANALYZE more than 200 secs. The
amount of pages increases a lot, as does UnUsed. Moreover, the
transaction log files get recycled a lot - which did not happen with
2000 rows at one time. But nevertheless - with 200000 rows at one time
there are only few cycles untill all 2 million rows are updated, so in
the end this should be the faster way.

thank you for your help!

Chantal


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Stable function Repeatedly Called
Следующее
От: "scott.marlowe"
Дата:
Сообщение: persistant transactions