Re: Berserk Autovacuum (let's save next Mandrill)
Darafei Komяpa Praliaskouski <me@komzpa.net>
From: Darafei "Komяpa" Praliaskouski <me@komzpa.net>
To: David Rowley <david.rowley@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-28T09:03:47Z
Lists: pgsql-hackers
On Thu, Mar 28, 2019 at 2:36 AM David Rowley <david.rowley@2ndquadrant.com> wrote: > On Thu, 28 Mar 2019 at 11:01, Alvaro Herrera <alvherre@2ndquadrant.com> > wrote: > > > > On 2019-Mar-28, Darafei "Komяpa" Praliaskouski wrote: > > > "Nearing wraparound" is too late already. In Amazon, reading table > from gp2 > > > after you exhausted your IOPS burst budget is like reading a floppy > drive, > > > you have to freeze a lot earlier than you hit several terabytes of > unfrozen > > > data, or you're dead like Mandrill's Search and Url tables from the > link I > > > shared. > > > > OK, then start freezing tuples in the cheap mode (skip index updates) > > earlier than that. I suppose a good question is when to start. > > I thought recently that it would be good to have some sort of > pro-active auto-vacuum mode that made use of idle workers. Problem with "idle" is that it never happens on system that are going to wraparound on their lifetime. This has to be a part of normal database functioning. Why not select a table that has inserts, updates and deletes for autovacuum just like we do for autoanalyze, not only deletes and updates like we do now? -- Darafei Praliaskouski Support me: http://patreon.com/komzpa
Commits
-
Further improve stability fix for partition_aggregate test.
- 18d85e9b8a2b 13.0 landed
-
Improve stability fix for partition_aggregate test.
- 7cb0a423f914 13.0 landed
-
Attempt to stabilize partitionwise_aggregate test
- cefb82d49e21 13.0 landed
-
Fix race condition in statext_store().
- fe3036527a1f 13.0 landed
- 6c426cd43790 12.3 landed
-
Attempt to fix unstable regression tests, take 2
- 24566b359d09 13.0 landed
-
Attempt to fix unstable regression tests
- 2dc16efedc76 13.0 landed
-
Trigger autovacuum based on number of INSERTs
- b07642dbcd8d 13.0 landed
-
Fix upper limit for vacuum_cleanup_index_scale_factor
- 4d54543efa5e 11.0 cited