Reputation: 2094
One of the query is causing my Postgres to freeze and it also results in some weird behaviour such as increased read/write IOPS and db eating all the space on the device. Here's some graphs which demonstrate the same.
Before deleting the query
After deleting the query
Any idea why is this happening?
Upvotes: 0
Views: 3414
Reputation: 31
In my experience this happens when:
If you want to read the official docs: https://aws.amazon.com/premiumsupport/knowledge-center/diskfull-error-rds-postgresql/
Upvotes: 1
Reputation: 630
Could be many options:
It seems to me that this could be indexing of your table Try checking indexing of table(s) that is(are) affected by the query. Also, the problem could be a very large database that requires a lot of RAM to be processed.
Don't forget to checkout joins that are included in the query. Badly formed joins could lead to unwanted cross-joins
.
Upvotes: 0