Re: Indexing question

From: "Rudi Starcevic" <rudi(at)oasis(dot)net(dot)au>
To: "Alexander Priem" <ap(at)cict(dot)nl>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Indexing question
Date: 2003-08-30 01:07:43
Message-ID: 20030830010743.M18111@oasis.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2003-08-30 02:32:38 Re: The results of my PostgreSQL/filesystem performance tests
Previous Message Tom Lane 2003-08-29 22:03:48 Re: SQL performance problems