Questions tagged [vacuum]

VACUUM is a PostgreSQL command for cleaning up dead rows from the database.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

Vacuum Full can not delete files because disk full having 5g free

I lately ran out of disk space. I deleted some old data-rows from the CMS database. I have noticed that the free disk space did not grow as expected. I searched in serverfault and found that VACUUM ...
1
vote
1answer
691 views

pgagent job for routine vacuum with bash script

I was expected to create routine vacuuming to be able to schedule the vacuum at less busy hours. I have been searching for a means to routinely vacuum the tables that have not been vacuumed for x ...
4
votes
3answers
817 views

postgresql track counts and autovacuum is not working

In the startup log entries indicate the autovacuum not working. I query the pg_stat_user_tables table and the last_vacuum and last_autovacuum columns are empty in spite of the vacuum query I ran just ...
1
vote
1answer
697 views

journalctl vacuum not working

I recently started using Fedora 25 and I'm trying to clear the journal logs manually but it's not working. For example: $ journalctl --disk-usage Archived and active journals take up 24.0M on disk. ...
0
votes
1answer
1k views

Why is autovacuum using so much IO when running on a partition's master table after upgrading PosgreSQL from 8.4 to 9.1?

We have an application where we are collecting timestamp-based data. Since a month of data goes over 30M rows (and growing each month), we decided to partition the data on an year-and-month basis. We ...
2
votes
1answer
119 views

Any particular vacuum policy to increase performance using Drupal with PostgreSQL?

I'm running Drupal 7 with PostgreSQL as a Q&A (with a lot of nodes inserts/updates and several contrib modules). Do you, dba admins, recommand any particular pgsql vacuum policy on particular ...
2
votes
1answer
5k views

postgres vacuum

Ok guys, I've moved to a new company and I see they have a single PostgreSQL database here to run OpenNMS. I'm a MySQL person, not familiar at all with PostgreSQL, but I've at least learned how to ...
0
votes
2answers
730 views

Postgresql-8.4 auto vacuum is enabled to get the best performance

I want know which one is good to follow whether auto vacuum or vacuum manually. Right now we are following manually in cron jobs, but sometimes it gets struck to vaccum on particular tables. so we are ...
10
votes
1answer
13k views

Do I need to REINDEX and VACUUM a table after deleting lots of rows?

I am running a PostgreSQL database that has several tables which store logging information. This information is for reporting purposes only and gets dumped to a file and deleted from the database if ...
4
votes
1answer
1k views

DB Full Vacuum, Cluster, Analyze - in which order?

I have a huge (~150 GBytes) postgresql database whose performance has dropped during the last weeks. In order to improve performance, I intend to perform FULL VACUUM, CLUSTER and ANALYZE. In which ...
5
votes
3answers
5k views

How do I know if the autovacuumer in postgres 8.3 is actually working?

I have a couple of postgres 8.3 databases, and they are showing symptoms of lack of vacuuming. I've checked the config, and they are in the default state of having the autovacummer turned on. Also,...