Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h49Tb-0003Hg-FK for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 19:23:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h49TY-0003do-BS for pgsql-general@arkaria.postgresql.org; Wed, 13 Mar 2019 19:23:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h49TW-0003cn-6n for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 19:23:40 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h49TS-0000dD-Iw for pgsql-general@lists.postgresql.org; Wed, 13 Mar 2019 19:23:36 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AC46121EF9; Wed, 13 Mar 2019 15:23:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 13 Mar 2019 15:23:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=U iitS5/bfHRa7Ud28bdqoRUBr6+IOz3vqG5AXytrJsY=; b=bNWZK3kafG2OVl4ny 6Nl2IPuLM2gGYZXCferfR8aIRwSsq5ol4QNVPD0MZJT0HdxZD0bsH85mI2Yrraoj 822OY5IC3TrozKRHw+ALwZtA/4Ht8DuGeKeG3T95HcP8Sjm8xgrsEX+0tVV0B/vg thSGcspq3WJ98uZbDFNzKfDPopwjTcJMHV8+ip6Q+HmVyHJ74GmRQdiImDkNHE9+ 7VhDFMJaM5T6ATsAR5uIRXEI0S5sQfIIquxnaLCBAKs/75rhpOWo7oJJimB+ikC5 caqC152K2HmmZQAnmFAAx6WyN4+Tx5h4ZIqHy8lW/SfUSuUfh1KJ8vOC0kz2JY2m 9MeUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=UiitS5/bfHRa7Ud28bdqoRUBr6+IOz3vqG5AXytrJ sY=; b=11GazkI52uE0mUknhaN99gvbrWanMAwE4fi/Btt/pjRP+G8ZqbenU8Uvu xcTyERcBn26SQTZTD3bPRR/LfgyONnccDIx2qF3fvjtxtVgOvuKF0zIXaKC+4+Fz B8M9TpxeWwgpD5P9/55XApoQ2tsFd5jda04Ho72odl+lvlMoX16IwMKvWOOCQeEn F3Fa9KdYZGxFfbXhleXqyC2EtJBq1yNdjeWKUP/FoegI/wXA98mMFayQ5coCbmXx fiPlw26L/DgUol+Ye1c7BtCRRpEVxpY1vz6Gm/3MYW6mZFF6sQzoeVu8bkWpX8nR VWAr8hzidNCNEZSpB0YIPWWtSCG1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrhedtgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtke ertddtfeejnecuhfhrohhmpeetughrihgrnhcumfhlrghvvghruceorggurhhirghnrdhk lhgrvhgvrhesrghklhgrvhgvrhdrtghomheqnecuffhomhgrihhnpehpohhsthhgrhgvsh hqlhdrohhrghenucfkphepjedurddvuddvrdduhedtrddvtddvnecurfgrrhgrmhepmhgr ihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuve hluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 82516E4383; Wed, 13 Mar 2019 15:23:32 -0400 (EDT) Subject: Re: Autovacuum Transaction Wraparound To: Perumal Raj Cc: pgsql-general@lists.postgresql.org References: <1c659890-cbf7-8c6d-266c-7521ab674bbf@aklaver.com> From: Adrian Klaver Message-ID: <6616bb40-9b76-a786-7276-ff1e2a9cd03b@aklaver.com> Date: Wed, 13 Mar 2019 12:23:31 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 3/11/19 1:24 PM, Perumal Raj wrote: > Hi Adrian > > What was the full message? > >            autovacuum: VACUUM (to prevent wraparound) > > Though i am running vacuum manually (nowadays) and autovacuum is running > perfectly once its threshold reaches. > > What will happen if my DB reaches 200M transaction age again ? ( Here my > understanding is no dead tuples to cleanup --- I may be missing full > concept , Please correct me if i am wrong) . > > What will be impact to DB ( Performance ) During Vacuum freeze ( My > Assumption is autovacuum will run "vacuum freeze" once DB age reached > 200M ) ? I would read this: https://www.postgresql.org/docs/9.2/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND I believe it will answer most of your questions. > > When should i consider to increase pg_settings value with respect to > Autovacuum ? > > Regards, > > -- Adrian Klaver adrian.klaver@aklaver.com