pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCleaning up directory pgsql_tmp ?
2+ messages / 2 participants
[nested] [flat]
* Cleaning up directory pgsql_tmp ?
@ 2007-03-05 21:53 David Levy <dvid.levy@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: David Levy @ 2007-03-05 21:53 UTC (permalink / raw)
To: pgsql-admin
Hi,
I have a 7Go pgsql_tmp directory in my main tablespace which remains
even after a cluster restart.
Does anyone know how to clean up properly ? Can i just delete the
directory in the filesystem (with the cluster up or down ?) ?
The documentation says it should be handled automatically by the
cluster at the next startup, but it does not :(
I guess it comes from a severe server crash that occured several days
ago ...
Thanks in advance !
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Cleaning up directory pgsql_tmp ?
@ 2007-03-05 22:34 Tom Lane <tgl@sss.pgh.pa.us>
parent: David Levy <dvid.levy@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2007-03-05 22:34 UTC (permalink / raw)
To: David Levy <dvid.levy@gmail.com>; +Cc: pgsql-admin
"David Levy" <dvid.levy@gmail.com> writes:
> I have a 7Go pgsql_tmp directory in my main tablespace which remains
> even after a cluster restart.
> Does anyone know how to clean up properly ? Can i just delete the
> directory in the filesystem (with the cluster up or down ?) ?
If the postmaster's not running, it's certainly safe to remove pgsql_tmp
files. However, unless you are running a pre-7.2 Postgres, the
postmaster should remove them for itself during startup; you should look
into why that's not happening. Permissions problem, perhaps?
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-03-05 22:34 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-03-05 21:53 Cleaning up directory pgsql_tmp ? David Levy <dvid.levy@gmail.com>
2007-03-05 22:34 ` 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