Re: [PERFORM] REINDEX takes half a day (and still not complete!)

2011-03-21 Thread Merlin Moncure
On Fri, Mar 18, 2011 at 10:07 PM, Phoenix Kiula wrote: > I have a large table but not as large as the kind of numbers that get > discussed on this list. It has 125 million rows. > > REINDEXing the table takes half a day, and it's still not finished. > > To write this post I did "SELECT COUNT(*)",

Re: [PERFORM] REINDEX takes half a day (and still not complete!)

2011-03-21 Thread Scott Marlowe
On Mon, Mar 21, 2011 at 8:14 PM, Phoenix Kiula wrote: > Thanks Merlin, Scott. > > First, yes, I can increase maintenance_work_memory. I have 8GB RAM in > total, and sure, I can dedicate 1GB of it to PG. Currently PG is the > most intensive software here. If we're talking maintenance work mem, the

Re: [PERFORM] Select in subselect vs select = any array

2011-03-21 Thread mark
> -Original Message- > From: pgsql-performance-ow...@postgresql.org [mailto:pgsql-performance- > ow...@postgresql.org] On Behalf Of Adam Tistler > Sent: Monday, March 21, 2011 12:17 AM > To: Pavel Stehule > Cc: pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Select in subselect v