Re: Scalability question

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Scalability question
Дата
Msg-id 20080611133438.GD5352@alvh.no-ip.org
обсуждение исходный текст
Ответ на Scalability question  (Zoltan Boszormenyi <zb@cybertec.at>)
Список pgsql-performance
Zoltan Boszormenyi wrote:
> Hi,
>
> I got a question about scalability in high volume insert situation
> where the table has a primary key and several non-unique indexes
> on other columns of the table. How does PostgreSQL behave
> in terms of scalability? The high volume of inserts comes from
> multiple transactions.

btree and gist indexes can have multiple concurrent insertions in
flight.  A potential for blocking is in UNIQUE indexes: if two
transactions try to insert the same value in the unique index, the
second one will block until the first transaction finishes.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: Scalability question
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Scalability question