move all in cursor query by rdsadmin blocking complete postgres RDS

0

Now and then I experience a performance/stability problem on our postgres RDS, which seems to be caused by a query from the ***rdsadmin ***user, on the ***rdsadmin ***database. The query in question is "move all in "query-cursor_1", and it has the effect to basically block all other operations on the RDS instance (on any database). Usually it takes around 3 minutes to complete, and then the system recovers. However, I have also seen instances where this query triggers an OOM error by postmaster (resulting in aborting all other queries currently running + a restart of the database system). I would like to understand what this query actually does, and why it is executed by the rdsadmin user (and at which moments it is executed).

3개 답변
0

I don't have a solution but would like to report the exact same problem happening on a db.m7g.xlarge db at my company. There was little to no activity on the part of applications at the time that this happened, and we are suspecting that it happened many times before as we've witnessed OOM in logs before but thought our applications were at fault. We're opening up support tickets to enquire and hopefully prevent this from happening again.

Cyril
답변함 5달 전
0

Guys,

Our team member found out the root-cause for this. Enabling "Performance insights" is causing the issue... lol... Just disable it and you wont have this problem. But yeah, you lose the ability to inspect query related issues.....

Ideally - If you can ask AWS to run this query during lean times, I think it would be helpful. But I dont know if thats possible.

답변함 2달 전
0

Hi,

thanks for the information, we do have performance insights enabled on our instance so it could explain indeed. However looking at the usefulness of this feature, I guess we'll need to live with this (occasional) issue for now .. hopefully AWS can address this at some point in time if enough users complain.

Wkr, Bert

답변함 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠