pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
freeing disk space used by postgresql/postmaster
2+ messages / 2 participants
[nested] [flat]

* freeing disk space used by postgresql/postmaster
@ 2001-03-08 12:50  Colleen Williams <colleen@digital-arts.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Colleen Williams @ 2001-03-08 12:50 UTC (permalink / raw)
  To: pgsql-admin

Hi
We are experiencing this scenario -
1. at the point postgresql (postmaster) is stopped and restarted the disk 
usage was 56% (277336 blocks)
2. after about 2 days the disk usage is 69% (339528 blocks)... after about 
1 week it goes up to 100%
3. after stopping and restarting postgresql (postmaster) again the disk 
usage is back to 56%
Do we need to start and stop postgresql regularly to free up disk space - 
is this normal?
I vacuum the databases regularly but this does not seem to make any difference.
Many Thanks,
Colleen.


Colleen Williams
colleen@digital-arts.co.uk

0207 484 8825

Digital Arts | British Columbia House | 1 Regent Street | London | SW1Y 4NR
http://www.digital-arts.co.uk




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: freeing disk space used by postgresql/postmaster
@ 2001-03-08 15:19  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Colleen Williams <colleen@digital-arts.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2001-03-08 15:19 UTC (permalink / raw)
  To: Colleen Williams <colleen@digital-arts.co.uk>; +Cc: pgsql-admin

Colleen Williams <colleen@digital-arts.co.uk> writes:
> 3. after stopping and restarting postgresql (postmaster) again the disk 
> usage is back to 56%

Oh?  Stopping and restarting the postmaster shouldn't make any
difference as far as postgres itself is concerned.  May I ask what
you are doing with the postmaster log (stdout & stderr)?  How high
do you have the debug level set?

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-03-08 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-08 12:50 freeing disk space used by postgresql/postmaster Colleen Williams <colleen@digital-arts.co.uk>
2001-03-08 15:19 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox