From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Mario Behring <mariobehring@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: deleting records from a table
Date: Fri, 12 Jan 2007 09:53:33 -0800 (PST)
Message-ID: <877653.1327.qm@web31803.mail.mud.yahoo.com> (raw)
In-Reply-To: <4186.26875.qm@web30014.mail.mud.yahoo.com>
---> Simple question: once I execute the delete statement, does it free disk space immediatelly?
No. deleted rows (in a sense) are simply marked as deleted and are made avaliable for being
written over by a new or updated tuple. If you want to recover the space you can you TRUNCATE or
VACUUM FULL & possible REINDEX.
Regards,
Richard Broersma Jr.
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: rabroersma@yahoo.com, mariobehring@yahoo.com
Subject: Re: deleting records from a table
In-Reply-To: <877653.1327.qm@web31803.mail.mud.yahoo.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