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.92) (envelope-from ) id 1jC3oz-0007Jf-B0 for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 16:03: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 1jC3nz-0002Sy-Vw for pgsql-general@arkaria.postgresql.org; Wed, 11 Mar 2020 16:01:59 +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 1jC3nz-0002Sq-Gg for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 16:01:59 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jC3nx-000418-Ad for pgsql-general@lists.postgresql.org; Wed, 11 Mar 2020 16:01:58 +0000 Received: by mail-wm1-x331.google.com with SMTP id e26so2734857wme.5 for ; Wed, 11 Mar 2020 09:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=UI23WVcMZ8PAcIMrEMTKtuSdKXcbSFaaUZi5vWTk4tU=; b=YUe3+GUlgkqEz82aGF2o8DVCFEHN1+HMX/WHpOpi0b3VAGZagFK//0OvsIy8g+9RcR gH6Ptka+JUbmpvx0fDk/8YbnOACIA5F09/5Kw3QTyXSooT9yGsqOZEjl2t48Nxlt9Zh0 1cIWO8TxxIj3WKgWJ0jQaCclsdPebIwSmd80w5XLr0uiaHUyI7PH82JRWa8T7YUka3e8 BKttVXnViQw0Pku9uWYjeCIUOCGQDKWW3lSFnCdWsgXiUJwLG2otuwHuTwreFdCThWfA 5gE/46CKrsZ6OsnAG7yNu3RIqzD3DYFp3xtJSuaUlXoF5r5AFDfWt3N+6E93prA10HWc T4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:date :in-reply-to:references:mime-version:content-transfer-encoding; bh=UI23WVcMZ8PAcIMrEMTKtuSdKXcbSFaaUZi5vWTk4tU=; b=EVXKsmmbUZVXHqcnqSTrcZNEZpiiCs+wvtv125N8FRZ/TSd1CdJY8k6FV89Z4d3qAX NFStW67ru7DWp4+lIYq0SZRioOG2BU4+bRx3by4C4wZSAFL18I4w7tlPXOxSGx/BFrYm Xr4e0Ve7bszb7kWSFaMuL2WFNP/0he52tkaAqfWxAs4mTZmbEQIdVKwl/tbbTrihovbT /uzxBLebutPkXU3lKh8KKkVjrRH+jHnLp7RuObi6s71wrDQpOnvlQb9hnpSBghOijxUY ZFfSNV2IfRNCfIVICVt3P+8jMfBRHtHEq2Pk/5HQAAqvL9VHdtTJtmN5zGvf7Ar1g0c4 4hqg== X-Gm-Message-State: ANhLgQ0m2y9D6TGkpY0efX4KHPD72IqANDQbN2yXok4EaYQyyWmob9RV cnD4VCzl3q0Opm9xJbg8nSeit2OD X-Google-Smtp-Source: ADFU+vs2pIOU9vm4nZUX4xsOMX0Vf4YhEkaZRYpDm1RxrTZIbA01R2gSuiRLilBNQkQql2ITWa+zJw== X-Received: by 2002:a05:600c:21d2:: with SMTP id x18mr4285816wmj.75.1583942515400; Wed, 11 Mar 2020 09:01:55 -0700 (PDT) Received: from torstenknbl.mgm-edv.de ([185.40.248.10]) by smtp.googlemail.com with ESMTPSA id z135sm9059473wmc.20.2020.03.11.09.01.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Mar 2020 09:01:54 -0700 (PDT) Message-ID: Subject: Re: Force WAL cleanup on running instance From: Torsten Krah Reply-To: krah.tm@gmail.com To: "pgsql-general@lists.postgresql.org" Date: Wed, 11 Mar 2020 17:01:54 +0100 In-Reply-To: References: <3f91429eb65ac8aa3c77361c587e786a290b92f0.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am Mittwoch, den 11.03.2020, 15:45 +0000 schrieb Simon Riggs: > The size of the task varies, so sometimes takes longer than 60s, > depending > upon your hardware. Yes that's what I am observing and why I am asking if there is some select statement or command which triggers that task and returns after it has finished - as I can't predict how long that task may run. kind regards Torsten --