Re: Monthly table partitioning for fast purges?

Поиск
Список
Период
Сортировка
От Benjamin Jury
Тема Re: Monthly table partitioning for fast purges?
Дата
Msg-id 24DC688F52AAD611B60900096BB0B440015D8446@chapar.mpuk.com
обсуждение исходный текст
Ответ на Monthly table partitioning for fast purges?  ("Roger Hand" <rhand@ragingnet.com>)
Ответы Re: Monthly table partitioning for fast purges?
Список pgsql-general
You could create an index on the function date(), which strips the time
information.

> -----Original Message-----
> From: psql-mail@freeuk.com [mailto:psql-mail@freeuk.com]
> Sent: 04 August 2003 14:01
> To: PgSQL General ML
> Subject: Re: [GENERAL] Monthly table partitioning for fast purges?
>
>
> I am looking at ways to speed up queries, the most common way by for
> queries to be constrianed is by date range. I have indexed the date
> column. Queries are still slower than i would like.

...

> The date column is of type timestamp (and so goes right down
> to seconds)
> , most user queries are only concerned about whole days without the
> times, (but hte time data is required for other queries) can i do
> something with an index of the timestamps cast to dates? and
> then cast
> the queries to dates too?

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

Предыдущее
От: Manfred Koizar
Дата:
Сообщение: Re: [PERFORM] OSDL Database Test Suite 3 is available on PostgreSQL
Следующее
От: Jan Poslusny
Дата:
Сообщение: Re: Monthly table partitioning for fast purges?