Re: unused tuples constantly increasing - Mailing list pgsql-general

From Chantal Ackermann
Subject Re: unused tuples constantly increasing
Date
Msg-id 3E1EEB6F.9040204@biomax.de
Whole thread Raw
In response to Re: unused tuples constantly increasing  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List 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 by date:

Previous
From: Robert Treat
Date:
Subject: Re: Stable function Repeatedly Called
Next
From: "scott.marlowe"
Date:
Subject: persistant transactions