pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: Juan Miguel <juanmime@ono.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Deleting a database
Date: Tue, 30 Mar 2004 15:11:22 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com> (raw)
In-Reply-To: <4069D96C.5000001@ono.com>

On Tue, 30 Mar 2004, Juan Miguel wrote:

> This is a little question :
> 
> In postgres, "delete database dbsample", frees the disk space used for 
> this DB?, or I have to drop the files manually ?
> I wondered this question, because I read that when you delete records, 
> you must run vacuum for freeing the space.

the whole database instance is dropped, no need to clean up. Same is true 
for dropped tables, indexes, or any other complete object like that.

The only thing vacuum recovers is space within an object, like deleted 
tuples or index entries.




view thread (2+ messages)

Message-ID: <Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: scott.marlowe@ihs.com, juanmime@ono.com
  Subject: Re: Deleting a database
  In-Reply-To: <Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com>
  References: <4069D96C.5000001@ono.com> <Pine.LNX.4.33.0403301504530.22721-100000@css120.ihs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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