Re: Best way to delete time stamped data?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Best way to delete time stamped data?
Дата
Msg-id 20030505133222.GA2981@wolff.to
обсуждение исходный текст
Ответ на Re: Best way to delete time stamped data?  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Список pgsql-sql
On Mon, May 05, 2003 at 15:26:21 +0530, Rajesh Kumar Mallah <mallah@trade-india.com> wrote:
> 
> 
> an index on age(date(trxdate)) would make it faster ?

That won't work because the value returned by age depends on the time
the transaction started. If you want the delete to be indexed you
need to write it out the longer way.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Reiner Dassing
Дата:
Сообщение: Indices are not used by the optimizer
Следующее
От: "Marco Roda"
Дата:
Сообщение: UNICODE and SQL