Re: Triggers do not fire

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Triggers do not fire
Дата
Msg-id 27135.1003332861@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Triggers do not fire  (Reiner Dassing <dassing@wettzell.ifag.de>)
Ответы Re: Triggers do not fire  (Jason Earl <jdearl@yahoo.com>)
Список pgsql-sql
Reiner Dassing <dassing@wettzell.ifag.de> writes:
> I have a table which has a lot of entries (some x millions) of the kind
> (id, timestamp, value)
> The access (selects) is concentrated to the timely last some thousands
> entries. 
> To adapt this fact I want to setup a "virtual" table - test in my
> example - which
> is accessed by the clients but in reality the entries are separated to
> different small
> tables. These table are dynamically created to hold the values
> distinguished by years.

Why bother?  Seems like you are just making life complicated for
yourself.  One big table with a suitable index ought to work fine.
        regards, tom lane


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Performance problems - Indexes and VACUUM
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: Performance problems - Indexes and VACUUM