Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing High number of rollback transactions in Postgres Database #2148

Open
jaiganeshp opened this issue Apr 17, 2021 · 0 comments
Open

Seeing High number of rollback transactions in Postgres Database #2148

jaiganeshp opened this issue Apr 17, 2021 · 0 comments

Comments

@jaiganeshp
Copy link

jaiganeshp commented Apr 17, 2021

Hello,

We are currently running the 2.0.8.2 version of ModelBD deployed locally and we are running into an issue where about 4% of transactions to the Postgres database are rolled back. We are monitoring our Postgres database using https://github.com/wrouesnel/postgres_exporter and tracking the metrics in Prometheus. I have attached a graph showing the ratio of the number of transactions rolled back to the number of transactions committed. It is about 0.04 which would roughly turn out to be 4% of the total transactions processed by the database. The Postgres exporter fetches these metrics from the pg_stat_table and Prometheus keeps track of these metrics over time.

Please let me know if you need any more information.

Thank you,
Jaiganesh

Screen Shot 2021-04-16 at 11 09 10 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant