I have a table that I need to rebuild indexes on from time to time (records get loaded before indexes get build).
To build the indexes, I use 'create index ...', which reads the entire table and builds the index, one at a time.
I'm wondering if there is a way to build these indexes in parallel while reading the table only once for all indexes and building them all at the same time. Is there an index build tool that I missed somehow, that can do this?
database grunt and bit pusher extraordinaíre
pgsql-performance by date
|Next:||From: Tom Lane||Date: 2011-04-09 17:10:04|
|Subject: Re: Multiple index builds on same table - in one sweep? |
|Previous:||From: Tomas Vondra||Date: 2011-04-09 14:59:38|
|Subject: Re: Why it is using/not using index scan?|