From: | Ron <ronljohnsonjr(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: 10.2: high cpu usage on update statement |
Date: | 2019-04-06 05:51:32 |
Message-ID: | 3b877cb8-17ee-e2c8-9c4a-9ed46987484c@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 4/5/19 5:45 PM, Kevin Wilkinson wrote:
> on 10.2, we're seeing very high cpu usage when doing an update statement
> on a relatively small table (1GB). one of the updated columns is text,
> about 1k bytes. there are four threads doing similar updates concurrently
> to the same table (but different rows). each thread does an update about
> every two seconds, i.e., the tables gets updated every 1/2 second. the
> stack trace below shows the process *stuck in reading the update results*.
> this seems very odd. has anyone seen something similar? this is a modest
> server of 8 cores, all of which are 90% busy.
Does the table have supporting indexes?
--
Angular momentum makes the world go 'round.
From | Date | Subject | |
---|---|---|---|
Next Message | rihad | 2019-04-06 13:33:21 | SIGTERM/SIGINT master/slave behavior |
Previous Message | Andres Freund | 2019-04-06 01:16:38 | Re: query logging of prepared statements |