From: Mauri Sahlberg <Mauri.Sahlberg@claymountain.com>
To: pgsql-admin@postgresql.org
Subject: [Fwd: Re: RHDB just sits and does nothing?]
Date: Wed, 9 Jun 2004 11:16:31 +0300 (EEST)
Message-ID: <63280.195.197.242.66.1086768991.squirrel@www.claymountain.com> (raw)
Hi,
What an earth I am doing wrong? I am trying to delete about 6500 rows and
I am the only user connected to the database and it just sits there and
does nothing?
Jun 9 10:02:44 pihsi postgres[31547]: [25] LOG: query: begin;
Jun 9 10:02:44 pihsi postgres[31547]: [26] LOG: duration: 0.000181 sec
Jun 9 10:02:51 pihsi postgres[31547]: [27] LOG: query: set constraints
all deferred;
Jun 9 10:02:51 pihsi postgres[31547]: [28] LOG: duration: 0.000205 sec
Jun 9 10:03:04 pihsi postgres[31547]: [29] LOG: query: delete from
tilikartta
where yritys=18231413;
and after a long wait...
Jun 9 10:46:16 pihsi postgres[31547]: [30] LOG: duration: 2592.534609
sec Jun 9 11:00:28 pihsi postgres[31547]: [31] LOG: query: commit;
Jun 9 11:00:28 pihsi postgres[31547]: [32] LOG: duration: 0.002915 sec
DELETE 6347
rahaks=# commit;
COMMIT
It just took about three quarters of a hour to delete 6500 rows!
Something is definitely broken and probably I am the one who broke it. Any
guesses what I have broken and how I could fix this?
Full log as an attachment.
Attachments:
foo (application/octet-stream, 4.7K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Mauri.Sahlberg@claymountain.com
Subject: Re: [Fwd: Re: RHDB just sits and does nothing?]
In-Reply-To: <63280.195.197.242.66.1086768991.squirrel@www.claymountain.com>
References: <63280.195.197.242.66.1086768991.squirrel@www.claymountain.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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