From yudha@bonbon.net Fri Aug 29 06:43:42 2003 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 C93B5D1B8BD for ; Fri, 29 Aug 2003 06:43:42 +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 92151-07 for ; Fri, 29 Aug 2003 03:43:13 -0300 (ADT) Received: from babyruth.hotpop.com (babyruth.hotpop.com [204.57.55.14]) by svr1.postgresql.org (Postfix) with ESMTP id 91356D1B8AB for ; Fri, 29 Aug 2003 03:43:08 -0300 (ADT) Received: from bonbon.net (kubrick.hotpop.com [204.57.55.16]) by babyruth.hotpop.com (Postfix) with SMTP id F304D21649A for ; Fri, 29 Aug 2003 06:43:06 +0000 (UTC) Received: from yudha (unknown [61.5.113.33]) by smtp-3.hotpop.com (Postfix) with SMTP id C10D66B2502 for ; Fri, 29 Aug 2003 06:42:54 +0000 (UTC) Message-ID: <1ccf01c36df8$2709da60$ea00a8c0@yudha> From: "Yudha Setiawan" To: Subject: Can not deleted all record Date: Fri, 29 Aug 2003 13:35:04 +0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_1CCB_01C36E32.5AD49FD0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.1 tagged_above=0.0 required=5.0 tests=HTML_40_50, HTML_FONT_FACE_ODD, HTML_WITH_BGCOLOR X-Spam-Level: * X-Archive-Number: 200308/348 X-Sequence-Number: 10068 This is a multi-part message in MIME format. ------=_NextPart_000_1CCB_01C36E32.5AD49FD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear expert; I've tried to update my record on stock's table. but i failed "ERROR: Query was cancelled." was show up. But when i update on partial `till all my record is changed, its work. Anyway that's table have no rule,trigger and relation=20 with the other table. I've been thinking we must vacuum=20 this table.=20 But when i tried Vacuum with "Vacuum full verbose analyze=20 d_master.t_stock;" the "ERROR: Query was cancelled." is=20 show up again. Which part on my pg_hba.conf that indicates this error ???? or any idea about this ???? Please gimme your hand. I couldn't reset my table :( GOD Bless You All and Bravo Postgres ------------------------------------ ------=_NextPart_000_1CCB_01C36E32.5AD49FD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear expert;
 
I've tried to update my record on s= tock's=20 table.
but i failed "ERROR:  Query was=20 cancelled."
was show up. But when i update on p= artial=20 `till
all my record is changed, its work.
Anyway that's table have no rule,trigger= and=20 relation
with the other table. I've been thinking= we must=20 vacuum
this table.
But when i tried Vacuum with "Vacuum ful= l verbose=20 analyze
d_master.t_stock;" the "ERROR:  Que= ry was=20 cancelled." is
show up again.
Which part on my pg_hba.conf that indica= tes this=20 error ????
or any idea about this ????
 
Please gimme your hand. I couldn't reset= my table=20 :(
 
GOD Bless You All and Bravo Postgres
------------------------------------
------=_NextPart_000_1CCB_01C36E32.5AD49FD0-- From andrew.biagioni@e-greek.net Fri Aug 29 12:22:17 2003 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 EC86FD1B8AE for ; Fri, 29 Aug 2003 12:22:17 +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 15486-09 for ; Fri, 29 Aug 2003 09:21:50 -0300 (ADT) Received: from proteus.affordablehost.com (proteus.affordablehost.com [216.46.203.177]) by svr1.postgresql.org (Postfix) with ESMTP id A38D4D1B897 for ; Fri, 29 Aug 2003 09:21:46 -0300 (ADT) Received: from [66.31.57.228] (helo=Laptop) by proteus.affordablehost.com with smtp (Exim 4.20) id 19siG1-0002Ui-Bo; Fri, 29 Aug 2003 08:21:37 -0400 From: Andrew Biagioni To: pgsql-admin@postgresql.org, "Yudha Setiawan" Date: Fri, 29 Aug 2003 08:21:37 -0400 X-Priority: 3 (Normal) Organization: E-Greek, llc In-Reply-To: <1ccf01c36df8$2709da60$ea00a8c0@yudha> Message-Id: Subject: Re: Can not deleted all record MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" X-Mailer: Opera 6.05 build 1140 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/349 X-Sequence-Number: 10069 Yudha, "ERROR: Query was cancelled." usually means that the query is taking too long, and you exceeded the maximum time specified in your postgresql.conf file. The parameter you want to change is: statement_timeout = X where X is in seconds; set X = 0 to turn off the timeout completely (queries will run as long as they need to). Andrew 8/29/03 2:35:04 AM, "Yudha Setiawan" wrote: > > > From: "Yudha Setiawan" > > To: > Subject:[ADMIN] Can not deleted all record > Date: Fri, 29 Aug 2003 13:35:04 +0700 > > > > Dear expert; > > I've tried to update my record on stock's table. > > but i failed "ERROR: Query was cancelled." > was show up. But when i update on partial `till > all my record is changed, its work. > > Anyway that's table have no rule,trigger and relation > with the other table. I've been thinking we must vacuum > > this table. > But when i tried Vacuum with "Vacuum full verbose analyze > d_master.t_stock;" the "ERROR: Query was cancelled." is > > show up again. > Which part on my pg_hba.conf that indicates this error ???? > or any idea about this ???? > > > Please gimme your hand. I couldn't reset my table :( > > GOD Bless You All and Bravo Postgres > > ------------------------------------ From tgl@sss.pgh.pa.us Fri Aug 29 13:46:08 2003 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 2FFA5D1B8B3 for ; Fri, 29 Aug 2003 13:46:08 +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 23228-06 for ; Fri, 29 Aug 2003 10:46:01 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 3D40BD1B8B1 for ; Fri, 29 Aug 2003 10:45:57 -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 h7TDjqjX014648; Fri, 29 Aug 2003 09:45:52 -0400 (EDT) To: Andrew Biagioni Cc: pgsql-admin@postgresql.org, "Yudha Setiawan" Subject: Re: Can not deleted all record In-reply-to: References: Comments: In-reply-to Andrew Biagioni message dated "Fri, 29 Aug 2003 08:21:37 -0400" Date: Fri, 29 Aug 2003 09:45:52 -0400 Message-ID: <14647.1062164752@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/352 X-Sequence-Number: 10072 Andrew Biagioni writes: > "ERROR: Query was cancelled." usually means that the query is taking too long, > and you exceeded the maximum time specified in your postgresql.conf file. I doubt he has statement_timeout set, or it would have occurred to him that he's shooting himself in the foot ;-) My bet is that something external to Postgres is sending a SIGINT signal to the backend. There are a number of possible reasons for this, but two mistakes I've seen newbies make are: * launch the postmaster from an interactive terminal, and forget to dissociate it completely from the interactive session (should use nohup and make sure that stdin, stdout, stderr are all redirected). Then any control-C typed in that session will zap the postmaster and all backends. * launch postmaster with non-infinite ulimit settings. The backend trying to do a complete vacuum could be hitting limits on process runtime or amount of I/O. regards, tom lane