Re: [GENERAL] time series data

Поиск
Список
Период
Сортировка
От Nico Williams
Тема Re: [GENERAL] time series data
Дата
Msg-id 20171002181453.GD15754@localhost
обсуждение исходный текст
Ответ на [GENERAL] time series data  (Khalil Khamlichi <khamlichi.khalil@gmail.com>)
Список pgsql-general
You have these choices:
- turn events into INSERTs and UPDATES on a table that represents a  single call
  You might have an events VIEW with INSTED OF insert/update triggers  so you can insert events as the interface for
updatingcalls.
 
- store the events and have a VIEW on the events table that gives you  rows that summarize each call
- both: store the events and the summaries of the calls
  You might have an events table with AFTER INSERT triggers to insert  or update the corresponding rows in the calls
table.

Nico
-- 


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: Khalil Khamlichi
Дата:
Сообщение: Re: [GENERAL] time series data
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pg_stat_tmp and pg_upgrade