[GENERAL] table partition problem

Поиск
Список
Период
Сортировка
От Hung Phan
Тема [GENERAL] table partition problem
Дата
Msg-id CANHVDh0B=W7s9eV-3FjyU2ZegmhMLc21i5MKhMP6rbrdmija3A@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi,

I intend to create 2 partitions called New and Old of a table. An automatic job will check if a record is older than 90 days from current time (based on a field), it will move the record from New to Old.

The problem is that I cannot control which partition a select statement with range criteria will check. (One way to perform that is to check on application layer but I think it is not good idea)

Regards,

Hung Phan 

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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: [GENERAL] a JOIN to a VIEW seems slow
Следующее
От: "Frank Millman"
Дата:
Сообщение: Re: [GENERAL] a JOIN to a VIEW seems slow