Re: Insert performance vs Table size

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Insert performance vs Table size
Дата
Msg-id 14991.1119968759@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Insert performance vs Table size  ("Praveen Raja" <praveen.raja@netlight.se>)
Список pgsql-performance
"Praveen Raja" <praveen.raja@netlight.se> writes:
> I know that having indexes on the table adds an overhead but again does
> this overhead increase (for an INSERT operation) with the number of rows
> the table contains?

Typical index implementations (such as b-tree) have roughly O(log N)
cost to insert or lookup a key in an N-entry index.  So yes, it grows,
though slowly.

            regards, tom lane

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

Предыдущее
От: bsimon@loxane.com
Дата:
Сообщение: Réf. : tricky query
Следующее
От: John A Meinel
Дата:
Сообщение: Re: tricky query