From: Scott Marlowe <scott.marlowe@gmail.com>
To: firerox@centrum.cz
Cc: pgsql-performance@postgresql.org
Subject: Re: slow full table update
Date: Wed, 12 Nov 2008 13:55:52 -0700
Message-ID: <dcc563d10811121255h7d788032v4a8aa24c9db523b8@mail.gmail.com> (raw)
In-Reply-To: <200811101730.15902@centrum.cz>
References: <200811101728.3048@centrum.cz>
<200811101729.14977@centrum.cz>
<200811101730.11057@centrum.cz>
<200811101730.15902@centrum.cz>
On Mon, Nov 10, 2008 at 9:30 AM, <firerox@centrum.cz> wrote:
> Hi,
>
> I have table with cca 60.000 rows and
> when I run query as:
> Update table SET column=0;
> after 10 minutes i must stop query, but it still running :(
What does
vacuum verbose table;
say? I'm wondering if it's gotten overly bloated.
How long does
select count(*) from table;
take to run (use \timing to time it)
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-performance@postgresql.org
Cc: scott.marlowe@gmail.com, firerox@centrum.cz
Subject: Re: slow full table update
In-Reply-To: <dcc563d10811121255h7d788032v4a8aa24c9db523b8@mail.gmail.com>
References: <200811101728.3048@centrum.cz> <200811101729.14977@centrum.cz> <200811101730.11057@centrum.cz> <200811101730.15902@centrum.cz> <dcc563d10811121255h7d788032v4a8aa24c9db523b8@mail.gmail.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