Received: from dopa.kikakuya.com (dopapro.kikakuya.ne.jp [211.133.137.60]) by postgresql.org (8.11.3/8.11.4) with SMTP id f997man68907 for ; Tue, 9 Oct 2001 03:48:41 -0400 (EDT) (envelope-from gereltod@kikakuya.com) Received: (qmail 31951 invoked from network); 9 Oct 2001 07:48:05 -0000 Received: from unknown (HELO kikakuya.com) (210.134.180.62) by dopapro2.kikakuya.ne.jp with SMTP; 9 Oct 2001 07:48:05 -0000 Message-ID: <3BC2AB2B.5030005@kikakuya.com> Date: Tue, 09 Oct 2001 16:45:47 +0900 From: Ariunbold Gerelt-Od Organization: Kikakuya.Ltd User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 X-Accept-Language: en,ru, ja MIME-Version: 1.0 To: PGSQL Subject: Re: Vacuum References: <000901c15006$cdd37de0$1b6b5ba5@tamu.edu> <1433.1002557034@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Archive-Number: 200110/78 X-Sequence-Number: 2324 Tom, Is there any way to check whether there is open transaction with a lock on stucking table while vacuuming and terminate vacuum? Tom Lane wrote: > "Summer S. Wilson" writes: > >>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). >> > > Is it consuming CPU time, or just sitting? (ps or top would tell you) > If it's just sitting, I'd bet that there is some other connected backend > that's holding an open transaction with a lock on that table. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > > . > >