Re: copying databases w/ indexes - Mailing list pgsql-admin

From Tom Lane
Subject Re: copying databases w/ indexes
Date
Msg-id 6980.1060889383@sss.pgh.pa.us
Whole thread Raw
In response to copying databases w/ indexes  (Yuji Shinozaki <ys2n@virginia.edu>)
Responses Re: copying databases w/ indexes
List pgsql-admin
Yuji Shinozaki <ys2n@virginia.edu> writes:
> Then the problem is that
> reindexing takes a very long time. One particular index is taking on the
> order of 12 hours to finish.

Seems like a lot.  What is the index definition exactly, and how many
rows in the table?  If it's a btree, have you tried increasing sort_mem
in the restore session?

            regards, tom lane

pgsql-admin by date:

Previous
From: Sam Barnett-Cormack
Date:
Subject: Re: copying databases w/ indexes
Next
From: Tom Lane
Date:
Subject: Re: copying databases w/ indexes