Skip to main content

Questions tagged [autovacuum]

Questions regarding the postgres autovacuum daemon.

0 votes
1 answer
57 views

When the autovacuum daemon kicks off, how does it choose which tables to vacuum? My guess is it runs a query, perhaps like this one which appears to be used by Amazon RDS. I suspect that postgres ...
sevzas's user avatar
  • 375
4 votes
1 answer
317 views

We have a pretty big postgres 14 database with timescaledb installed. Recently we had some issues with MXID and XID wraparound so we started to monitor these as well as autovacuum. What we noticed is ...
zerz's user avatar
  • 41
1 vote
1 answer
265 views

Sqlite, contrary most SQL-compatible DB engine, is working directly on files instead over network sockets. It is also not very good in concurrency, beside that deletion operators are mostly advisory (...
peterh's user avatar
  • 2,137
0 votes
0 answers
18 views

I have a insert-only table event on PostgreSQL-12 where I am having a high volume of inserts per sec (~2000 per sec). I regularly faced an issue when anti-wraparound auto-vacuum was running on this ...
Yashodhan Agnihotri's user avatar
1 vote
1 answer
100 views

I have a few tables that ere 1 TB+. The columns last_autovacuum and last_autoanalyze in pg_stat_user_tables have NULLs for these tables. The n_dead_tup to n_live_tup ratio is 0.0001. A few questions, ...
Jayadevan's user avatar
  • 1,051
2 votes
2 answers
213 views

We have a large (5 TB) PostgreSQL 15 RDS that acts as a data warehouse, data comes in through regular pipelines and then ~20 users run analytic queries on it. Our infrastructure people have access to ...
raphael's user avatar
  • 615
2 votes
2 answers
574 views

Recently a vacuum process triggered by auto vacuum daemon(PostgreSQL13) on one of our table took long 1.5hr to complete. During this period there was high WAL rate up to 7MB/sec and high Disk I/O. ...
goodfella's user avatar
  • 700
0 votes
1 answer
70 views

I am working with a PostgreSQL 12 database and currently investigating a table (table_name in schema schema_name) that has accumulated a significant number of dead tuples. To address this, I am ...
Boon's user avatar
  • 136
0 votes
1 answer
609 views

I would like to raise a question regarding the optimal practices for managing transaction age (XID) in a PostgreSQL database. I am currently using the method of performing VACUUM FULL operations on ...
Patryk's user avatar
  • 1
0 votes
1 answer
98 views

I have a PostgreSQL installation deployed in Kubernetes (with the CloudNative operator) and allocated a 25GB volume for it. My architecture involves several microservices interacting with various ...
Tertium's user avatar
  • 141
-1 votes
2 answers
47 views

In my app for Postgresql I have a table and my app inserts rows to that table. It could be 2-3 rows, also it could be 100-200k rows. How to do that auto vacuum runs for that table as soon as possible? ...
sluge's user avatar
  • 101
0 votes
2 answers
426 views

I'm running a data warehouse on an AWS RDS PostgreSQL instance. Most of the heavy lifting is done during the night-batch, and very often we use a TRUNCATE-rebuild strategy, also for large tables (100M ...
Bart Jonk's user avatar
  • 369
0 votes
1 answer
245 views

We have a database that is now on v15 PostgreSQL, but was recently migrated from v11, and before that v9. I believe that many of the settings for our database were preserved from prior versions and ...
Brian D's user avatar
  • 111
4 votes
1 answer
3k views

I've deleted ~65 million rows from a PostgreSQL table with ~75 million rows. As soon as the deletion query completed, the CPU plummeted to 100% for about five minutes. The table from which rows were ...
Alechko's user avatar
  • 229
0 votes
2 answers
71 views

We backed up, deleted and restored several databases. Surprisingly, the databases occupy 20% less storage space afterwards. Have we lost data or what could have happened here? Autovacuum runs ...
Titus's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
7