Re: Indexing question

Поиск
Список
Период
Сортировка
От Rudi Starcevic
Тема Re: Indexing question
Дата
Msg-id 20030830010743.M18111@oasis.net.au
обсуждение исходный текст
Ответ на Indexing question  ("Alexander Priem" <ap@cict.nl>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL performance problems
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: The results of my PostgreSQL/filesystem performance tests