pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Mario Behring <mariobehring@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: deleting records from a table
Date: Fri, 12 Jan 2007 12:48:42 -0600
Message-ID: <1168624891.20602.693.camel@state.g2switchworks.com> (raw)
In-Reply-To: <4186.26875.qm@web30014.mail.mud.yahoo.com>
References: <4186.26875.qm@web30014.mail.mud.yahoo.com>

On Fri, 2007-01-12 at 11:45, Mario Behring wrote:
> Hi all,
> 
> Simple question: once I execute the delete statement, does it free
> disk space immediatelly? Does Postgres uses something like a datafile
> with a pre-defined size like Oracle does??
> 
Take a look here:

http://www.postgresql.org/docs/8.2/static/routine-vacuuming.html
http://www.postgresql.org/docs/8.2/static/mvcc-intro.html

That should explain the basics of mvcc and vacuuming as applies to
pgsql.



view thread (5+ messages)  latest in thread

Message-ID: <1168624891.20602.693.camel@state.g2switchworks.com>
Permalink:  ../1168624891.20602.693.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1168624891.20602.693.camel@state.g2switchworks.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: smarlowe@g2switchworks.com, mariobehring@yahoo.com
  Subject: Re: deleting records from a table
  In-Reply-To: <1168624891.20602.693.camel@state.g2switchworks.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