Re: Slow query on a one-tuple table
Tom Lane <[email protected]> Thu, 19 Sep 2019 18:57:11 -0400
| Newsgroups | gmane.comp.db.postgresql.performance |
|---|---|
| Message-ID | <[email protected]> |
=?UTF-8?Q?Lu=c3=ads_Roberto_Weck?= <[email protected]> writes: > As fas as autovacuum options, this is what I'm using: > autovacuum_vacuum_scale_factor=0, Ugh ... maybe I'm misremembering, but I *think* that has the effect of disabling autovac completely. You don't want zero. Check in pg_stat_all_tables.last_autovacuum to see if anything is happening. If the dates seem reasonably current, then I'm wrong. regards, tom lane