PostgreSQL 12.2: rdsadmin uses one complete CPU for a query continuously

0

Hi,

After upgrading from Postgres 11.6 to Postgres 12.2, I see the below query running continuously by rdsadmin user which utilize 1 CPU session (Performance insight metric) always.

select datname, pid, usename, application_name, client_addr, client_hostname, wait_event_type, wait_event, query, backend_type from pg_stat_activity where state = 'active';

Support SQL ID: ABC984CB7D824C0B21231ED51029F922E2B7B905
Support Digest ID: 06A5CA3B12445E220C7E915CF1F050004A10A957

posta 4 anni fa565 visualizzazioni
4 Risposte
0
Risposta accettata

Yes, this is a bug in PI on RDS PostgreSQL 12.2.
It is misreporting this query as taking up CPU when in fact it is not.
Will try and get a status on when this will be resolved.
For the time being this SQL and CPU load attributed to it can be ignored.

Kyle

con risposta 4 anni fa
0

That looks like it may be a Performance Insight query, so would only happen while running PI. Anyway, not clear anyone from the RDS team will see your post as they don't regularly participate in the forum. Since it looks like PI you could try to PM awskyleh so he'll see it the next time he logs into the forum.

HalTemp
con risposta 4 anni fa
0

Hi HalTemp,

I have sent a PM to awskyleh. Its been more than 30 days, no response from him.

Is there any way I can raise this bug to RDS PI team?

I'm not able to trust the PI stats anymore because of this issue.

Screenshot: https://pasteboard.co/J74z88Z.jpg

con risposta 4 anni fa
0

We are having the same issue since upgrading to PostgreSQL 12.2.

We ran some benchmarks and it does not look like a full CPU is blocked by the query as Performance Insights indicates, but of course, it makes the PI charts harder to use...

Any news on this or how to proceed would be highly appreciated

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande