X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6477ED1C4CA for ; Thu, 14 Aug 2003 19:30:38 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 47689-08 for ; Thu, 14 Aug 2003 16:30:07 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 630FED1C9AB for ; Thu, 14 Aug 2003 16:29:47 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h7EJTh5H006981; Thu, 14 Aug 2003 15:29:43 -0400 (EDT) To: Yuji Shinozaki Cc: pgsql-admin@postgresql.org Subject: Re: copying databases w/ indexes In-reply-to: References: Comments: In-reply-to Yuji Shinozaki message dated "Thu, 14 Aug 2003 13:35:34 -0400" Date: Thu, 14 Aug 2003 15:29:43 -0400 Message-ID: <6980.1060889383@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/176 X-Sequence-Number: 9897 Yuji Shinozaki 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