Re: about multiprocessingmassdata - Mailing list pgsql-performance

From Tomas Vondra
Subject Re: about multiprocessingmassdata
Date
Msg-id 4F7C7E07.1050507@fuzzy.cz
Whole thread Raw
In response to about multiprocessingmassdata  (superman0920 <superman0920@gmail.com>)
List pgsql-performance
On 4.4.2012 18:49, superman0920 wrote:
> Thank you for your reply
> I tried executing "UPDATE poi SET py = replace(py, ' ','');", that took
> long long time(about 20+ hours) and no error report. Just like locked.


OK, that's weird. So we need a bit more details - what PostgreSQL
version is this?

How much space does the table actually occupy? Try this:

SELECT relname, relpages, reltuples FROM pg_class WHERE relname = 'poi';

And finally we need EXPLAIN output for both UPDATE commands. Don't post
them here directly - put them to explain.depesz.com and post just the link.

Further, we need to see the actual table definition. Especially if there
are any triggers or foreign keys on the table?

Tomas


pgsql-performance by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: H800 + md1200 Performance problem
Next
From: Merlin Moncure
Date:
Subject: Re: H800 + md1200 Performance problem