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 1vkP3p-00EYUW-2z for pgsql-admin@arkaria.postgresql.org; Mon, 26 Jan 2026 16:03:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vkP3p-008oBI-0A for pgsql-admin@arkaria.postgresql.org; Mon, 26 Jan 2026 16:03:29 +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 1vkP3o-008oB9-2C for pgsql-admin@lists.postgresql.org; Mon, 26 Jan 2026 16:03:29 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vkP3m-002PtO-23 for pgsql-admin@lists.postgresql.org; Mon, 26 Jan 2026 16:03:28 +0000 Received: by mail-wm1-x344.google.com with SMTP id 5b1f17b1804b1-47ee4539adfso50901155e9.3 for ; Mon, 26 Jan 2026 08:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1769443404; x=1770048204; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=R8f+n+ez7hez2wa/CcRoN/ivFM8NDU+ihQe7JfggAnY=; b=VtSpgxrP82JDL8a252NLrpffK1hY83QhrNbApALH9kD1GxP5/JIFQxQqFeew/d3lJf gLpSWwvlwuTvQJGsNqv4S+w8nE4Y0NBajUBroQcAXK6pcChTqcj3fktQapOygfwxz9Zf 0sW524gfq+HWqWbf10WjMxOtoFv0XYajh+8gOxPCXP9L5oHoilblJhbwdNumL4LKEJhD nL7tnGr8XNOen8u2nXc0FZdlOD7RfyQIk3zZu8tuPHEWdhnTsHpit9ct0SpynDnE7bsU dykO+i27p+RxXQhZwErK2ruESHpkcBqZNUPfBjpOxoOJ449uhLK/vdyIOvLll45xa883 618g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769443404; x=1770048204; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=R8f+n+ez7hez2wa/CcRoN/ivFM8NDU+ihQe7JfggAnY=; b=AP3OQwGZzuNN+Um7sL894BvcL0or5qthav0NBTrmQkQX2kHgEoLZLdU7dL2DR4iS1U AMiIuOQfGq84hQkL7XcOW2PTezHpAJs36HhzznfbM72DYj2XvPaF/kvzU19TIlwZgjHB zDcusKJEKot7X70dCf+eC3+WmhPzqa5kBL+HGcr6zQJ8NyyN3USqOYpienLgshnVx5yT FMRnoBwXlCe4xUYFyb6JVlJdQa0r7WASYhRbNgddsCC3k5H18FibEfqGiIzlj/La8soh Qa1QnVy1bWmvTPPG8biijJt5NGzDokbHLlTohgwx6T2YQMniIR7pSYvJQqRDciVfphdn uynw== X-Forwarded-Encrypted: i=1; AJvYcCW1sWWecM/3TPSCmhrl41340r/RQQNncZDYkEc65gQV6bdjfxeYl3iyRAn+AFjkWvZ7sCrLuWu0M+M4bQ==@lists.postgresql.org X-Gm-Message-State: AOJu0YzOP+MbuhxZinV9gC0fJTNhcj1pZgvCJ8nKhW6Jxr0MN7Tv9zT4 t06JS/xxpaSyIUhmV16LMfyfw2EPQYerfGBC5lw6x0pKiR73KjZYna9S3ig/LDYHKDs= X-Gm-Gg: AZuq6aJ7CuA+00b/cjHFBAzx/7eUOfQUhpxDxocTFKWWev98P7KBhaODz/dA1VtXEOq psJzq446aCeIwWO+6HJYSesdlcORX0NqSg4drC7moUyvHi+EN354YL9lBiG6LPVaNo24C1jrB5n lT482aV/eXoD7D17BtXFKaF/1GVCXgYqkIhyfW5wsWXA0PxWy0UkBwQCxuxqhL+XT6kjjKmI8iP JFLvgxroDWHBygjbm1qyf7FY+0FBemxsUPSpSC6vEx3PIrr7FeauzWtD1n5nlyxIEx00Mkp+YqD CIzrLLoQU+/JB/PpBaQRO55Uq/7XzhyKzSJZjCwlsMpmGNsAbdh0S8lok8pqPJHDPV9OMrtVTjI FsEuF5y7TsBE+aOvW08YL0gWUU4jbBkIMPtMwaE84rA13rApQfgS5uWld9bobxshuKz+c3SFWxb M1Uqm2O+Nfhtw= X-Received: by 2002:a05:600c:1382:b0:477:fcb:2256 with SMTP id 5b1f17b1804b1-4805cf66a5dmr76403725e9.17.1769443403959; Mon, 26 Jan 2026 08:03:23 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D ([213.208.157.36]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435b1c02d0dsm30027927f8f.4.2026.01.26.08.03.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jan 2026 08:03:23 -0800 (PST) Message-ID: <04dc073cd84313cb9b711833f905a07d099a5f28.camel@cybertec.at> Subject: Re: autoanalyze did not run From: Laurenz Albe To: =?UTF-8?Q?=D0=9E=D0=BB=D0=B5=D0=B3_?= =?UTF-8?Q?=D0=A1=D0=B0=D0=BC=D0=BE=D0=B9=D0=BB=D0=BE=D0=B2?= , Pgsql-admin Date: Mon, 26 Jan 2026 17:03:21 +0100 In-Reply-To: References: <0dce35ca-24fa-4234-99fe-071bd5725a32@ya.ru> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.2 (3.58.2-1.fc43) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-01-26 at 17:35 +0300, =D0=9E=D0=BB=D0=B5=D0=B3 =D0=A1=D0=B0=D0= =BC=D0=BE=D0=B9=D0=BB=D0=BE=D0=B2 wrote: > > > I try to investigate why autoanalyze did not run in time of our initi= al=20 > > > loading data. Yes, I know, running analyze manually is highly=20 > > > recommended in such case. But is must run automatically too. > > >=20 > > > PostgreSQL 17.7 (Debian 17.7-3.pgdg13+1) on x86_64-pc-linux-gnu,=20 > > > compiled by gcc (Debian 14.2.0-19) 14.2.0, 64-bit (from PGDG) > >=20 > > Are you sure that you committed the transaction? >=20 > I am very sure, thats why there are=C2=A013844347 rows in that table. By = single copy. > >=20 > > Is "track_activities" set to "on"? >=20 > I checked, yep. Then the only explanation is that all autovacuum workers are active, and th= is table is starved. See how many autovacuum workers are visible in pg_stat_a= ctivity and compare that to autovacuum_max_workers. Yours, Laurenz Albe