Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxd6Q-0002sS-77 for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 19:04:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fxd6O-0006sj-Ob for pgsql-general@arkaria.postgresql.org; Wed, 05 Sep 2018 19:04:32 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1fxd6O-0006sc-FF for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 19:04:32 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fxd6L-0004Id-FQ for pgsql-general@lists.postgresql.org; Wed, 05 Sep 2018 19:04:32 +0000 Received: by mail-oi0-x241.google.com with SMTP id l82-v6so15695847oih.11 for ; Wed, 05 Sep 2018 12:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=iNMO+Wc2jGVakgd78F73Srw/21BIqR1OVUsJBqE0nvg=; b=aWoFM6JYmXToYTXwCwqiSmb4RPzx3TXQQadsMoWxO7C2D/DImPUNGcwERhpD0dFOIa KoWULtciwFcXli2Y/WFpnGDyGt5vtlFB8FASUCr5vd+yvmOrNE3D5cZXnJ+wL/LISVmm 133HCDW1pI6am+tboe7JKAJoH5gcx8N8E1fxOMaOaif1WKbFjm8dGeER7JXB4Sg7nBcl 8ggSRQV1dGm9HTDYcGDRdXYrWFq+16IFbNgHW14uXV8Oxoi0ejzEgD0Y3uELd+reDCZg H5JSMjXoQDFKkiaY6Po4PhEGsWEKDXkOPjam8eH/MxsaZK7+uScZtQisEHy2wJdl5CVi 34Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=iNMO+Wc2jGVakgd78F73Srw/21BIqR1OVUsJBqE0nvg=; b=dC/K/kXNNvn8MY9rLLexJ+bc3kDe61gXa675YK5UMS6iX4Wytlcu/BLGkMFYC1++M5 ltYE7EWrqgUGOdVDhel/7qF6WWJGyhZSBPW7siZp8HdPPn5oFv32JJ2r8qGu2rcoa0l1 a8GGx+Q7NAlj+PTYhkISvcMbommS5Wahse7EkSOG5NPPf1iNO88SdsyaI0RcaEvLm+Ju d8HOLR6FS6brDDJlNEM+M0+Z++huW1/sEBBjALh80+N++BqKICcB6sCxjjcRjE8B6K4V y64221Av6hmZVtBZIvJjhNK22QhL7T/pBBfelVJIxwlsFLk6pvW1H14JUKtc4ueErUKc GjUw== X-Gm-Message-State: APzg51BC/apWRu4/NVI5+Hb9EAIsLgKJOGdtCzjzUtUKv+nDa9arc6Yn yFIdkEIzJ4KajEmba13dpkhZHabR X-Google-Smtp-Source: ANB0Vdbbrt/nEj9HqZxRg4nPO3NiOrDsEdKITvTiVld7XyOrDL6OsM8ou7cY6uxGglhT1QGgmVJR6Q== X-Received: by 2002:aca:3606:: with SMTP id d6-v6mr33267694oia.327.1536174266977; Wed, 05 Sep 2018 12:04:26 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id f144-v6sm4325389oib.39.2018.09.05.12.04.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 12:04:26 -0700 (PDT) Subject: Re: Max number of WAL files in pg_xlog directory for Postgres 9.2 version To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <49d01b56-1551-cec2-2db1-e2b5111c72ff@gmail.com> Date: Wed, 5 Sep 2018 14:04:25 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------93134F50DAEB48B65F572F4F" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------93134F50DAEB48B65F572F4F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 09/05/2018 12:39 PM, Raghavendra Rao J S V wrote: > Hi All, > > We are using postgres 9.2 verstion database. > > Please let me know, how many max number of wal files in pg_xlog directory? > > What is the formul. I am seeing different formulas. Could you provide me > which decides number of max WAL files in PG_XLOG directory for Postgres > 9.2 Database,please? If you're doing WAL file replication, and -- for whatever reason -- the standby system isn't applying them fast enough, there could be tens of thousands of files in pg_xlog.  (It would drain pretty quickly when you resolve the problem, though.) -- Angular momentum makes the world go 'round. --------------93134F50DAEB48B65F572F4F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 09/05/2018 12:39 PM, Raghavendra Rao J S V wrote:
Hi All,

We are using postgres 9.2 verstion database.

Please let me know, how many max number of wal files in pg_xlog directory?

What is the formul. I am seeing different formulas. Could you provide me which decides number of max WAL files in PG_XLOG directory for Postgres 9.2 Database,please?

If you're doing WAL file replication, and -- for whatever reason -- the standby system isn't applying them fast enough, there could be tens of thousands of files in pg_xlog.  (It would drain pretty quickly when you resolve the problem, though.)


--
Angular momentum makes the world go 'round.
--------------93134F50DAEB48B65F572F4F--