Re: performance problems on updates on large tables with indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: performance problems on updates on large tables with indexes
Дата
Msg-id 8483.1014846115@sss.pgh.pa.us
обсуждение исходный текст
Ответ на performance problems on updates on large tables with indexes  (Reinhard Max <max@suse.de>)
Список pgsql-bugs
Reinhard Max <max@suse.de> writes:
> It has a unique index on id, non-unique indexes on all othe columns,
> and contains approx. 350000 rows.

Do you actually *need* an index on every single column?  How many of
those columns are you actually going to use for searches on a frequent
basis?

Creating an index is a straightforward tradeoff of more time spent for
updates to save on searches.  I suspect you have made a bad tradeoff.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: function tree_level(varchar) (from OpenACS) no longer work under 7.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: missing foreign key fails silently using COPY