Re: query by partial timestamp

Поиск
Список
Период
Сортировка
От Kirk Wythers
Тема Re: query by partial timestamp
Дата
Msg-id 743FA335-2DCE-4D29-956B-98BC6744C0CA@gmail.com
обсуждение исходный текст
Ответ на Re: query by partial timestamp  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: query by partial timestamp  (Nathan Clayton <nathanclayton@gmail.com>)
Re: query by partial timestamp  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general

On Jan 8, 2013, at 6:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

The OP didn't
suggest how many years his data covers, but it's quite possible that
pulling a full year's worth of data will read enough of the table that
there's no point in worrying about whether an index could be used
anyway.

There are only a few years worth of data, 2008 - 2012. However, the data consists of 15 min measurements and when renormalized (un-pivoted) is several hundred million records. It is conceivable that someone will want to query by month, or even hour of the day. 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Discerning when functions had execute revoked from public
Следующее
От: kenyon
Дата:
Сообщение: Re: currval of sequence xxx_seq is not yet defined in this session?