Search Postgresql Archives

Re: is it safe to clear oroginal xlog after archiving it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-06-04 at 14:42 +0200, hubert depesz lubaczewski wrote:

> if zero-ing the files was safe, i could compress them more effectively.

Simple rule: Never, ever, ever remove or edit any file in pg_xlog.

There is a command called pg_resetxlog, though that is not designed to
reduce the amount of space in pg_xlog and using it can cause data loss
if used inappropriately.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Support


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux