Re: Out of space - Mailing list pgsql-admin

From Tom Lane
Subject Re: Out of space
Date
Msg-id 27603.1081371413@sss.pgh.pa.us
Whole thread Raw
In response to Re: Out of space  ("Tom Bakken" <tom.bakken@tx.usda.gov>)
Responses Re: Out of space
List pgsql-admin
"Tom Bakken" <tom.bakken@tx.usda.gov> writes:
> Here's the situation:
> [root@linux04 init.d]# cd /var/lib/pgsql/data/
> [root@linux04 data]# ls -l
> total 1494316
> -rw-------    1 postgres postgres        4 Jun 21  2001 PG_VERSION
> drwx------    6 postgres postgres     4096 Sep 17  2003 base
> drwx------    2 postgres postgres     4096 Oct 27 13:40 global
> -rw-r--r--    1 root     root         7640 Jun 29  2001 h
> -rw-------    1 postgres postgres     9070 Mar  2 10:56 pg_hba.conf
> -rw-------    1 postgres postgres     1118 Jun 21  2001 pg_ident.conf
> -rw-------    1 postgres postgres 1528630320 Apr  7 14:26 pg_log
> drwx------    2 postgres postgres     4096 Apr  7 14:26 pg_xlog
> -rw-------    1 postgres postgres     3137 Jun 21  2001 postgresql.conf
> -rw-------    1 postgres postgres       52 Apr  7 14:26 postmaster.opts
> [root@linux04 data]# ls -l pg_xlog/
> total 16404
> -rw-------    1 postgres postgres 16777216 Apr  7 12:14 000000010000001E

> I do have a limited amount of space in the partition but I'd like to get =
> rid of more.  Just not sure what to delete if anything.

Hm, what is that pg_log file?  It's not part of the normal Postgres
fileset.  Is it perhaps just the postmaster's stderr output?  If so,
you're in luck: truncate that as you see fit, and you'll have some
breathing room.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Tom Bakken"
Date:
Subject: Re: Out of space
Next
From: Hemapriya
Date:
Subject: Query with Max, Order by is very slow.......