Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vpzzO-002WFT-0E for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 02:30:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vpzyL-001qKs-3D for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 02:28:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vpzyL-001qKi-1V for pgsql-general@lists.postgresql.org; Wed, 11 Feb 2026 02:28:58 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vpzyJ-000000003am-1c3v for pgsql-general@lists.postgresql.org; Wed, 11 Feb 2026 02:28:57 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-b87677a8abeso948160566b.1 for ; Tue, 10 Feb 2026 18:28:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770776933; cv=none; d=google.com; s=arc-20240605; b=BiHsNTgjRwdkqlvZIH3FqzE/m8mDQ82M1YexkraOYjxpppta+dhmKKR2NNWQCWj8Av jtWxIpp0KyPAl6TlmG5B0dQnkA/zvO+QtC5WXacZq4oSnTi0JLBG/QlHZJ1frk4Wf7II iq+KMQ40jPAQJN26Nwh8uBEOWoRNWaDRxycWA2bU4ZK/pInVf4V+gyCcU6f6S8GmBlcB se1YIvjcfhJMjLS9sEz5G+I2ebow/lO+7f3CJiVRhDY3noGDraIKMUdmH0BgJcfQSSzS lBCRsmuZH6NTiv/sjcuQRIb9ZxOkr2N8yL96Y8iSFpxFA94Oay2OiZzjrFzLXeNxff97 6nUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Tckm678xNYLZ75+Jhna77TB90YUqO3Aug7IN8oC/oDw=; fh=JVqOflqgGvOczmHqZY3QyEWPTDi7mjb1P7Q68F+Tamg=; b=fvb5k0jqsfj7i31gq73KsFPDY5alJrug45u69eyMIrd9bIWsSTF/5B4+ELTbmpSDH5 ajeutqOUbs8hAkzSB2Ex11D1uRykKmq/g5ieCCiAWYFUF44RCCyTGlKVYbG7YY5fyU46 0Ej5SsAZt3UXlIobASlfYkIlkuWCpE0phpsolTyH0b+O49Srtu4No10u/+YJxbeTgab9 Vj6BfEnqOvUysxWwfPvHa0aXR7SHqTr0GJmPd3z+Qc7N8blaAaNxFwDTIJitN0wDY5RU 6In0+VeBLezJpVeVKL6QloNYF1SiOShiYx2sDUYsWWByGekUp5drB62Ybw8902a82f02 8FPQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770776933; x=1771381733; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Tckm678xNYLZ75+Jhna77TB90YUqO3Aug7IN8oC/oDw=; b=RGVq48EcNZCt5KJAuysJLU50sK56Covg3JAadGuvkc7VIs/nSsoLyDo1Qrtj6VDcP5 SlqnLuQHSn+9x73rBAwT1Ak5Cz3NHV5hBt351SIzjgbp3OqpAttqGtokFKr7RWvw5RQo jqiZjuA9EimPYM2VxlRkDmuvZ1dfkkefs5YLclD5JfkMV4EDFuJh6wnS8cPopGuf0Qnv 7SQxZWqqmfLuzE4HZz/YXqNm1e1VnjZntZYsagJgk/sOFiANWm9XhaNHZeXmyJzWGNtp 2Vm3N/ATm3JHZOhS1RUgzRXSqbM/a4MO+9ejWQDNc6MkzFQlkxBQzfWquqfejMI/D5f2 4FUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770776933; x=1771381733; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Tckm678xNYLZ75+Jhna77TB90YUqO3Aug7IN8oC/oDw=; b=CDffcPqARBubGcb9VwaNlJ7uIkH6w57mATbvnIgptIN94mkwImTW2FSofMfaSQB28e bg79N53rYyuxAfwxcyyQ9pPJUzpycZ6YDIZfc9msfRq9pJ+d8h+ZwizCz9eha1V+7oeE KrQ8L7GBRPyDVvD00gKoo3u4blF0SjbGqPM1eC6xZH6sJrITQ7z43X9ZTmm/0xGNhp4I FUD04gRlYgvm5GEw56jgbz0kvbHdBh0+V0z7ekvgVcK0ARvyoJobsOKT1CHohcO1n+Hz guswEEnRsXiguEAypfXELjgfFPvnJ1YCYJZ4Ku5be2+iDchbuKdRJf54AokIV9QEh+Ea D2Jg== X-Gm-Message-State: AOJu0YzmYMlZ1sH8P92TblI0XTLBF+44xqTsN9Ow49DLcdOBv5Bwqull 5M342yhu1y2KQvxYss/F5XLaO86xwQ9rsIUpZIdpppX0ugc1xiuHvja2U1UeiFp9ia92eqqZuEJ WseUNIdbaKp0pVOpGW+oomgo9z7cBX7ip/g== X-Gm-Gg: AZuq6aJFroLr0wWEndpllr53FyjLkgeIWmfijcJn0oVY0nVSG3JF1DiZMbAR6MqCsaC E/un27j/6j6TF+CLXnYTXZaWjCcvcSCUj6f1dCK+ktH8UP3zJp9QzdCsOPpXfgwY1JYLrhYsWMi SGOgcTG5IA+P1oDG7AnngrtooL/lxx92xz7Me0RDT6Plkpc/iTnfQFEL5LcToae6Y0dELEulidW AG/OP1QMR+3BjT+8+fz1DcFtXTqhDl6qa5OKFYGxQUqxfup+L5BqbbxeOQ3kDN28nj8BqFUQDGB qtnB8gGnrQ2uZZJLkdGAT2asjIfRNdumhyzlP90= X-Received: by 2002:a17:907:97cd:b0:b88:464f:3db8 with SMTP id a640c23a62f3a-b8f6f18c4f7mr30307266b.49.1770776932575; Tue, 10 Feb 2026 18:28:52 -0800 (PST) MIME-Version: 1.0 References: <8039d3e65e099b6046a48209fd1c194b1493fd8d.camel@cybertec.at> In-Reply-To: <8039d3e65e099b6046a48209fd1c194b1493fd8d.camel@cybertec.at> From: Durgamahesh Manne Date: Wed, 11 Feb 2026 07:58:41 +0530 X-Gm-Features: AZwV_QhfkSnR9T7etmnscn-JnOYWGV87_sGPlOZRMQsr_sa5SslxYoUetUP-HOk Message-ID: Subject: Re: Fillfactor effectiveness on existing table To: Laurenz Albe Cc: pgsql-general Content-Type: multipart/alternative; boundary="0000000000000aee75064a83221a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000000aee75064a83221a Content-Type: text/plain; charset="UTF-8" On Wed, 11 Feb, 2026, 00:01 Laurenz Albe, wrote: > On Tue, 2026-02-10 at 21:25 +0530, Durgamahesh Manne wrote: > > I added fillfactor with less than 100 to existing table then ran vacuum > full to take effect > > > > How to ensure the applied fillfactor is working successfully > > > > A ratio of hot updates in catalog table should higher than value of > n_dead_tup or n_tup_upd? Or what ? > > Run > > SELECT n_tup_upd, n_tup_hot_upd > FROM pg_stat_all_tables > WHERE relname = 'your table'; > > Then wait for an hour and run the query again. > > See how much "n_tup_upd" and "n_tup_hot_upd" increased in that hour. > If the increase is about the same for both, almost all of your UPDATEs > are HOT. > > Yours, > Laurenz Albe > Hi @Laurenz Albe offer=> SELECT relname AS table_name, n_tup_upd AS updates, n_tup_hot_upd AS hot_updates FROM pg_stat_all_tables WHERE relname = 'market'; table_name | updates | hot_updates market | 5997455764 | 3752865557 Regards Durga Mahesh > --0000000000000aee75064a83221a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Wed, 11 Feb, 2026, 00:01 Laur= enz Albe, <laurenz.albe@cybe= rtec.at> wrote:
On Tue, 2026= -02-10 at 21:25 +0530, Durgamahesh Manne wrote:
> I added fillfactor with less than 100 to existing table then ran vacuu= m full to take effect=C2=A0
>
> How to ensure the applied fillfactor is working successfully=C2=A0
>
> A ratio of hot updates in catalog table should higher than value of n_= dead_tup or n_tup_upd? Or what ?

Run

=C2=A0 SELECT n_tup_upd, n_tup_hot_upd
=C2=A0 FROM pg_stat_all_tables
=C2=A0 WHERE relname =3D 'your table';

Then wait for an hour and run the query again.

See how much "n_tup_upd" and "n_tup_hot_upd" increased = in that hour.
If the increase is about the same for both, almost all of your UPDATEs
are HOT.

Yours,
Laurenz Albe

Hi=C2=A0
offer=3D> SELECT relname AS table_name= , n_tup_upd AS updates, n_tup_hot_upd AS hot_updates FROM pg_stat_all_table= s WHERE relname =3D 'market';=C2=A0
table_na= me | updates | hot_updates=C2=A0
market | 5997455764= | 3752865557=C2=A0

Rega= rds
Durga Mahesh
--0000000000000aee75064a83221a--