Questions tagged [vacuum]
VACUUM is a PostgreSQL command for cleaning up dead rows from the database.
13
questions
1
vote
1
answer
551
views
Do AWS replicas of Postgres RDS instances require Vacuum and Analyze independently of their primary?
Assuming that I am not using logical replication...
I'm not clear on how the low level replication interacts with other low level operations like vacuum and analyze.
I'm not clear on whether replicas ...
0
votes
1
answer
871
views
Running VACUUM on all tables matching a certain condition
I have are large-ish database which consists of 100+ tables. A few of these tables are so big that running VACUUM on them takes a couple of hours, so I don't want to run it on these tables. Is there ...
1
vote
1
answer
2k
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
1
answer
2k
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 ...
5
votes
3
answers
2k
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 ...
2
votes
1
answer
3k
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
1
answer
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
1
answer
137
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 ...
3
votes
1
answer
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
2
answers
816
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 ...
14
votes
1
answer
19k
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 ...
6
votes
1
answer
2k
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
3
answers
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,...