Re: build multiple indexes in single table pass? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: build multiple indexes in single table pass?
Date
Msg-id 200804020030.m320URl07210@momjian.us
Whole thread Raw
In response to build multiple indexes in single table pass?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
> 
>  From the "idle thoughts in the middle of the night" department:
> 
> I don't know if this has come up before exactly, but is it possible that 
> we could get a performance gain from building multiple indexes from a 
> single sequential pass over the base table? If so, that would probably 
> give us  a potential performance improvement in pg_restore quite apart 
> from the projected improvement to be got from running several steps in 
> parallel processes. The grammar might look a bit ugly, but I'm sure we 
> could finesse that.

TODO already has:
       * Allow multiple indexes to be created concurrently, ideally via a         single heap scan, and have pg_restore
useit
 

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: New boxes available for QA
Next
From: "Guillaume Smet"
Date:
Subject: Re: [JDBC] Re: How embarrassing: optimization of a one-shot query doesn't work