Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbGYy-0000Ae-6Q for pgsql-general@arkaria.postgresql.org; Sat, 07 Nov 2020 05:14:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kbGYx-0005w4-5o for pgsql-general@arkaria.postgresql.org; Sat, 07 Nov 2020 05:14:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbGYv-0005vx-El for pgsql-general@lists.postgresql.org; Sat, 07 Nov 2020 05:14:54 +0000 Received: from [66.111.4.29] (helo=out5-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbGYn-0000KD-MV for pgsql-general@postgresql.org; Sat, 07 Nov 2020 05:14:53 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1362D5C0166; Sat, 7 Nov 2020 00:14:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 07 Nov 2020 00:14:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=a bs9P93gJDKlOox7tXvm1mo4RbvnC3oUC9sPaKsS32U=; b=g9MLGS5fpcUyBbaPC 6WYx7baG1GpkDbe0Rtr1IxOJibKdV+VAG8s54y0F4EUOErcA6KZK5uR8fIaye5n2 lL4S3VFVHx3QjM7Lu8qXFqLFFlbeO8g5iUQV3g/WmAtqUsjCiYHLIgRMjLd17OLd tP/xLjDWqzBFKdeSu8F3oeI9DPEMbOWqOIs3vu8DsvgWrn6Z1gCwnWE55JNPHuUf pTkNhiPuPmRN+zx4HNooxS0mZXJuO47OWTcgHB2H5lDdLI0Ici+jqzVFCq1ZXv4X U8Ns6WrjQ04o1Zf6BOEd6sxW++8o+jDbnSENh5aCqOg5k8WZSLzHITTpHTy3LE5Y 19nww== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm1; bh=abs9P93gJDKlOox7tXvm1mo4RbvnC3oUC9sPaKsS3 2U=; b=clVNBslEbhFvOQVNAmfZ4fDGUSLNAJMjJD0G8RW1Ovu4xCnh0V08wGbjw PIJKRVExshnZpz8dK3kJyClw8ChhnkgF6vJteACXAC1gj4RYAxOFkJ68gmwY59KV Ccfk+WxS4SrFs9KynhTf/xv++gQILx+xiliesd03rdKgqq+sva+rD+r/Fejk26BM 6/mHL+LXdiwiyyvsDqz89ME2Ljx5BBPM3OU9sZBzMXe5bszuw3mTbM8r6NXDBi2t 6ElXcpoqzOmaD2Gv6+Lzb9aVzayxuLfHIr9rtzdrUNsWM1gZe4clEDBD9qXRnfbb ajSUpVYyxFD94OmIOMnFPMCMIfH7A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedruddutddgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdduledrudefleenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.4] (75-172-19-139.tukw.qwest.net [75.172.19.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 73113328041D; Sat, 7 Nov 2020 00:14:33 -0500 (EST) Subject: Re: After vacuum application runs very slow ? is this common behavior ? To: Sri Linux , pgsql-general@postgresql.org References: From: Adrian Klaver Message-ID: Date: Fri, 6 Nov 2020 21:14:32 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.29 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/6/20 8:20 PM, Sri Linux wrote: > Hi All, > > Our production database size is about 2TB and we had run into issues and > Postgres log did recommend running the vacuum in single-user mode. We > have successfully completed running a single user mode vacuum without > any options. .. services were online after vacuum. Application load time > and response times are very poor and don't load sometimes. Is this > common behavior after a vacuum? DO we need to consider any post > activities or give some time for the database to settle down? Given that there is no actual useful/hard data in the above the chances of there being a relevant answer in return is doubtful. Also given your subsequent post the major version you are using is nearing 1 year past EOL and is 21 minor releases behind the last release in the series. At the very least you need to bring it up to the last minor release. > > Did full os restart for the DB server? > > Thanks > Sri. -- Adrian Klaver adrian.klaver@aklaver.com