Tom,

I'm not finding any mention of CHECKPOINT in my references.  Is that
something from a version newer than 7.1.2?

Tom Bakken
Information Resource Manager
Texas USDA, Rural Development 

-----Original Message-----
From: Tom Lane [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 12:22 PM
To: Tom Bakken
Cc: [EMAIL PROTECTED]
Subject: Re: [ADMIN] Out of space 


"Tom Bakken" <[EMAIL PROTECTED]> writes:
> I've been running a postgres for 2 or 3 years without a problem.  This
> morning my disk space for the database filled up.  I need to know what
> transaction/log files I can truncate or delete without compromising the
> system.  These files are located under /var/lib/pgsql/data/

I wouldn't recommend deleting *any* files manually --- unless you find
core files or old files underneath a pgsql_tmp subdirectory.  Those you
could zap at little risk.

The best approach is to free up a small amount of space elsewhere,
enough so you can get through a CHECKPOINT without failing.  The
checkpoint will hopefully free up some space in pg_xlog.  After that you
can look at dropping tables you don't need any more, VACUUM FULL, etc.

                        regards, tom lane
BEGIN:VCARD
VERSION:2.1
N:Bakken;Tom
FN:[EMAIL PROTECTED]
ORG:Texas State Office
TEL;WORK;VOICE:(254) 742-9726
TEL;WORK;FAX:(254) 742-9709
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;101 South Main=0D=0ASuite 102;Temple;TX;76502;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:101 South Main=0D=0ASuite 102=0D=0ATemple, TX 76502=0D=0AUnited States of Am=
erica
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20040301T143942Z
END:VCARD
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to