Re: why postgresql over other RDBMS - Mailing list pgsql-general

From Gregory Stark
Subject Re: why postgresql over other RDBMS
Date
Msg-id 87ps2renay.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: why postgresql over other RDBMS  (Bruce Momjian <bruce@momjian.us>)
Responses Re: why postgresql over other RDBMS  (Bruce Momjian <bruce@momjian.us>)
List pgsql-general
"Bruce Momjian" <bruce@momjian.us> writes:

> Matthew T. O'Connor wrote:
>> Bruce Momjian wrote:
>> >
>> > * Allow multiple indexes to be created concurrently, ideally via a
>> >   single heap scan, and have a restore of a pg_dump somehow use it

Actually, the sync scan patch ought to make this more or less happen
magically. If you start a bunch of concurrent index builds they will try to
scan the table together.

There's no useful way for pg_dump to make use of this since it only has one
backend. And you still need to generate n copies of the data for sorting. And
performing n sorts in parallel won't be as cache efficient as doing them one
after the other. So there's still a use case for the TODO

But the hole is not nearly as urgent as before. You can get most of the
benefit if you really need it by rolling your own. And the cool thing is some
people already have rolled their own and they'll just magically see an
improvement. They don't have to do anything they weren't doing already to turn
it on.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issues with PL/PGSQL function..
Next
From: Bruce Momjian
Date:
Subject: Re: why postgresql over other RDBMS