From: | "Andreas 'ads' Scherbaum" <ads(at)pgug(dot)de> |
---|---|
To: | pgsql-www(at)postgresql(dot)org |
Subject: | Addendum to the FAQ |
Date: | 2018-09-29 08:41:54 |
Message-ID: | CAMDzVO8bCEuM6pQtH=ckZQu3Z55ZV86RLbz2xti=Q9g5X747bA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hello,
based on a common question, here is an addendum for the FAQ:
https://wiki.postgresql.org/wiki/FAQ
Question: The files in pg_xlog/* take up a lot of disk space, can they be
removed?
Answer:
Under no circumstances must files in the pg_xlog/ directory be removed,
they are essential for the database operation. The files in this directory
store the transaction log, without these files the database can't recover
after a crash or shutdown.
The size of the pg_xlog/ directory can be configured by setting the
"min_wal_size" and "max_wal_size" GUC (PostgreSQL 9.5 and newer), or by
setting the "checkpoint_segments" GUC (9.4 and earlier).
https://www.postgresql.org/docs/current/static/runtime-config-wal.html
https://www.postgresql.org/docs/9.4/static/runtime-config-wal.html
Regards,
--
Andreas 'ads' Scherbaum
German PostgreSQL User Group
European PostgreSQL User Group - Board of Directors
Volunteer Regional Contact, Germany - PostgreSQL Project
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2018-09-29 14:58:55 | Re: Postgres 11 release notes |
Previous Message | Amit Langote | 2018-09-29 07:28:13 | Re: Postgres 11 release notes |