Re: Inserts or Updates

Поиск
Список
Период
Сортировка
От Ofer Israeli
Тема Re: Inserts or Updates
Дата
Msg-id 217DDBC2BB1E394CA9E7446337CBDEF20102C056C1C3@il-ex01.ad.checkpoint.com
обсуждение исходный текст
Ответ на Re: Inserts or Updates  (Frank Lanitz <frank@frank.uvena.de>)
Ответы Re: Inserts or Updates  (Frank Lanitz <frank@frank.uvena.de>)
Список pgsql-performance
Frank Lanitz wrote:
> Am 07.02.2012 18:40, schrieb Ofer Israeli:
>> Table 1:
>> 46 columns
>> 23 indexes on fields of the following types:
>> INTEGER - 7
>> TIMESTAMP - 2
>> VARCHAR - 12
>> UUID - 2
>>
>> 23 columns
>> 12 indexes on fields of the following types:
>> INTEGER - 3
>> TIMESTAMP - 1
>> VARCHAR - 6
>> UUID - 2
>
> Are you regularly updating all columns? If not, maybe a good idea to
> split the tables so highly updated columns don't effect complete
> line.

We're not always updating all of the columns, but the reason for consolidating all the columns into one table is for UI
purposes- in the past, they had done benchmarks and found the JOINs to be extremely slow and so all data was
consolidatedinto one table. 

Thanks,
Ofer

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

Предыдущее
От: Peter van Hardenberg
Дата:
Сообщение: Re: random_page_cost = 2.0 on Heroku Postgres
Следующее
От: Frank Lanitz
Дата:
Сообщение: Re: Inserts or Updates