AW: 7.0.2 issues / Geocrawler

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: 7.0.2 issues / Geocrawler
Дата
Msg-id 11C1E6749A55D411A9670001FA687963367FFF@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Список pgsql-hackers
> Yes it is a multi-key index, and the matches are exact.
> 
> Someone else asked why I have separated these fields out from the
> mail_date.
> 
> If I didn't, and I wanted to see the messages for this month, I'd have
> to regex and that would overwhelm the database.

As I said in that mail you could use a between first and last day of month
which can use an index and do the order by with that index.

Unfortunately a datepart(mail_date, year to month) is probably not 
understood as indexable by the optimizer.

Andreas


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Vacuum only with 20% old tuples
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: 7.0.2 issues / Geocrawler