Re: Trading off large objects (arrays, large strings, large tables) for timeseries

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Trading off large objects (arrays, large strings, large tables) for timeseries
Дата
Msg-id 200502152030.23224.ghodechhap@ghodechhap.net
обсуждение исходный текст
Ответ на Trading off large objects (arrays, large strings, large tables) for timeseries  (Antonios Christofides <anthony@itia.ntua.gr>)
Ответы Re: Trading off large objects (arrays, large strings, large tables) for timeseries  (Antonios Christofides <anthony@itia.ntua.gr>)
Список pgsql-general
On Tuesday 15 Feb 2005 8:03 pm, Antonios Christofides wrote:
> I'm also considering a table, of course, where each timeseries record
> will be one row. I have experimented only a little with that (id
> integer, date timestamp, value double precision, flags text, primary
> key(id, date)). It appears to be fast alright, a problem being that it
> appears to consume much disk space (about 4 times more than an array
> of text, which is about 4 times more than a single huge text).

Perhaps you could attempt to store a fix small number of records per row, say
4-6? Or may be a smaller fixed size array, That should make the row overhead
less intrusive...

As far as replacing the time series is concerned, you can just drop the table
which should be pretty fast..

 Just a thought..

 Shridhar

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Trading off large objects (arrays, large strings, large tables) for timeseries
Следующее
От: rwhart@mchsi.com
Дата:
Сообщение: Alternate db location