pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@gmail.com>
To: Colton Smith <smith@skio.peachnet.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: pgstattuple, vacuum and free_space
Date: Sat, 26 Nov 2005 11:39:22 +0100
Message-ID: <9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.com> (raw)
In-Reply-To: <43860F20.5080709@skio.peachnet.edu>
References: <43860F20.5080709@skio.peachnet.edu>

On 11/24/05, Colton Smith <smith@skio.peachnet.edu> wrote:
>
> My question: when you vacuum a table and generate 'free_space', who is
> allowed to consume this 'free_space'? Is it released to the OS for
> general use? Or is it reserved just for the database? If the latter, is
> it reserved just for 'wind' (in this case)?
>


as far as i know this space is mapped as free witinh data-files of table
"wind".
thus effectivelyu - your OS doesnt get more free space, nor is (generally
speaking) the database.
benefit of this "free space" is that next inserts to wind table will fit
inside of this free space - thus stopping bloat of datafiles of this table.

if you would like to reclaim the disk-space, you should consider using
vacuum full.

depesz

view thread (4+ messages)  latest in thread

Message-ID: <9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.com>
Permalink:  ../9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.com/
Also on:    postgresql.org/message-id/9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.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: depesz@gmail.com, smith@skio.peachnet.edu
  Subject: Re: pgstattuple, vacuum and free_space
  In-Reply-To: <9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.com>
  References: <43860F20.5080709@skio.peachnet.edu> <9e4684ce0511260239n1dd62c5cq3abdb3eee69705ec@mail.gmail.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