Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 573F4475B00 for ; Thu, 13 Jun 2002 14:35:28 -0400 (EDT) Received: from fristx.taylorwhite.com (fristx.taylorwhite.com [206.107.121.4]) by postgresql.org (Postfix) with ESMTP id D615F475AE3 for ; Thu, 13 Jun 2002 14:35:25 -0400 (EDT) Received: by FRISTX with Internet Mail Service (5.5.2650.21) id ; Thu, 13 Jun 2002 14:35:22 -0400 Message-ID: <2E4528861499D41199D200A0C9B15BC0017E2AEE@FRISTX> From: Pam Wampler To: pgsql-admin@postgresql.org Subject: PG_XLOG How long to retain Date: Thu, 13 Jun 2002 14:35:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200206/85 X-Sequence-Number: 4520 Being fairly new to postgresql, I have a couple of questions on pg_xlog We are on 7.2.1 1. How does one properly administer the pg_xlogs? -- How long to retain them? Is it ok to delete them after a period of time? If so, what period of time? 2. I understand that the numbering scheme does not wrap around -- is there a way to set the numbering scheme back to 1? we are still in testing mode, and our xlogs are up to: -rw------- 1 pgsql pgsql 16777216 Jun 12 17:03 0000000900000097 -rw------- 1 pgsql pgsql 16777216 Jun 12 16:57 0000000900000098 -rw------- 1 pgsql pgsql 16777216 Jun 12 16:56 0000000900000099 -rw------- 1 pgsql pgsql 16777216 Jun 12 16:56 000000090000009A -rw------- 1 pgsql pgsql 16777216 Jun 12 16:58 000000090000009B -rw------- 1 pgsql pgsql 16777216 Jun 12 16:57 000000090000009C -rw------- 1 pgsql pgsql 16777216 Jun 12 16:57 000000090000009D 3. There is normally only 7 of these logs on our system -- so I am assuming that "something" is deleteing them -- Is there an option to "not" delete them, until I want to delete them. If there is more documentation somewhere on these questions, please point me there. Thanks Pam Wampler