Received: from host3.hostingmatrix.net (host3.hostingmatrix.net [209.239.41.154]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f98EcMn77301 for ; Mon, 8 Oct 2001 10:38:22 -0400 (EDT) (envelope-from collectonian@eclectic-world.com) Received: from fantasia (MSCE4.TAMU.EDU [165.91.107.27]) by host3.hostingmatrix.net (8.10.2/8.10.2) with SMTP id f98EcIh30245 for ; Mon, 8 Oct 2001 10:38:18 -0400 Message-ID: <000901c15006$cdd37de0$1b6b5ba5@tamu.edu> Reply-To: "Summer S. Wilson" From: "Summer S. Wilson" To: Subject: Vacuum Date: Mon, 8 Oct 2001 09:37:48 -0500 Organization: EIT - TAEX MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Archive-Number: 200110/71 X-Sequence-Number: 2317 Hi all, I'm running PostgreSQL 7.1 with Slackware 8 on a dual processor Dell server. I have a database with 17 tables. I started VacuumDB with the analyze option on Friday around 3pm...when I came in this morning at 8 it was still not done. From the verbose info, it seems to be "stuck" on one table, whowrote which is the second largest table (2546 records). I'm not sure what is causing it to seem to pause here, since the database hasn't been put into production or anything, just the design. The table is nearly identical to another one, called whichcats, that ran through no fine. I put their table create statements below in case it would help, but my question is what is taking vacuumdb so long and how can I fix it? -- Table: whowrote (table its stalling on) CREATE TABLE "whowrote" ( "connectionid" int4 DEFAULT nextval('"whowrote_tmp_connectionid_seq"'::text) NOT NULL, "pubid" int4, "authorid" int4, CONSTRAINT "whowrote_tmp_pkey" PRIMARY KEY ("connectionid"), CONSTRAINT "whowrotefk" FOREIGN KEY (authorid) REFERENCES "authors" (authorid), CONSTRAINT "whowrotepubfk" FOREIGN KEY (pubid) REFERENCES "publications" (pubid) ); -- Table: whichcats (similar table) CREATE TABLE "whichcats" ( "connectionid" int4 DEFAULT nextval('"whichcats_connectionid_seq"'::text) NOT NULL, "catid" int4, "pubid" int4, CONSTRAINT "whichcats_pkey" PRIMARY KEY ("connectionid"), CONSTRAINT "whichcatfk" FOREIGN KEY (catid) REFERENCES "cats" (catid), CONSTRAINT "whichcatpubfk" FOREIGN KEY (pubid) REFERENCES "publications" (pubid) ); Summer S. Wilson ICQ 26835530 Programmer/Analyst I, EIT TCE Webmaster, An Eclectic World http://eclectic-world.com