vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 ----- From: Michael Ryan S. Puncia To: pgsql-performance@postgresql.org 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 |
| |||
| On Tue, 2005-02-15 at 09:34 +0800, Michael Ryan S. Puncia wrote: > 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 I suspect the VACUUM FULL is the painful part. Try running CLUSTER on the table or changing a column type (in 8.0) instead. -- ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org |
| ||||
| 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 ----- From: Michael Ryan <mailto:mpuncia@census.gov.ph> S. Puncia To: pgsql-performance@postgresql.org 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 |