Re: Indexing question - Mailing list pgsql-performance

From Rudi Starcevic
Subject Re: Indexing question
Date
Msg-id 20030830010743.M18111@oasis.net.au
Whole thread Raw
In response to Indexing question  ("Alexander Priem" <ap@cict.nl>)
List 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.




pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: SQL performance problems
Next
From: Bruce Momjian
Date:
Subject: Re: The results of my PostgreSQL/filesystem performance tests