pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johnes Castro <johnescm@hotmail.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: RE: Max number of WAL files in pg_xlog directory for Postgres 9.2 version
Date: Wed, 5 Sep 2018 17:53:50 +0000
Message-ID: <RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <RO1P15201MB2426D16A3682A63AF485A39FD4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM>
References: <CAEHH7R6d9JUR_pGtF37CAXEGBoAXNk=xqwwgB8RqOTrYEGE+qQ@mail.gmail.com>
	<RO1P15201MB2426D16A3682A63AF485A39FD4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM>

1 wal by default occupies 16MB.
The parameter in version 9.2 that controls this is: wal_keep_segments


By setting the parameter to 10, the maximum size of the US pg_xlog will be 160MB.

Best Regards,
Johnes Castro


________________________________
De: Johnes Castro <johnescm@hotmail.com>
Enviado: quarta-feira, 5 de setembro de 2018 15:48
Para: Raghavendra Rao J S V; pgsql-general@lists.postgresql.org
Assunto: RE: Max number of WAL files in pg_xlog directory for Postgres 9.2 version

Hi,

This page in the documentation can help you.
https://www.postgresql.org/docs/9.2/static/wal-configuration.html

Best Regards,
Johnes Castro
PostgreSQL: Documentation: 9.2: WAL Configuration<https://www.postgresql.org/docs/9.2/static/wal-configuration.html;
29.4. WAL Configuration. There are several WAL-related configuration parameters that affect database performance.This section explains their use. Consult Chapter 18 for general information about setting server configuration parameters.. Checkpoints are points in the sequence of transactions at which it is guaranteed that the heap and index data files have been updated with all information ...
www.postgresql.org


________________________________
De: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
Enviado: quarta-feira, 5 de setembro de 2018 15:39
Para: pgsql-general@lists.postgresql.org
Assunto: Max number of WAL files in pg_xlog directory for Postgres 9.2 version

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?


--
Regards,
Raghavendra Rao J S V

view thread (6+ messages)  latest in thread

Message-ID: <RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM>
Permalink:  ../RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: johnescm@hotmail.com, raghavendrajsv@gmail.com
  Subject: Re: Max number of WAL files in pg_xlog directory for Postgres 9.2 version
  In-Reply-To: <RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM>
  References: <CAEHH7R6d9JUR_pGtF37CAXEGBoAXNk=xqwwgB8RqOTrYEGE+qQ@mail.gmail.com> <RO1P15201MB2426D16A3682A63AF485A39FD4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM> <RO1P15201MB24262B411A11CC04D6347DAED4020@RO1P15201MB2426.LAMP152.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox