Re: VACCUM FULL ANALYZE PROBLEM - Mailing list pgsql-performance

From Iain
Subject Re: VACCUM FULL ANALYZE PROBLEM
Date
Msg-id 009201c51306$6e9ece80$7201a8c0@mst1x5r347kymb
Whole thread Raw
In response to Re: VACCUM FULL ANALYZE PROBLEM  ("Michael Ryan S. Puncia" <mpuncia@census.gov.ph>)
Responses Re: VACCUM FULL ANALYZE PROBLEM  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance

>> But I need to do full vacuum because I deleted some of the fields that are not use anymore and I also add another fields. Is there

>> another  way  to speed up full vacuum?

 

Hmmm... a full vacuum may help to re-organize the structure of modified tables, but whether this is significant or not is another matter. I don't know enough of the internals to comment on that maybe someone else who knows more can.

 

The obvious thing is the vacuum memory setting (in postgresql.conf). Presumably, you could set this quite high at least just for the duration of the vacuum anyway.

 

Would the total time be reduced by dropping the indexes, then vacuuming and rebuilding the indexes? I havn't tried anything like this so I can't say.

 

You should probably say what version of the db you are using and describe your system a little.

 

Regards

Iain

----- Original Message -----

Sent: Tuesday, February 15, 2005 11:10 AM
Subject: RE: [PERFORM] VACCUM FULL ANALYZE PROBLEM

 

But I need to do full vacuum because I deleted some of the fields that are not use anymore and I also add another fields. Is there

another  way  to speed up full vacuum?

 

 


From: Iain [mailto:iain@mst.co.jp]
Sent: Tuesday, February 15, 2005 9:52 AM
To: Michael Ryan S. Puncia; pgsql-performance@postgresql.org
Subject: Re: [PERFORM] VACCUM FULL ANALYZE PROBLEM

 

Hi,

 

just make sure that your freespace map is big enough and then do a vacuum analyse without the full option.

 

I can imagine that database performance might not be as good as it would be after a vacuum full, though I expect that it wouldn't make much difference.

 

regards

Iain

----- Original Message -----

Sent: Tuesday, February 15, 2005 10:34 AM

Subject: [PERFORM] VACCUM FULL ANALYZE PROBLEM

 

Hi,

 

I have 3 tables in the database with 80G of data, one of them is almost 40G and the remaining 2 tables has 20G each.

We use this database mainly for query and updating is done only quarterly and the database perform well. My problem

is after updating and then run VACCUM FULL ANALYZE  vacuuming the tables takes days to complete. I hope someone

can help me solve my problem.

 

Thanks

 

 



__________ NOD32 1.998 (20050212) Information __________

This message was checked by NOD32 Antivirus System.
http://www.nod32.com

pgsql-performance by date:

Previous
From: Rod Taylor
Date:
Subject: Re: VACCUM FULL ANALYZE PROBLEM
Next
From: "Iain"
Date:
Subject: Re: seq scan cache vs. index cache smackdown