pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCan not deleted all record
3+ messages / 3 participants
[nested] [flat]
* Can not deleted all record
@ 2003-08-29 06:35 Yudha Setiawan <yudha@bonbon.net>
2003-08-29 12:21 ` Re: Can not deleted all record Andrew Biagioni <andrew.biagioni@e-greek.net>
0 siblings, 1 reply; 3+ messages in thread
From: Yudha Setiawan @ 2003-08-29 06:35 UTC (permalink / raw)
To: pgsql-admin
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
------------------------------------
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Can not deleted all record
2003-08-29 06:35 Can not deleted all record Yudha Setiawan <yudha@bonbon.net>
@ 2003-08-29 12:21 ` Andrew Biagioni <andrew.biagioni@e-greek.net>
2003-08-29 13:45 ` Re: Can not deleted all record Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Biagioni @ 2003-08-29 12:21 UTC (permalink / raw)
To: pgsql-admin@postgresql.org, "Yudha Setiawan" <yudha@bonbon.net>
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" <yudha@bonbon.net> wrote:
>
>
> From: "Yudha Setiawan" <yudha@bonbon.net>
>
> To: <pgsql-admin@postgresql.org>
> 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
>
> ------------------------------------
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Can not deleted all record
2003-08-29 06:35 Can not deleted all record Yudha Setiawan <yudha@bonbon.net>
2003-08-29 12:21 ` Re: Can not deleted all record Andrew Biagioni <andrew.biagioni@e-greek.net>
@ 2003-08-29 13:45 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 3+ messages in thread
From: Tom Lane @ 2003-08-29 13:45 UTC (permalink / raw)
To: Andrew Biagioni <andrew.biagioni@e-greek.net>; +Cc: pgsql-admin@postgresql.org, "Yudha Setiawan" <yudha@bonbon.net>
Andrew Biagioni <andrew.biagioni@e-greek.net> 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
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2003-08-29 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 06:35 Can not deleted all record Yudha Setiawan <yudha@bonbon.net>
2003-08-29 12:21 ` Andrew Biagioni <andrew.biagioni@e-greek.net>
2003-08-29 13:45 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox