Vacuum

From: "Summer S(dot) Wilson" <collectonian(at)eclectic-world(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Vacuum
Date: 2001-10-08 14:37:48
Message-ID: 000901c15006$cdd37de0$1b6b5ba5@tamu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message lt 2001-10-08 15:13:24 copy error?
Previous Message lt 2001-10-08 14:07:31 copy error?