pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rudi Starcevic <rudi@oasis.net.au>
To: Alexander Priem <ap@cict.nl>
To: pgsql-performance@postgresql.org
Subject: Re: Indexing question
Date: Sat, 30 Aug 2003 11:07:43 +1000
Message-ID: <20030830010743.M18111@oasis.net.au> (raw)
In-Reply-To: <012f01c36dfa$0f4a8760$b696a8c0@APR>
References: <012f01c36dfa$0f4a8760$b696a8c0@APR>

Hi,

> I have some tables (which can get pretty large) in which I want to 
> record 'current' data as well as 'historical' data.

Another solution can be using a trigger and function to record every
transaction to a 'logging' table.
This way you'll have one 'current' table and one 'historical' table
The 'historical' table will contain every transaction recorded from
the current table.

Regards
Rudi.






view thread (15+ messages)  latest in thread

Message-ID: <20030830010743.M18111@oasis.net.au>
Permalink:  ../20030830010743.M18111@oasis.net.au/
Also on:    postgresql.org/message-id/20030830010743.M18111@oasis.net.au

 · 

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-performance@postgresql.org
  Cc: rudi@oasis.net.au, ap@cict.nl
  Subject: Re: Indexing question
  In-Reply-To: <20030830010743.M18111@oasis.net.au>

* 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