From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: cost of empty fields
Date: Thu, 21 Apr 2005 04:19:02 +0200
Message-ID: <20050421021902.GA16782@nibiru.borg.metux.de> (raw)
In-Reply-To: <20050415165802.GT58835@decibel.org>
References: <20050415142206.GA347@nibiru.borg.metux.de>
<20050415165802.GT58835@decibel.org>
* Jim C. Nasby <decibel@decibel.org> wrote:
> If you setup rules on the view and just have the application select,
> insert, update, and delete from the view instead of the raw tables you
> won't need to change your application at all. Though you do need to be
> aware that you can't easily enforce uniqueness across multiple tables.
hmm. that doesnt sound stable enough for me.
this table is really critical and there's a lot of money in game
(realtime currency trading ...)
> As for clearing the fields, if by clearing you mean setting to NULL then
> you're correct, it would save space. Just remember that you won't
> actually be able to use the saved space until the table is vacuumed.
Yes, that's what I had in mind.
Vacuum is no problem. The exchange is closed at weekend, so there's
really enough time for vacuum full analyze :)
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact@metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
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: weigelt@metux.de
Subject: Re: cost of empty fields
In-Reply-To: <20050421021902.GA16782@nibiru.borg.metux.de>
References: <20050415142206.GA347@nibiru.borg.metux.de> <20050415165802.GT58835@decibel.org> <20050421021902.GA16782@nibiru.borg.metux.de>
* 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