Re: vacuum and autovacuum - is it good to configure the threshold at TABLE LEVEL?

From: rajan <vgmonnet(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: vacuum and autovacuum - is it good to configure the threshold at TABLE LEVEL?
Date: 2018-12-03 07:00:19
Message-ID: 1543820419618-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Amul,

I have a doubt. Please find below the details,

1. autovacuum_vacuum_threshold and autovacuum_analyse_threshold are set at
300
2. autovacuum_vacuum_scale_factor and autovacuum_analyse_scale_face are set
at 300
3. there is table which has only 6 records
4. and the number of updates happened in the table is 944
5. now when I fetch data from pg_stat_user_table, i find that only
last_autoanalyse column is updated with datetime and last_autovacuum column
is not having a value

does this mean only autoanalyse was executed for this table? But when I have
both vacuum_threshold and analyse_threshold set at 300, how can only analyse
run and vacuum does not?

This may be a stupid question. But any answer can help me understand.

-----
--
Thanks,
Rajan.
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-12-03 07:44:27 Re: doc - improve description of default privileges
Previous Message Michael Paquier 2018-12-03 06:43:58 Re: pgsql: Avoid duplicate XIDs at recovery when building initial snapshot