Re: Scalability question - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Scalability question
Date
Msg-id 20080611133438.GD5352@alvh.no-ip.org
Whole thread Raw
In response to Scalability question  (Zoltan Boszormenyi <zb@cybertec.at>)
List 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 by date:

Previous
From: Zoltan Boszormenyi
Date:
Subject: Re: Scalability question
Next
From: "Scott Marlowe"
Date:
Subject: Re: Scalability question