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 1i2yPc-0001Y9-TA for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2019 13:55:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2yPb-0001Gx-Cn for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2019 13:54:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2yPb-0001Gq-2L for pgsql-general@lists.postgresql.org; Wed, 28 Aug 2019 13:54:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2yPY-0000sy-NG for pgsql-general@postgresql.org; Wed, 28 Aug 2019 13:54:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x7SDspnF030787; Wed, 28 Aug 2019 09:54:51 -0400 From: Tom Lane To: Sonam Sharma cc: pgsql-general Subject: Re: In-reply-to: References: Comments: In-reply-to Sonam Sharma message dated "Wed, 28 Aug 2019 12:28:51 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30785.1567000491.1@sss.pgh.pa.us> Date: Wed, 28 Aug 2019 09:54:51 -0400 Message-ID: <30786.1567000491@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Sonam Sharma writes: > Is there any option to run reindex or vaccum in background? > Every time the session gets logged off in between. If your session is getting killed by a network idle-time timeout, you could probably prevent that with suitable adjustment of the server's TCP-keepalive settings. regards, tom lane