From: Tom Lane <tgl@sss.pgh.pa.us>
To: Yuji Shinozaki <ys2n@virginia.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: copying databases w/ indexes
Date: Thu, 14 Aug 2003 15:29:43 -0400
Message-ID: <6980.1060889383@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.44.0308141319120.11973-100000@atg2000.itc.virginia.edu>
References: <Pine.LNX.4.44.0308141319120.11973-100000@atg2000.itc.virginia.edu>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, ys2n@virginia.edu
Subject: Re: copying databases w/ indexes
In-Reply-To: <6980.1060889383@sss.pgh.pa.us>
References: <Pine.LNX.4.44.0308141319120.11973-100000@atg2000.itc.virginia.edu> <6980.1060889383@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox