From gwiorek@jmlafferty.com Thu Oct 16 19:30:33 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48F79D1B4E3 for ; Thu, 16 Oct 2003 19:30:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 63689-10 for ; Thu, 16 Oct 2003 16:30:03 -0300 (ADT) Received: from mail2.idcglobal.net (mail2.idcglobal.net [63.208.79.80]) by svr1.postgresql.org (Postfix) with ESMTP id 14DB0D1B4EC for ; Thu, 16 Oct 2003 16:30:01 -0300 (ADT) Received: from mail.jmlafferty.com [63.208.79.199] by mail2.idcglobal.net with ESMTP (SMTPD32-6.06) id A08EDDE200F8; Thu, 16 Oct 2003 14:25:02 -0500 Received: from DBA1 [63.208.76.4] by mail.jmlafferty.com (SMTPD32-7.07) id A1A73D7005A; Thu, 16 Oct 2003 14:29:43 -0500 Message-ID: <008e01c3941b$a1f56e30$143264c8@jmlafferty.com> From: "Glenn Wiorek" To: Subject: rebuild index question Date: Thu, 16 Oct 2003 14:28:09 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_008B_01C393F1.B9110E50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.1 tagged_above=0.0 required=5.0 tests=HTML_20_30, SMTPD_IN_RCVD X-Spam-Level: ** X-Archive-Number: 200310/190 X-Sequence-Number: 10751 This is a multi-part message in MIME format. ------=_NextPart_000_008B_01C393F1.B9110E50 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hello all, It appears that the rebuild index command (driven by contrib/re= indexdb) recreates the index with a new oids in the default data directory= . This has just caused me a lot of grief to move and relink 329 indices (ag= ain) because of space and disk constraints (35 GB to spread across 4 drives= ). Since rebuilding indexes is a common and often needed task how is every= one working around this?=20 For that matter how are folks dealing with laying out large databases acro= ss multiple drives??=20=20 Thanks, Glenn ------=_NextPart_000_008B_01C393F1.B9110E50 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable
Hello all,  It appears that the rebuild index command (driven=20 by contrib/reindexdb)  recreates the index with a new oids i= n the=20 default data directory. This has just caused me a lot of gri= ef to=20 move and relink 329 indices (again) because of space and disk constraints (= 35 GB=20 to spread across 4 drives).  Since rebuilding indexes is a common and = often=20 needed task how is everyone working around this?
 
For that matter how are folks dealing with  laying out large data= bases=20 across multiple drives?? 
 
Thanks,
Glenn
------=_NextPart_000_008B_01C393F1.B9110E50-- From bruno@wolff.to Thu Oct 16 19:34:02 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id CD182D1B545 for ; Thu, 16 Oct 2003 19:34:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 71598-04 for ; Thu, 16 Oct 2003 16:33:32 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 6DC67D1B4E3 for ; Thu, 16 Oct 2003 16:33:30 -0300 (ADT) Received: (qmail 31345 invoked by uid 500); 16 Oct 2003 19:41:19 -0000 Date: Thu, 16 Oct 2003 14:41:19 -0500 From: Bruno Wolff III To: Glenn Wiorek Cc: pgsql-admin@postgresql.org Subject: Re: rebuild index question Message-ID: <20031016194119.GA31284@wolff.to> Mail-Followup-To: Glenn Wiorek , pgsql-admin@postgresql.org References: <008e01c3941b$a1f56e30$143264c8@jmlafferty.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <008e01c3941b$a1f56e30$143264c8@jmlafferty.com> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/191 X-Sequence-Number: 10752 On Thu, Oct 16, 2003 at 14:28:09 -0500, Glenn Wiorek wrote: > Hello all, It appears that the rebuild index command (driven by contrib/reindexdb) recreates the index with a new oids in the default data directory. This has just caused me a lot of grief to move and relink 329 indices (again) because of space and disk constraints (35 GB to spread across 4 drives). Since rebuilding indexes is a common and often needed task how is everyone working around this? This should be a lot better in 7.4. Most people should not need to do reindexes. From tgl@sss.pgh.pa.us Fri Oct 17 00:25:57 2003 X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B3B59D1B4E1 for ; Fri, 17 Oct 2003 00:25:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 22558-03 for ; Thu, 16 Oct 2003 21:25:29 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id A46E3D1B52F for ; Thu, 16 Oct 2003 21:25:25 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9H0PSuo016980; Thu, 16 Oct 2003 20:25:28 -0400 (EDT) To: "Glenn Wiorek" Cc: pgsql-admin@postgresql.org Subject: Re: rebuild index question In-reply-to: <008e01c3941b$a1f56e30$143264c8@jmlafferty.com> References: <008e01c3941b$a1f56e30$143264c8@jmlafferty.com> Comments: In-reply-to "Glenn Wiorek" message dated "Thu, 16 Oct 2003 14:28:09 -0500" Date: Thu, 16 Oct 2003 20:25:28 -0400 Message-ID: <16979.1066350328@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/193 X-Sequence-Number: 10754 "Glenn Wiorek" writes: > Hello all, It appears that the rebuild index command (driven by contrib/re= > indexdb) recreates the index with a new oids in the default data directory= > . This has just caused me a lot of grief to move and relink 329 indices (ag= > ain) because of space and disk constraints (35 GB to spread across 4 drives= > ). Since rebuilding indexes is a common and often needed task how is every= > one working around this?=20 Manually moving and symlinking tables has always been a painful alternative. That's why there's interest in building a tablespace feature to supplant it. In the meantime, I think you're stuck. regards, tom lane